[Bug lto/61886] [4.9/5/6 Regression] LTO breaks fread with _FORTIFY_SOURCE=2

thopre01 at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 29 06:12:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61886

Thomas Preud'homme <thopre01 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thopre01 at gcc dot gnu.org

--- Comment #55 from Thomas Preud'homme <thopre01 at gcc dot gnu.org> ---
Shouldn't gcc.dg/lto/pr61886_0.c be run only for libc having __fread_chk? It
fails on arm-none-eabi targets because newlib doesn't have __fread_chk:

<artificial>:(.text.startup+0x18): undefined reference to `__fread_chk'
FAIL: gcc.dg/lto/pr61886 c_lto_pr61886_0.o-c_lto_pr61886_0.o link,  -flto -O2
-Werror


More information about the Gcc-bugs mailing list