|
From: | joseph at codesourcery dot com |
Subject: | [Bug gprof/28962] libcollector: Error: invalid attempt to declare external version name as default in symbol `posix_spawn@@GLIBC_2.15 |
Date: | Mon, 14 Mar 2022 21:25:28 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=28962 --- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> --- Code defining versioned symbols should use the symver attribute to define those symbols when available (when compiling with GCC 10 and later), instead of inline asm, to be compatible with LTO (it probably can't work very reliably with LTO when built with older compilers). (Note: I haven't tested whether using the attribute actually helps here, but I expect it to be necessary.) -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |