This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/48245] New: FAIL: gcc.dg/lto/pr46940 c_lto_pr46940_0.o assemble on *-apple-darwin*
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 22 Mar 2011 21:58:57 +0000
- Subject: [Bug testsuite/48245] New: FAIL: gcc.dg/lto/pr46940 c_lto_pr46940_0.o assemble on *-apple-darwin*
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48245
Summary: FAIL: gcc.dg/lto/pr46940 c_lto_pr46940_0.o assemble on
*-apple-darwin*
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: dominiq@lps.ens.fr
CC: ro@CeBiTec.Uni-Bielefeld.DE
Following revision 171039 the test with gcc.dg/lto/pr46940* fails on
*-apple-darwin* with both -m32 and -m64:
FAIL: gcc.dg/lto/pr46940 c_lto_pr46940_0.o assemble, -O0 -flto
-flto-partition=none
FAIL: gcc.dg/lto/pr46940 c_lto_pr46940_0.o assemble, -O2 -flto
-flto-partition=none
FAIL: gcc.dg/lto/pr46940 c_lto_pr46940_0.o assemble, -O0 -flto
-flto-partition=1to1
FAIL: gcc.dg/lto/pr46940 c_lto_pr46940_0.o assemble, -O2 -flto
-flto-partition=1to1
FAIL: gcc.dg/lto/pr46940 c_lto_pr46940_0.o assemble, -O0 -flto
FAIL: gcc.dg/lto/pr46940 c_lto_pr46940_0.o assemble, -O2 -flto
The errors are
/opt/gcc/p_work/gcc/testsuite/gcc.dg/lto/pr46940_0.c:11:28: error: only weak
aliases are supported in this configuration
compiler exited with status 1
Before revision 171039 the test was unsupported:
UNSUPPORTED: /opt/gcc/p_work/gcc/testsuite/gcc.dg/lto/pr46940_0.c
because the test for 'check_linker_plugin_available' in
/opt/gcc/p_work/gcc/testsuite/lib/target-supports.exp returned
gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
while following revision 171039 the same test compiles and executes without
error.
Note that among the tests using 'dg-require-linker-plugin':
/opt/gcc/p_work/gcc/testsuite/gcc.dg/lto/20100722-1_0.c
/opt/gcc/p_work/gcc/testsuite/gcc.dg/lto/20110201-1_0.c
/opt/gcc/p_work/gcc/testsuite/gcc.dg/lto/pr46940_0.c
/opt/gcc/p_work/gcc/testsuite/gcc.dg/lto/pr47188_0.c
/opt/gcc/p_work/gcc/testsuite/gcc.dg/pr43157.c
pr46940_0.c is the only one failing.