This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/68881] [6 Regression] UNRESOLVED/FAIL: gcc.dg/lto/attr-weakref-1 -O2 -flto
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 18 Jan 2016 15:19:36 +0000
- Subject: [Bug lto/68881] [6 Regression] UNRESOLVED/FAIL: gcc.dg/lto/attr-weakref-1 -O2 -flto
- Auto-submitted: auto-generated
- References: <bug-68881-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68881
--- Comment #7 from UroÅ Bizjak <ubizjak at gmail dot com> ---
(In reply to Richard Biener from comment #2)
> Works for me but
> https://gcc.gnu.org/ml/gcc-testresults/2016-01/msg01237.html still has it.
>
> Maybe some as feature stuff? Tom, what target did you reproduce on?
I'm able to reproduce this on Fedora 23 using -fno-use-linker-plugin:
$ /ssd/uros/gcc-build/gcc/xgcc -B /ssd/uros/gcc-build/gcc -O2 -flto
-fno-use-linker-plugin -c attr-weakref-1_0.c
$ /ssd/uros/gcc-build/gcc/xgcc -B /ssd/uros/gcc-build/gcc -O2 -flto
-fno-use-linker-plugin -c attr-weakref-1_1.c
$ /ssd/uros/gcc-build/gcc/xgcc -B /ssd/uros/gcc-build/gcc -O2 -flto
-fno-use-linker-plugin -c attr-weakref-1_2.c
$ /ssd/uros/gcc-build/gcc/xgcc -B /ssd/uros/gcc-build/gcc -O2 -flto
-fno-use-linker-plugin attr-weakref-1_0.o attr-weakref-1_1.o attr-weakref-1_2.o
/tmp/ccydxp6I.s: Assembler messages:
/tmp/ccydxp6I.s: Error: symbol definition loop encountered at
`callmealias.lto_priv.1'
/tmp/ccydxp6I.s: Error: symbol definition loop encountered at
`callmealias.lto_priv.0'
lto-wrapper: fatal error: /ssd/uros/gcc-build/gcc/xgcc returned 1 exit status
compilation terminated.
collect2: fatal error: lto-wrapper returned 1 exit status
compilation terminated.
(The compilation works OK w/o -fno-use-linker-plugin.)