Thread overview
Re: Build failure with latest git
Dec 03, 2013
Iain Buclaw
Dec 03, 2013
H. S. Teoh
Dec 03, 2013
eles
Dec 03, 2013
Iain Buclaw
Dec 04, 2013
eles
Dec 03, 2013
Iain Buclaw
December 03, 2013
On 3 December 2013 00:12, H. S. Teoh <hsteoh@quickfur.ath.cx> wrote:
> I did a git pull today from HEAD, and now gdc doesn't build anymore:
>
>         In file included from /usr/src/d/gdc/gcc-4.8.1-svn/gcc/d/d-lang.cc:22:0:
>         /usr/src/d/gdc/gcc-4.8.1-svn/gcc/d/d-system.h:42:21: fatal error:
>         attribs.h: No such file or directory
>          #include "attribs.h"
>                              ^
>         compilation terminated.
>         make[3]: *** [d/d-lang.glue.o] Error 1
>         make[3]: *** Waiting for unfinished jobs....
>         In file included from
>         /usr/src/d/gdc/gcc-4.8.1-svn/gcc/d/d-decls.cc:19:0:
>         /usr/src/d/gdc/gcc-4.8.1-svn/gcc/d/d-system.h:42:21: fatal error:
>         attribs.h: No such file or directory
>          #include "attribs.h"
>                              ^
>         compilation terminated.
>         make[3]: *** [d/d-decls.glue.o] Error 1
>
> Any idea what I can do to fix this? Thanks!
>
>

In the commit logs, you should see some stuff about gcc-4.9 - these are API-breaking changes so we are no longer have a master tree that works on gcc-4.8.

I suppose some hardcore merging action is required in the gdc-4.8 branch once the 2.064 merge has been completed.
December 03, 2013
On Tue, Dec 03, 2013 at 07:54:43AM +0000, Iain Buclaw wrote:
> On 3 December 2013 00:12, H. S. Teoh <hsteoh@quickfur.ath.cx> wrote:
> > I did a git pull today from HEAD, and now gdc doesn't build anymore:
> >
> >         In file included from /usr/src/d/gdc/gcc-4.8.1-svn/gcc/d/d-lang.cc:22:0:
> >         /usr/src/d/gdc/gcc-4.8.1-svn/gcc/d/d-system.h:42:21: fatal error:
> >         attribs.h: No such file or directory
> >          #include "attribs.h"
> >                              ^
> >         compilation terminated.
> >         make[3]: *** [d/d-lang.glue.o] Error 1
> >         make[3]: *** Waiting for unfinished jobs....
> >         In file included from
> >         /usr/src/d/gdc/gcc-4.8.1-svn/gcc/d/d-decls.cc:19:0:
> >         /usr/src/d/gdc/gcc-4.8.1-svn/gcc/d/d-system.h:42:21: fatal error:
> >         attribs.h: No such file or directory
> >          #include "attribs.h"
> >                              ^
> >         compilation terminated.
> >         make[3]: *** [d/d-decls.glue.o] Error 1
> >
> > Any idea what I can do to fix this? Thanks!
> >
> >
> 
> In the commit logs, you should see some stuff about gcc-4.9 - these are API-breaking changes so we are no longer have a master tree that works on gcc-4.8.

:'(


> I suppose some hardcore merging action is required in the gdc-4.8 branch once the 2.064 merge has been completed.

I see. So what does it build with right now? The latest gcc-4.9 snapshot? Is that available in the Debian repo somewhere? (I'd like to use the Debian-patched repo if possible, since otherwise there's the risk of Debian-specific problems like multiarch, etc..)


T

-- 
The fact that anyone still uses AOL shows that even the presence of options doesn't stop some people from picking the pessimal one. - Mike Ellis
December 03, 2013
On Tuesday, 3 December 2013 at 18:00:45 UTC, H. S. Teoh wrote:
> On Tue, Dec 03, 2013 at 07:54:43AM +0000, Iain Buclaw wrote:
>> On 3 December 2013 00:12, H. S. Teoh <hsteoh@quickfur.ath.cx> wrote:
>> > I did a git pull today from HEAD, and now gdc doesn't build anymore:
>> >
>> >         In file included from /usr/src/d/gdc/gcc-4.8.1-svn/gcc/d/d-lang.cc:22:0:
>> >         /usr/src/d/gdc/gcc-4.8.1-svn/gcc/d/d-system.h:42:21: fatal error:
>> >         attribs.h: No such file or directory
>> >          #include "attribs.h"
>> >                              ^
>> >         compilation terminated.
>> >         make[3]: *** [d/d-lang.glue.o] Error 1
>> >         make[3]: *** Waiting for unfinished jobs....
>> >         In file included from
>> >         /usr/src/d/gdc/gcc-4.8.1-svn/gcc/d/d-decls.cc:19:0:
>> >         /usr/src/d/gdc/gcc-4.8.1-svn/gcc/d/d-system.h:42:21: fatal error:
>> >         attribs.h: No such file or directory
>> >          #include "attribs.h"
>> >                              ^
>> >         compilation terminated.
>> >         make[3]: *** [d/d-decls.glue.o] Error 1
>> >
>> > Any idea what I can do to fix this? Thanks!
>> >
>> >
>> 
>> In the commit logs, you should see some stuff about gcc-4.9 - these
>> are API-breaking changes so we are no longer have a master tree that
>> works on gcc-4.8.
>
> :'(
>
>
>> I suppose some hardcore merging action is required in the gdc-4.8
>> branch once the 2.064 merge has been completed.
>
> I see. So what does it build with right now? The latest gcc-4.9
> snapshot? Is that available in the Debian repo somewhere? (I'd

there is a github repo for it:

https://github.com/mirrors/gcc

it compiles with gcc HEAD, tested today
December 03, 2013
On 3 December 2013 19:42, eles <eles@eles.com> wrote:
> On Tuesday, 3 December 2013 at 18:00:45 UTC, H. S. Teoh wrote:
>>
>> On Tue, Dec 03, 2013 at 07:54:43AM +0000, Iain Buclaw wrote:
>>>
>>> On 3 December 2013 00:12, H. S. Teoh <hsteoh@quickfur.ath.cx> wrote:
>>> > I did a git pull today from HEAD, and now gdc doesn't build > anymore:
>>> >
>>> >         In file included from >
>>> > /usr/src/d/gdc/gcc-4.8.1-svn/gcc/d/d-lang.cc:22:0:
>>> >         /usr/src/d/gdc/gcc-4.8.1-svn/gcc/d/d-system.h:42:21: > fatal
>>> > error:
>>> >         attribs.h: No such file or directory
>>> >          #include "attribs.h"
>>> >                              ^
>>> >         compilation terminated.
>>> >         make[3]: *** [d/d-lang.glue.o] Error 1
>>> >         make[3]: *** Waiting for unfinished jobs....
>>> >         In file included from
>>> >         /usr/src/d/gdc/gcc-4.8.1-svn/gcc/d/d-decls.cc:19:0:
>>> >         /usr/src/d/gdc/gcc-4.8.1-svn/gcc/d/d-system.h:42:21: > fatal
>>> > error:
>>> >         attribs.h: No such file or directory
>>> >          #include "attribs.h"
>>> >                              ^
>>> >         compilation terminated.
>>> >         make[3]: *** [d/d-decls.glue.o] Error 1
>>> >
>>> > Any idea what I can do to fix this? Thanks!
>>> >
>>> >
>>>
>>> In the commit logs, you should see some stuff about gcc-4.9 - these are API-breaking changes so we are no longer have a master tree that works on gcc-4.8.
>>
>>
>> :'(
>>
>>
>>
>>> I suppose some hardcore merging action is required in the gdc-4.8 branch once the 2.064 merge has been completed.
>>
>>
>> I see. So what does it build with right now? The latest gcc-4.9 snapshot? Is that available in the Debian repo somewhere? (I'd
>
>
> there is a github repo for it:
>
> https://github.com/mirrors/gcc
>
> it compiles with gcc HEAD, tested today

I didn't know about the github mirror, though I would only trust FSF sources. =>  http://gcc.gnu.org/git/gcc.git

Regards
Iain.
December 03, 2013
On 3 December 2013 17:59, H. S. Teoh <hsteoh@quickfur.ath.cx> wrote:
> On Tue, Dec 03, 2013 at 07:54:43AM +0000, Iain Buclaw wrote:
>> On 3 December 2013 00:12, H. S. Teoh <hsteoh@quickfur.ath.cx> wrote:
>> > I did a git pull today from HEAD, and now gdc doesn't build anymore:
>> >
>> >         In file included from /usr/src/d/gdc/gcc-4.8.1-svn/gcc/d/d-lang.cc:22:0:
>> >         /usr/src/d/gdc/gcc-4.8.1-svn/gcc/d/d-system.h:42:21: fatal error:
>> >         attribs.h: No such file or directory
>> >          #include "attribs.h"
>> >                              ^
>> >         compilation terminated.
>> >         make[3]: *** [d/d-lang.glue.o] Error 1
>> >         make[3]: *** Waiting for unfinished jobs....
>> >         In file included from
>> >         /usr/src/d/gdc/gcc-4.8.1-svn/gcc/d/d-decls.cc:19:0:
>> >         /usr/src/d/gdc/gcc-4.8.1-svn/gcc/d/d-system.h:42:21: fatal error:
>> >         attribs.h: No such file or directory
>> >          #include "attribs.h"
>> >                              ^
>> >         compilation terminated.
>> >         make[3]: *** [d/d-decls.glue.o] Error 1
>> >
>> > Any idea what I can do to fix this? Thanks!
>> >
>> >
>>
>> In the commit logs, you should see some stuff about gcc-4.9 - these are API-breaking changes so we are no longer have a master tree that works on gcc-4.8.
>
> :'(
>
>
>> I suppose some hardcore merging action is required in the gdc-4.8 branch once the 2.064 merge has been completed.
>
> I see. So what does it build with right now? The latest gcc-4.9 snapshot? Is that available in the Debian repo somewhere? (I'd like to use the Debian-patched repo if possible, since otherwise there's the risk of Debian-specific problems like multiarch, etc..)
>
>

Multiarch should no longer be a problem in gcc-4.8 as it's all been merged in.  I think there's only one patch required for multiarch support for gdc though (just looking at svn now, there may be a couple of small patches I need to pull in to make you happy.  :)
December 04, 2013
On Tuesday, 3 December 2013 at 20:25:27 UTC, Iain Buclaw wrote:
> On 3 December 2013 19:42, eles <eles@eles.com> wrote:
>> On Tuesday, 3 December 2013 at 18:00:45 UTC, H. S. Teoh wrote:
>>>
>>> On Tue, Dec 03, 2013 at 07:54:43AM +0000, Iain Buclaw wrote:
>>>>
>>>> On 3 December 2013 00:12, H. S. Teoh <hsteoh@quickfur.ath.cx> wrote:
>>>> > I did a git pull today from HEAD, and now gdc doesn't build > anymore:

> I didn't know about the github mirror, though I would only trust FSF
> sources. =>  http://gcc.gnu.org/git/gcc.git

It is an official mirror, maybe a little bit slower in being up-to-date (I think every day).