https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68913
Bug ID: 68913 Summary: gcc.dg/lto/pr61886 FAILs Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: ro at gcc dot gnu.org CC: hubicka at gcc dot gnu.org Target Milestone: --- Host: *-*-solaris2.* Target: *-*-solaris2.* Build: *-*-solaris2.* The new gcc.dg/lto/pr61886 FAILs on Solaris: UNRESOLVED: gcc.dg/lto/pr61886 c_lto_pr61886_0.o-c_lto_pr61886_0.o execute -flto -O2 -Werror FAIL: gcc.dg/lto/pr61886 c_lto_pr61886_0.o-c_lto_pr61886_0.o link, -flto -O2 -Werror 32 and 64-bit, sparc and x86 output is: Undefined first referenced symbol in file __fread_chk c_lto_pr61886_0.o ld: fatal: symbol referencing errors On Linux, this symbol lives in glibc, so the test is either Linux-specific or should otherwise be restricted to appropriate targets. Rainer