Build failure with latest git

Iain Buclaw ibuclaw at gdcproject.org
Tue Dec 3 12:36:51 PST 2013


On 3 December 2013 17:59, H. S. Teoh <hsteoh at 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 at 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.  :)


More information about the D.gnu mailing list