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 driver/42690] Undefined reference errors with -flto -fuse-linker-plugin


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

--- Comment #39 from H.J. Lu <hjl.tools at gmail dot com> 2010-12-05 18:23:55 UTC ---
(In reply to comment #38)
> (In reply to comment #36)
> 
> $ touch empty.c
> $ gcc -nodefaultlibs -r -flto -fuse-linker-plugin empty.c
> /usr/local/bin/ld: BFD (GNU Binutils) 2.21.51.20101204 assertion fail
> ../../binutils-2.21.51/bfd/elflink.c:9661
> /usr/local/bin/ld: BFD (GNU Binutils) 2.21.51.20101204 assertion fail
> ../../binutils-2.21.51/bfd/elflink.c:7972
> [...]

Please try:

http://sourceware.org/ml/binutils/2010-12/msg00197.html


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