Re: Building on Ubuntu -- what GCC sources to use?

2013-05-31 Thread Joseph Rushton Wakeling
On Friday, 31 May 2013 at 23:41:40 UTC, jerro wrote: GDC 4.8 builds without problems on Debian Wheezy. For 4.7, you need something like export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:$LIBRARY_PATH export CPATH=/usr/include/x86_64-linux-gnu:$CPATH Good to know. Actually I wasn't really asking a

[Bug 52] NRVO not implemented

2013-05-31 Thread gdc-bugzilla
http://bugzilla.gdcproject.org/show_bug.cgi?id=52 --- Comment #1 from Iain Buclaw 2013-06-01 00:48:01 UTC --- https://github.com/D-Programming-GDC/GDC/commit/38d4599d8cbae3ce8f29a1da46175503d2894f08 Before: Construct: this=FFE36DD0 Check: this=FFE36DD0 a=FFE36DD0 Check:

Re: Building on Ubuntu -- what GCC sources to use?

2013-05-31 Thread jerro
On Friday, 31 May 2013 at 15:22:33 UTC, Joseph Rushton Wakeling wrote: On 05/31/2013 04:30 PM, H. S. Teoh wrote: I thought the usual method is: apt-get source Or is that not working for you for some reason? The required sources (gcc 4.8) aren't available in the Ubuntu repositories, and obv

[Bug 57] Comparing small structs fails

2013-05-31 Thread gdc-bugzilla
http://bugzilla.gdcproject.org/show_bug.cgi?id=57 --- Comment #16 from Iain Buclaw 2013-05-31 23:09:14 UTC --- Will probably keep open as this variant fails (and probably will on all x86_64 targets). --- struct S { int a; long b; //int pad; //doesn't happen for bigger structs } S f

Re: Building on Ubuntu -- what GCC sources to use?

2013-05-31 Thread H. S. Teoh
On Fri, May 31, 2013 at 05:22:24PM +0200, Joseph Rushton Wakeling wrote: > On 05/31/2013 04:30 PM, H. S. Teoh wrote: > > I thought the usual method is: apt-get source > > > > Or is that not working for you for some reason? > > The required sources (gcc 4.8) aren't available in the Ubuntu > repos

Re: Building on Ubuntu -- what GCC sources to use?

2013-05-31 Thread Iain Buclaw
On 31 May 2013 23:14, Iain Buclaw wrote: > On 31 May 2013 22:07, Joseph Rushton Wakeling > wrote: >> On 05/31/2013 06:47 PM, Iain Buclaw wrote: >>> Implementation-wise, yes (over 6000 line changes and counting, and we >>> are still on the same front-end version)... >>> Testsuite and stability-wis

Re: Building on Ubuntu -- what GCC sources to use?

2013-05-31 Thread Iain Buclaw
On 31 May 2013 22:07, Joseph Rushton Wakeling wrote: > On 05/31/2013 06:47 PM, Iain Buclaw wrote: >> Implementation-wise, yes (over 6000 line changes and counting, and we >> are still on the same front-end version)... >> Testsuite and stability-wise. Nothing broken, infact there are more >> fixes

Re: Building on Ubuntu -- what GCC sources to use?

2013-05-31 Thread Joseph Rushton Wakeling
On 05/31/2013 06:47 PM, Iain Buclaw wrote: > Implementation-wise, yes (over 6000 line changes and counting, and we > are still on the same front-end version)... > Testsuite and stability-wise. Nothing broken, infact there are more > fixes now than before! Any advice on running the test suite? I

Re: Building on Ubuntu -- what GCC sources to use?

2013-05-31 Thread Joseph Rushton Wakeling
On 05/31/2013 06:47 PM, Iain Buclaw wrote: > Implementation-wise, yes (over 6000 line changes and counting, and we > are still on the same front-end version)... > Testsuite and stability-wise. Nothing broken, infact there are more > fixes now than before! So, my second full build of the day is un

Re: Bad homepage address on mailing list page

2013-05-31 Thread Iain Buclaw
Thanks Brad. Can you make those addresses hyperlinks? By the way, how is the auto tester getting along? Regards -- Iain Buclaw *(p < e ? p++ : p) = (c & 0x0f) + '0'; On May 31, 2013 6:06 PM, "Brad Roberts" wrote: > Updated to: > > See http://dlang.org/ for more information about the D Langua

Re: Bad homepage address on mailing list page

2013-05-31 Thread Brad Roberts
Updated to: See http://dlang.org/ for more information about the D Language. See http://gdcproject.org/ for more information on the gdc, the D Language front end to gcc. On 5/31/13 9:58 AM, Shriramana Sharma wrote: When trying to sign-up to this list at: http://lists.puremagic.com/cgi-bin/ma

Bad homepage address on mailing list page

2013-05-31 Thread Shriramana Sharma
When trying to sign-up to this list at: http://lists.puremagic.com/cgi-bin/mailman/listinfo/d.gnu I saw the homepage address: http://home.earthlink.net/~dvdfrdmn/d/ which redirects to: http://dgcc.sourceforge.net/ which redirects to: https://bitbucket.org/goshawk/gdc/wiki/Home which redirect

Re: Building on Ubuntu -- what GCC sources to use?

2013-05-31 Thread Iain Buclaw
On 31 May 2013 16:54, Joseph Rushton Wakeling wrote: > On 05/31/2013 04:42 PM, Johannes Pfau wrote: >> I still use gdc master with gcc 4.8.0. There are no changes yet which >> require a 4.9 snapshot. > > What's the stability of gdc master like right now? I remember Iain issuing a > warning that t

Re: Building on Ubuntu -- what GCC sources to use?

2013-05-31 Thread Joseph Rushton Wakeling
On 05/31/2013 04:42 PM, Johannes Pfau wrote: > I still use gdc master with gcc 4.8.0. There are no changes yet which > require a 4.9 snapshot. What's the stability of gdc master like right now? I remember Iain issuing a warning that things might get a bit shaken up after 4.8 was branched off.

Re: Building on Ubuntu -- what GCC sources to use?

2013-05-31 Thread Joseph Rushton Wakeling
On 05/31/2013 04:30 PM, H. S. Teoh wrote: > I thought the usual method is: apt-get source > > Or is that not working for you for some reason? The required sources (gcc 4.8) aren't available in the Ubuntu repositories, and obviously neither will 4.9 be when that becomes necessary. Did you ever m

Re: Building on Ubuntu -- what GCC sources to use?

2013-05-31 Thread H. S. Teoh
On Fri, May 31, 2013 at 01:05:18PM +0200, Joseph Rushton Wakeling wrote: > Hi all, > > So far when building from source on Ubuntu I've always used the > gcc-snapshot sources. This is a Bad Habit (it's specifically > disallowed by Debian for building actual packages), but was an > effective workar

Re: Building on Ubuntu -- what GCC sources to use?

2013-05-31 Thread Johannes Pfau
Am Fri, 31 May 2013 14:23:21 +0200 schrieb Joseph Rushton Wakeling : > On 05/31/2013 01:17 PM, Johannes Pfau wrote: > > As multiarch support is in gcc-4.8 you can compile with the > > standard gcc sources and it'll work. > > It's building now, seems to be going OK ... will report back on > result

Re: Building on Ubuntu -- what GCC sources to use?

2013-05-31 Thread Joseph Rushton Wakeling
On 05/31/2013 02:23 PM, Joseph Rushton Wakeling wrote: > It's building now, seems to be going OK ... will report back on results. :-) So, I downloaded and unzipped the gdc-4.8.1 sources from ftp.gnu.org, and then: ./setup-gcc.sh ../gcc-4.8.1/ cd .. mkdir objdir cd objdir ../gcc-4.8

Re: Building on Ubuntu -- what GCC sources to use?

2013-05-31 Thread Joseph Rushton Wakeling
On 05/31/2013 01:17 PM, Johannes Pfau wrote: > As multiarch support is in gcc-4.8 you can compile with the standard gcc > sources and it'll work. It's building now, seems to be going OK ... will report back on results. :-) What about for gdc master branch? I guess the best thing to do is to svn

Re: Building on Ubuntu -- what GCC sources to use?

2013-05-31 Thread Roderick Gibson
On Friday, 31 May 2013 at 11:46:11 UTC, Joseph Rushton Wakeling wrote: On 05/31/2013 01:17 PM, Johannes Pfau wrote: If you still want the debian patches for other reasons there's a gcc-4.8-source package in debian testing and apt-get source gcc-4.8 might work as well. But it seems those package

Re: Building on Ubuntu -- what GCC sources to use?

2013-05-31 Thread Joseph Rushton Wakeling
On 05/31/2013 01:17 PM, Johannes Pfau wrote: > If you still want the debian patches for other reasons there's a > gcc-4.8-source package in debian testing and apt-get source gcc-4.8 > might work as well. But it seems those packages are not yet in ubuntu? No, though I think there's a PPA. I'll tes

Re: Building on Ubuntu -- what GCC sources to use?

2013-05-31 Thread Johannes Pfau
Am Fri, 31 May 2013 13:05:18 +0200 schrieb Joseph Rushton Wakeling : > Hi all, > > So far when building from source on Ubuntu I've always used the > gcc-snapshot sources. This is a Bad Habit (it's specifically > disallowed by Debian for building actual packages), but was an > effective workaroun

Re: Building on Ubuntu -- what GCC sources to use?

2013-05-31 Thread Joseph Rushton Wakeling
On 05/31/2013 01:05 PM, Joseph Rushton Wakeling wrote: > It seems best to download sources from the Debian repos as they should be > patched to work with Debian/Ubuntu, but I thought I'd ask in case anyone has > any > advice. On a related note -- seems that there is a PPA with reasonably up-to-da

Building on Ubuntu -- what GCC sources to use?

2013-05-31 Thread Joseph Rushton Wakeling
Hi all, So far when building from source on Ubuntu I've always used the gcc-snapshot sources. This is a Bad Habit (it's specifically disallowed by Debian for building actual packages), but was an effective workaround in the period before GCC 4.8 was released. Anyway, now that 4.8 _has_ been rele

Re: Getting tls symbols out of the compiler.

2013-05-31 Thread Johannes Pfau
Am Fri, 31 May 2013 09:42:10 +0200 schrieb Jacob Carlborg : > On 2013-05-30 12:13, Johannes Pfau wrote: > > > AFAIK he also changed how TLS sections are looked up for the main > > executable. _tlsstart and _tlsend are not used anymore. Instead some > > mainly undocumented obscure glibc interface

Re: Getting tls symbols out of the compiler.

2013-05-31 Thread Jacob Carlborg
On 2013-05-30 11:42, Iain Buclaw wrote: It's the same problem with what we currently have. LD when it gets all reference symbols that are to go into the tls section (for Linux, at least) has the right to reorder the symbols. As such, trying to push _tlsstart as the first symbol in the compiler

Re: Getting tls symbols out of the compiler.

2013-05-31 Thread Jacob Carlborg
On 2013-05-30 12:13, Johannes Pfau wrote: AFAIK he also changed how TLS sections are looked up for the main executable. _tlsstart and _tlsend are not used anymore. Instead some mainly undocumented obscure glibc interface is used to ask the runtime linker for the start and end of the TLS section.