bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/15469] GNU LD incorrectly binds weakref to a random symbol when


From: amodra at gmail dot com
Subject: [Bug ld/15469] GNU LD incorrectly binds weakref to a random symbol when weakref target is taken away by linker plugin
Date: Wed, 22 May 2013 06:39:18 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=15469

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amodra at gmail dot com

--- Comment #1 from Alan Modra <amodra at gmail dot com> 2013-05-22 06:39:18 
UTC ---
On powerpc with r198955 and a recent mainline BFD ld, I see
gcc/xgcc -Bgcc/ -m32 -O2 -flto -flto-partition=none -fuse-linker-plugin
-fno-fat-lto-objects -fdump-ipa-all -g /src/tmp/pr15469?.c -Wl,-v
collect2 version 4.9.0 20130516 (experimental)
gcc/collect-ld -plugin gcc/liblto_plugin.so -plugin-opt=gcc/lto-wrapper
-plugin-opt=-fresolution=/tmp/ccT1Qq28.res -plugin-opt=-pass-through=-lgcc
-plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc
-plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s
--eh-frame-hdr -m elf32ppclinux -dynamic-linker /lib/ld.so.1 /lib/../lib/crt1.o
/lib/../lib/crti.o gcc/32/crtbegin.o -Lgcc/32 -L/lib/../lib -L/usr/lib/../lib
-Lgcc /tmp/ccITlPtb.o /tmp/ccOtMVZP.o /tmp/cc8ZT9vu.o -v -lgcc --as-needed
-lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed
gcc/32/crtend.o /lib/../lib/crtn.o
GNU ld (GNU Binutils) 2.23.52.20130517
`callmefirst' referenced in section `.text.startup' of /tmp/ccfgdR7M.lto.o:
defined in discarded section `.text' of /tmp/ccITlPtb.o (symbol from plugin)
`callmesecond' referenced in section `.text.startup' of /tmp/ccfgdR7M.lto.o:
defined in discarded section `.text' of /tmp/ccITlPtb.o (symbol from plugin)
collect2: error: ld returned 1 exit status

Does gcc need to be exactly r198926?

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]