Re: failed to compile base, buldworld, with -Os CFLAGS

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Sat, 26 Mar 2016 18:40:21 +0100
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


Received on Sat Mar 26 2016 - 16:40:32 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:03 UTC