[Bug ld/14747] undefined reference to `_GLOBAL_OFFSET_TABLE_' with -flto

2012-10-26 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14747 --- Comment #13 from H.J. Lu 2012-10-26 22:54:43 UTC --- I pushed linux/release/2.23.51.0.4 branch to http://git.kernel.org/?p=linux/kernel/git/hjl/binutils.git;a=summary This is a git-only, silent release. -- Configure bugmail: http://sou

[Bug ld/14747] undefined reference to `_GLOBAL_OFFSET_TABLE_' with -flto

2012-10-25 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14747 --- Comment #12 from H.J. Lu 2012-10-26 02:37:25 UTC --- I checked a different patch into hjl/lto/master branch. Please check it out. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this

[Bug ld/14747] undefined reference to `_GLOBAL_OFFSET_TABLE_' with -flto

2012-10-25 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14747 H.J. Lu changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug ld/14747] undefined reference to `_GLOBAL_OFFSET_TABLE_' with -flto

2012-10-25 Thread polacek at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14747 --- Comment #10 from Marek Polacek 2012-10-25 14:08:06 UTC --- Seems to work. Thanks a lot! -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC

[Bug ld/14747] undefined reference to `_GLOBAL_OFFSET_TABLE_' with -flto

2012-10-25 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14747 H.J. Lu changed: What|Removed |Added Status|WAITING |ASSIGNED AssignedTo|unassigned at so

[Bug ld/14747] undefined reference to `_GLOBAL_OFFSET_TABLE_' with -flto

2012-10-25 Thread polacek at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14747 --- Comment #8 from Marek Polacek 2012-10-25 11:59:16 UTC --- Ok, reproducible even on x86_64 Fedora 16 with trunk GCC. I have built current GCC trunk (just ../configure --prefix=`pwd` --enable-languages=c,c++ --disable-bootstrap) and current

[Bug ld/14747] undefined reference to `_GLOBAL_OFFSET_TABLE_' with -flto

2012-10-24 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14747 --- Comment #7 from H.J. Lu 2012-10-24 23:35:49 UTC --- (In reply to comment #6) > Ah, but with g++ -m32 [...] I can now reproduce it even on x86_64. Sorry. "-m32 -flto -fuse-linker-plugin" doesn't work with i686 binutils on x86-64. I have n

[Bug ld/14747] undefined reference to `_GLOBAL_OFFSET_TABLE_' with -flto

2012-10-24 Thread polacek at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14747 --- Comment #6 from Marek Polacek 2012-10-24 14:12:36 UTC --- Ah, but with g++ -m32 [...] I can now reproduce it even on x86_64. Sorry. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving t

[Bug ld/14747] undefined reference to `_GLOBAL_OFFSET_TABLE_' with -flto

2012-10-24 Thread polacek at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14747 --- Comment #5 from Marek Polacek 2012-10-24 13:53:25 UTC --- To be more concrete, after building binutils, I put new ld/ld-new in ~/hbin, where I have ld script, which is just #!/bin/sh exec /root/hbin/ld-new "$@" and then I run PATH=/root/h

[Bug ld/14747] undefined reference to `_GLOBAL_OFFSET_TABLE_' with -flto

2012-10-24 Thread polacek at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14747 --- Comment #4 from Marek Polacek 2012-10-24 13:44:19 UTC --- (In reply to comment #3) > Please simply try hjl/lto/master branch. Done. I'm still seeing the same failure (again, only i?86). > It works for me on x86-64 with -m32. Can you >

[Bug ld/14747] undefined reference to `_GLOBAL_OFFSET_TABLE_' with -flto

2012-10-24 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14747 --- Comment #3 from H.J. Lu 2012-10-24 11:13:34 UTC --- (In reply to comment #2) > The version is: > gcc (GCC) 4.7.1 20120813 (Red Hat 4.7.1-7) > > That patch doesn't apply. I've tried also Please simply try hjl/lto/master branch. > > BTW

[Bug ld/14747] undefined reference to `_GLOBAL_OFFSET_TABLE_' with -flto

2012-10-22 Thread polacek at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14747 --- Comment #2 from Marek Polacek 2012-10-22 08:57:57 UTC --- The version is: gcc (GCC) 4.7.1 20120813 (Red Hat 4.7.1-7) That patch doesn't apply. I've tried also 2012-06-28 H.J. Lu PR ld/14272 * elflink.c (_bfd_elf_fix_sym

[Bug ld/14747] undefined reference to `_GLOBAL_OFFSET_TABLE_' with -flto

2012-10-20 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14747 H.J. Lu changed: What|Removed |Added Status|NEW |WAITING CC|