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: unassig...@gcc.gnu.org
        ReportedBy: domi...@lps.ens.fr
                CC: r...@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.

Reply via email to