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

2016-03-26 Thread Dimitry Andric
On 25 Mar 2016, at 19:30, Dimitry Andric  wrote:
> 
> On 25 Mar 2016, at 05:21, Eric Camachat  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



signature.asc
Description: Message signed with OpenPGP using GPGMail


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

2016-03-25 Thread Dimitry Andric
On 25 Mar 2016, at 05:21, Eric Camachat  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.

-Dimitry



signature.asc
Description: Message signed with OpenPGP using GPGMail