failed to compile base, buldworld, with -Os CFLAGS

Dimitry Andric dim at FreeBSD.org
Sat Mar 26 17:40:32 UTC 2016


On 25 Mar 2016, at 19:30, Dimitry Andric <dim at FreeBSD.org> wrote:
> 
> On 25 Mar 2016, at 05:21, Eric Camachat <eric.camachat at gmail.com> wrote:
>> 
>> I tried to buildworld with -Os CFLAGS, but it failed.
> ...
>> PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
>> Preprocessed source(s) and associated run script(s) are located at:
>> cc: note: diagnostic msg: /tmp/fnmatch-87dc57.c
>> (http://slexy.org/view/s2ddVhTTyQ)
>> cc: note: diagnostic msg: /tmp/fnmatch-87dc57.sh
>> (http://slexy.org/view/s21zeFmDPU)
> 
> Thanks for the report.  This also happens with llvm trunk, so I have
> submitted a bug with a reduced test case upstream:
> 
> https://llvm.org/bugs/show_bug.cgi?id=27071
> 
> In the mean time, please use -O1 or -O2 to build world, as a workaround.

This should now be fixed as of r297294, where I merged the upstream fix:

http://reviews.llvm.org/rL264465

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20160326/2deee880/attachment.sig>


More information about the freebsd-current mailing list