[Bug gprofng/29085] New: Start messages printed by "gprofng collect app" with a keyword
https://sourceware.org/bugzilla/show_bug.cgi?id=29085 Bug ID: 29085 Summary: Start messages printed by "gprofng collect app" with a keyword Product: binutils Version: 2.39 (HEAD) Status: NEW Severity: enhancement Priority: P2 Component: gprofng Assignee: vladimir.mezentsev at oracle dot com Reporter: ruud.vanderpas at oracle dot com Target Milestone: --- This is a Request for Enhancement to start the messages printed by "gprofng collect app" with a keyword. For example, something like this: [gprofng] Creating experiment directory test.1.er (Process ID: 12345) Currently these messages are interleaved with the application output and this could not only be confusing, but may also not be desirable. If such a keyword is added, it is easier to identify such messages, or filter them out. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gprofng/29083] The caller-callee view from the "gprofng display text" tool changes alignment
https://sourceware.org/bugzilla/show_bug.cgi?id=29083 Ruud van der Pas changed: What|Removed |Added CC||ruud.vanderpas at oracle dot com -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gprofng/29085] Start messages printed by "gprofng collect app" with a keyword
https://sourceware.org/bugzilla/show_bug.cgi?id=29085 Ruud van der Pas changed: What|Removed |Added CC||ruud.vanderpas at oracle dot com Priority|P2 |P3 -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/29080] Slow readelf -S when having a separate debug info for a binary
https://sourceware.org/bugzilla/show_bug.cgi?id=29080 Martin Liska changed: What|Removed |Added Resolution|--- |DUPLICATE Status|WAITING |RESOLVED --- Comment #2 from Martin Liska --- (In reply to H.J. Lu from comment #1) > Is this a dup of PR 28843? Yes, please, thanks for the fix! *** This bug has been marked as a duplicate of bug 28843 *** -- You are receiving this mail because: You are on the CC list for the bug.
[Bug binutils/28843] regression: readelf -n became slow without -wN
https://sourceware.org/bugzilla/show_bug.cgi?id=28843 Martin Liska changed: What|Removed |Added CC||mliska at suse dot cz --- Comment #9 from Martin Liska --- *** Bug 29080 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/29086] New: -Wl,--wrap=foo with LTO leads to undefined symbol
https://sourceware.org/bugzilla/show_bug.cgi?id=29086 Bug ID: 29086 Summary: -Wl,--wrap=foo with LTO leads to undefined symbol Product: binutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com Target Milestone: --- [hjl@gnu-cfl-1 xxx]$ cat x.c int foo (void) { return 0; } int main() { return foo (); } [hjl@gnu-cfl-1 xxx]$ cat y.c extern int __real_foo (void); int __wrap_foo (void) { return __real_foo (); } [hjl@gnu-cfl-1 xxx]$ make gcc -g -flto -c -o x.o x.c gcc -Wl,--wrap=foo -g -flto -o x x.o y.o /usr/local/bin/ld: /tmp/ccaI3Pxt.ltrans0.ltrans.o: in function `__wrap_foo': /export/home/hjl/bugs/binutils/xxx/y.c:6: undefined reference to `foo' collect2: error: ld returned 1 exit status make: *** [Makefile:11: x] Error 1 [hjl@gnu-cfl-1 xxx]$ -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/29086] -Wl,--wrap=foo with LTO leads to undefined symbol
https://sourceware.org/bugzilla/show_bug.cgi?id=29086 H.J. Lu changed: What|Removed |Added Version|unspecified |2.39 (HEAD) -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/29086] -Wl,--wrap=foo with LTO leads to undefined symbol
https://sourceware.org/bugzilla/show_bug.cgi?id=29086 --- Comment #1 from H.J. Lu --- LTO doesn't know that __real_foo references foo and changes foo to a local symbol. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/29087] New: "non-canonical reference to canonical protected function" with protected visibility, -mno-direct-extern-access and virtual functions
https://sourceware.org/bugzilla/show_bug.cgi?id=29087 Bug ID: 29087 Summary: "non-canonical reference to canonical protected function" with protected visibility, -mno-direct-extern-access and virtual functions Product: binutils Version: 2.38 Status: UNCONFIRMED Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: thiago at kde dot org Target Milestone: --- Created attachment 14078 --> https://sourceware.org/bugzilla/attachment.cgi?id=14078&action=edit Testcase Related to (possibly caused by the fix to) bug 28875. $ cat lib.h #ifdef BUILD # define LIB_API __attribute__((visibility("protected"))) #else # define LIB_API __attribute__((visibility("default"))) #endif struct LIB_API S { virtual ~S(); virtual void f(); }; $ cat lib.cpp #define BUILD #include "lib.h" S::~S() { } void S::f() { } $ cat main.cpp #include "lib.h" struct Local : S { }; int main() { Local l; } $ gmake g++ -shared -fPIC -mno-direct-extern-access -O2 -g -o lib.so lib.cpp g++ -c -fPIE -mno-direct-extern-access -O2 -g main.cpp g++ main.o lib.so /usr/bin/ld: main.o: non-canonical reference to canonical protected function `_ZN1S1fEv' in lib.so /usr/bin/ld: failed to set dynamic section sizes: bad value collect2: error: ld returned 1 exit status gmake: *** [Makefile:5: a.out] Error 1 $ eu-readelf -r main.o | sed -n '/.data.rel.ro._ZTV5Local/,/^$/p' Relocation section [18] '.rela.data.rel.ro._ZTV5Local' for section [17] '.data.rel.ro._ZTV5Local' at offset 0xb58 contains 4 entries: Offset TypeValue Addend Name 0x0008 X86_64_64 00 +0 _ZTI5Local 0x0010 X86_64_64 00 +0 _ZN5LocalD1Ev 0x0018 X86_64_64 00 +0 _ZN5LocalD0Ev 0x0020 X86_64_64 00 +0 _ZN1S1fEv $ eu-readelf --dyn-syms lib.so Symbol table [ 5] '.dynsym' contains 14 entries: 1 local symbol String table: [ 6] '.dynstr' Num:Value Size TypeBind Vis Ndx Name 0: 0 NOTYPE LOCAL DEFAULTUNDEF 1: 0 FUNCWEAK DEFAULTUNDEF __cxa_finalize@GLIBC_2.2.5 (2) 2: 0 OBJECT GLOBAL DEFAULTUNDEF _ZTVN10__cxxabiv117__class_type_infoE@CXXABI_1.3 (3) 3: 0 FUNCGLOBAL DEFAULTUNDEF _ZdlPvm@CXXABI_1.3.9 (4) 4: 0 NOTYPE WEAK DEFAULTUNDEF _ITM_deregisterTMCloneTable 5: 0 NOTYPE WEAK DEFAULTUNDEF __gmon_start__ 6: 0 NOTYPE WEAK DEFAULTUNDEF _ITM_registerTMCloneTable 7: 1110 1 FUNCGLOBAL PROTECTED 14 _ZN1SD1Ev 8: 1110 1 FUNCGLOBAL PROTECTED 14 _ZN1SD2Ev 9: 1120 1 FUNCGLOBAL PROTECTED 14 _ZN1S1fEv 10: 1130 10 FUNCGLOBAL PROTECTED 14 _ZN1SD0Ev 11: 2000 3 OBJECT WEAK PROTECTED 16 _ZTS1S 12: 3dd0 16 OBJECT WEAK PROTECTED 21 _ZTI1S 13: 3da8 40 OBJECT WEAK PROTECTED 21 _ZTV1S $ gcc -v |& tail -1 gcc version 12.0.1 20220420 (experimental) releases/gcc-11.2.0-1089-g691af15031 (Clear Linux OS for Intel Architecture) $ ld -v GNU ld (GNU Binutils) 2.38 -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/29087] "non-canonical reference to canonical protected function" with protected visibility, -mno-direct-extern-access and virtual functions
https://sourceware.org/bugzilla/show_bug.cgi?id=29087 H.J. Lu changed: What|Removed |Added Assignee|unassigned at sourceware dot org |hjl.tools at gmail dot com Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Last reconfirmed||2022-04-23 -- You are receiving this mail because: You are on the CC list for the bug.