|
From: | mliska at suse dot cz |
Subject: | [Bug ld/22220] BFD linker plugin wrongly marks symbols as PREVAILING_DEF_IRONLY |
Date: | Wed, 27 Sep 2017 09:54:23 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=22220 --- Comment #3 from Martin Liska <mliska at suse dot cz> --- > $ g++ lib.c -shared -fPIC -o libtest.so > $ g++ main.c -ltest -L. -flto -O2 --save-temps && grep xyz main.res > 232 a8edc87dd4d6628a PREVAILING_DEF _ZZ3goovE3xyz > I can confirm having this: ld --version GNU ld (GNU Binutils; openSUSE Tumbleweed) 2.29.0.20170830-0 Now I'm given correct result for my small sample: g++ main.c -ltest -L. -flto -O2 --save-temps && grep xyz main.res 232 224d00cabf975876 PREVAILING_DEF_IRONLY_EXP _ZZ3goovE3xyz However I still have problem with the libstdc++ example: $ grep storage pr82172-2.res 1310 caa2dce973a8949f PREVAILING_DEF_IRONLY _ZNSs4_Rep20_S_empty_rep_storageE Can you please test it? -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |