* [Bug lto/46769] LTO failed to build gold
2010-12-02 19:10 [Bug lto/46769] New: LTO failed to build gold hjl.tools at gmail dot com
@ 2010-12-03 13:29 ` rguenth at gcc dot gnu.org
2010-12-03 15:42 ` hjl.tools at gmail dot com
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-12-03 13:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46769
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2010.12.03 13:29:21
Ever Confirmed|0 |1
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-12-03 13:29:21 UTC ---
Testcase?
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug lto/46769] LTO failed to build gold
2010-12-02 19:10 [Bug lto/46769] New: LTO failed to build gold hjl.tools at gmail dot com
2010-12-03 13:29 ` [Bug lto/46769] " rguenth at gcc dot gnu.org
@ 2010-12-03 15:42 ` hjl.tools at gmail dot com
2010-12-03 16:26 ` rguenth at gcc dot gnu.org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: hjl.tools at gmail dot com @ 2010-12-03 15:42 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46769
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2010-12-03 15:42:47 UTC ---
From
http://www.kernel.org/pub/linux/devel/gcc/lto/ld-new.ltrans1.o.bz2
[hjl@gnu-6 gold]$ /usr/gcc-4.6/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/lto1
-quiet -dumpdir ./ -dumpbase ld-new.ltrans1 -mtune=generic -march=x86-64
-auxbase-strip ld-new.ltrans1.ltrans.o -g -O2 -Wextra -Wall -Werror -version
-frandom-seed=ld-new -fuse-linker-plugin -frandom-seed=1 -fltrans
ld-new.ltrans1.o -o ld-new.ltrans1.s
GNU GIMPLE (GCC) version 4.6.0 20101202 (experimental) [trunk revision 167368]
(x86_64-unknown-linux-gnu)
compiled by GNU C version 4.6.0 20101202 (experimental) [trunk revision
167368], GMP version 4.3.2, MPFR version 2.4.2-p3, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU GIMPLE (GCC) version 4.6.0 20101202 (experimental) [trunk revision 167368]
(x86_64-unknown-linux-gnu)
compiled by GNU C version 4.6.0 20101202 (experimental) [trunk revision
167368], GMP version 4.3.2, MPFR version 2.4.2-p3, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
In file included from /export/gnu/import/git/binutils/gold/options.h:7421:0,
from :6349:
/export/gnu/import/git/binutils/gold/icf.h: In member function
\u2018__base_dtor \u2019:
/export/gnu/import/git/binutils/gold/icf.h:62:0: internal compiler error: in
force_type_die, at dwarf2out.c:20704
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[hjl@gnu-6 gold]$
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug lto/46769] LTO failed to build gold
2010-12-02 19:10 [Bug lto/46769] New: LTO failed to build gold hjl.tools at gmail dot com
2010-12-03 13:29 ` [Bug lto/46769] " rguenth at gcc dot gnu.org
2010-12-03 15:42 ` hjl.tools at gmail dot com
@ 2010-12-03 16:26 ` rguenth at gcc dot gnu.org
2010-12-03 18:29 ` hjl.tools at gmail dot com
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-12-03 16:26 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46769
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-12-03 16:24:25 UTC ---
Can you use partial linking and reduce the set of object files (best when
reproducing with -flto-partition=none) and then attach preprocessed sources
of them?
LTO object code testcases are not very useful.
Thanks,
Richard.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug lto/46769] LTO failed to build gold
2010-12-02 19:10 [Bug lto/46769] New: LTO failed to build gold hjl.tools at gmail dot com
` (2 preceding siblings ...)
2010-12-03 16:26 ` rguenth at gcc dot gnu.org
@ 2010-12-03 18:29 ` hjl.tools at gmail dot com
2010-12-03 22:40 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: hjl.tools at gmail dot com @ 2010-12-03 18:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46769
--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> 2010-12-03 18:28:58 UTC ---
Created attachment 22622
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22622
A testcase
/usr/gcc-4.6/bin/g++ -r -W -Wall -flto-partition=none -Werror
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -frandom-seed=ld-new -g -O2
-flto=jobserver -fuse-linker-plugin -frandom-seed=1 -o ld-new i386.ii
-nostdlib
In file included from :867:0:
/export/gnu/import/git/binutils/gold/icf.h: In member function ‘__base_dtor ’:
/export/gnu/import/git/binutils/gold/icf.h:62:5: internal compiler error: in
force_type_die, at dwarf2out.c:20704
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper: /usr/gcc-4.6/bin/g++ returned 1 exit status
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug lto/46769] LTO failed to build gold
2010-12-02 19:10 [Bug lto/46769] New: LTO failed to build gold hjl.tools at gmail dot com
` (3 preceding siblings ...)
2010-12-03 18:29 ` hjl.tools at gmail dot com
@ 2010-12-03 22:40 ` rguenth at gcc dot gnu.org
2010-12-04 12:17 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-12-03 22:40 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46769
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-12-03 22:40:08 UTC ---
Confirmed. Thanks for the testcase (reducing).
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug lto/46769] LTO failed to build gold
2010-12-02 19:10 [Bug lto/46769] New: LTO failed to build gold hjl.tools at gmail dot com
` (4 preceding siblings ...)
2010-12-03 22:40 ` rguenth at gcc dot gnu.org
@ 2010-12-04 12:17 ` rguenth at gcc dot gnu.org
2011-01-09 3:24 ` hubicka at gcc dot gnu.org
2020-11-13 4:35 ` hjl.tools at gmail dot com
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-12-04 12:17 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46769
--- Comment #6 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-12-04 12:17:09 UTC ---
Created attachment 22627
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22627
reduced testcase
Fails with -g -flto -flto-partition=none -r -nostdlib
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug lto/46769] LTO failed to build gold
2010-12-02 19:10 [Bug lto/46769] New: LTO failed to build gold hjl.tools at gmail dot com
` (5 preceding siblings ...)
2010-12-04 12:17 ` rguenth at gcc dot gnu.org
@ 2011-01-09 3:24 ` hubicka at gcc dot gnu.org
2020-11-13 4:35 ` hjl.tools at gmail dot com
7 siblings, 0 replies; 9+ messages in thread
From: hubicka at gcc dot gnu.org @ 2011-01-09 3:24 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46769
Jan Hubicka <hubicka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2010-12-03 13:29:21 |2011-01-08 13:29:21
CC| |hubicka at gcc dot gnu.org
--- Comment #7 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-01-09 01:28:34 UTC ---
Hmm, the reduced testcase no longer reproduce for me. The original testcase
fails still.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug lto/46769] LTO failed to build gold
2010-12-02 19:10 [Bug lto/46769] New: LTO failed to build gold hjl.tools at gmail dot com
` (6 preceding siblings ...)
2011-01-09 3:24 ` hubicka at gcc dot gnu.org
@ 2020-11-13 4:35 ` hjl.tools at gmail dot com
7 siblings, 0 replies; 9+ messages in thread
From: hjl.tools at gmail dot com @ 2020-11-13 4:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46769
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |10.2
--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> ---
GCC 10.2 can build gold with LTO.
^ permalink raw reply [flat|nested] 9+ messages in thread