[Bug libgcc/81199] fallback definition of count_leading_zeros references hidden symbol
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81199 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|WAITING |RESOLVED --- Comment #5 from Andrew Pinski --- No feedback in over 6 months on the exact command line which is failing, assuming a bug in the build system of cmake.
[Bug libgcc/81199] fallback definition of count_leading_zeros references hidden symbol
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81199 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-06-08 Ever confirmed|0 |1 Status|UNCONFIRMED |WAITING --- Comment #4 from Andrew Pinski --- >[ 88%] Linking CXX executable ../bin/ccmake Can you provide the full linking command line rather than this non-verbose output?
[Bug libgcc/81199] fallback definition of count_leading_zeros references hidden symbol
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81199 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek --- This actually usually means some shared library has been linked without linking against -lgcc_s or -lgcc (common reason is e.g. linking with ld -shared instead of gcc -shared or g++ -shared) and you are trying to link against that shared library.
[Bug libgcc/81199] fallback definition of count_leading_zeros references hidden symbol
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81199 --- Comment #2 from coypu --- To relay a comment on the netbsd bug, "I don't think (the proposed idea) is correct and the real problem is that we are linking libgcc first (again)."
[Bug libgcc/81199] fallback definition of count_leading_zeros references hidden symbol
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81199 --- Comment #1 from coypu --- Maybe expose __clz_tab but only in the fallback definition case, and not make it hidden.