[Bug lto/46319] LTO plugin test failures with --with-build-config=bootstrap-lto --with-plugin-ld=ld

2010-11-10 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46319 --- Comment #13 from H.J. Lu 2010-11-11 01:46:40 UTC --- (In reply to comment #12) > (In reply to comment #11) > > I have verified that > > > > http://sourceware.org/ml/binutils/2010-11/msg00170.html > > > > fixes the problem. > > Thanks HJ.

[Bug lto/46319] LTO plugin test failures with --with-build-config=bootstrap-lto --with-plugin-ld=ld

2010-11-10 Thread davek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46319 --- Comment #12 from Dave Korn 2010-11-10 22:52:55 UTC --- (In reply to comment #11) > I have verified that > > http://sourceware.org/ml/binutils/2010-11/msg00170.html > > fixes the problem. Thanks HJ. I can't self-approve patches to that cod

[Bug lto/46319] LTO plugin test failures with --with-build-config=bootstrap-lto --with-plugin-ld=ld

2010-11-10 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46319 H.J. Lu changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug lto/46319] LTO plugin test failures with --with-build-config=bootstrap-lto --with-plugin-ld=ld

2010-11-09 Thread davek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46319 Dave Korn changed: What|Removed |Added Keywords||patch URL|

[Bug lto/46319] LTO plugin test failures with --with-build-config=bootstrap-lto --with-plugin-ld=ld

2010-11-07 Thread davek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46319 --- Comment #9 from Dave Korn 2010-11-08 06:27:25 UTC --- (In reply to comment #8) > This appears to be because plugin_init in selfassign.c isn't marked with > __attribute__((externally_visible)), and the resolution file marks it as > PREVAILING

[Bug lto/46319] LTO plugin test failures with --with-build-config=bootstrap-lto --with-plugin-ld=ld

2010-11-07 Thread davek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46319 --- Comment #8 from Dave Korn 2010-11-08 04:52:12 UTC --- The generated source file selfassign.so.ltrans0.s (and hence also the object file selfassign.so.ltrans0.ltrans.o) file which gets created when lto-plugin invokes lto1 on the original input

[Bug lto/46319] LTO plugin test failures with --with-build-config=bootstrap-lto --with-plugin-ld=ld

2010-11-05 Thread davek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46319 --- Comment #7 from Dave Korn 2010-11-05 23:33:29 UTC --- (In reply to comment #4) > Everything seems wrong. Yes, you aren't exaggerating! I am continuing to try and figure out what's going wrong.

[Bug lto/46319] LTO plugin test failures with --with-build-config=bootstrap-lto --with-plugin-ld=ld

2010-11-05 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46319 --- Comment #6 from H.J. Lu 2010-11-05 23:31:23 UTC --- Created attachment 22301 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22301 selfassign.so generated by gold

[Bug lto/46319] LTO plugin test failures with --with-build-config=bootstrap-lto --with-plugin-ld=ld

2010-11-05 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46319 --- Comment #5 from H.J. Lu 2010-11-05 23:30:36 UTC --- Created attachment 22300 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22300 selfassign.so generated by bfd linker

[Bug lto/46319] LTO plugin test failures with --with-build-config=bootstrap-lto --with-plugin-ld=ld

2010-11-05 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46319 --- Comment #4 from H.J. Lu 2010-11-05 23:27:51 UTC --- -fwhopr=jobserver -fuse-linker-plugin -frandom-seed=1 miscompiled selfassign.so. It generated: [...@gnu-32 stage1-gcc]$ nm selfassign.so | grep plugin_init 09aa T plugin_init [.

[Bug lto/46319] LTO plugin test failures with --with-build-config=bootstrap-lto --with-plugin-ld=ld

2010-11-05 Thread davek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46319 --- Comment #3 from Dave Korn 2010-11-05 22:59:04 UTC --- When I tried running these tests in a pre-existing build tree, plugin_default_version_check failed because the datestamps don't match up: (gdb) p gcc_version[0] $5 = {basever = 0x1029fe8

[Bug lto/46319] LTO plugin test failures with --with-build-config=bootstrap-lto --with-plugin-ld=ld

2010-11-05 Thread davek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46319 Dave Korn changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug lto/46319] LTO plugin test failures with --with-build-config=bootstrap-lto --with-plugin-ld=ld

2010-11-05 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46319 H.J. Lu changed: What|Removed |Added Summary|LTO plugin test failures|LTO plugin test failures |wit