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

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Fri, 25 Mar 2016 19:30:55 +0100
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.

-Dimitry


Received on Fri Mar 25 2016 - 17:31:06 UTC

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