"make buildworld" failures in FreeBSD-10.4-stable on ppc

Jukka A. Ukkonen jau789 at gmail.com
Sun Feb 18 11:03:49 UTC 2018


For a while I had problems with freebsd-10.4-stable builds on ppc.
Both kernel-toolchain and buildkernel worked just fine but buildworld
persistently failed while the old gcc was compiling SemaInit.cpp.

Apparently the old gcc did not like using auto variables like this...

if (auto *D = Entity.getDecl())

when I changed that to read...

if (Decl *D = Entity.getDecl())

buildworld completed just fine again.

There is a proper patch attached. It would be nice if someone with
the proper commit bit merged the change to the common code base.

--jau
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Clang_SemaInit.patch
Type: text/x-patch
Size: 672 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ppc/attachments/20180218/af934a3f/attachment.bin>


More information about the freebsd-ppc mailing list