This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/49463] [4.7 Regression] LTO doesn't work symbol renamed via asm statement


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49463

--- Comment #8 from John David Anglin <danglin at gcc dot gnu.org> 2011-07-09 12:23:27 UTC ---
Executing on host: /home/dave/gnu/gcc/objdir/gcc/xgcc
-B/home/dave/gnu/gcc/objdir/gcc/
/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/strst
r-asm.c
/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/strstr-asm-lib.c
/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/lib/main.c 
-w  -O2 -flto -flto-partition=none   -lm   -o
/home/dave/gnu/gcc/objdir/gcc/testsuite/gcc/strstr-asm.x6    (timeout =
300)spawn /home/dave/gnu/gcc/objdir/gcc/xgcc -B/home/dave/gnu/gcc/objdir/gcc/
/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/strstr-asm.c
/home
/dave/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/strstr-asm-lib.c
/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/lib/main.c
-w -O2 -flto -flto-partition=none -lm -o
/home/dave/gnu/gcc/objdir/gcc/testsuite/gcc/strstr-asm.x6`my_strstr' referenced
in section `.text.startup' of /tmp/cc35bdy9.lto.o: define
d in discarded section `.text' of /tmp/ccFClE2r.o (symbol from plugin)collect2:
error: ld returned 1 exit statuscompiler exited with status 1

dave@mx3210:~/gnu/gcc/objdir/gcc/testsuite/gcc$ ld --version
GNU ld (GNU Binutils) 2.21.52.20110625


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]