Bug 2331361
Summary: | undefined reference to `__parse_hwcap_and_convert_at_platform' from libgcc | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dan Horák <dan> |
Component: | libtool | Assignee: | Frédéric Bérat <fberat> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | arjun.is, codonell, dj, fberat, fjanus, fweimer, jakub, jlaw, josmyers, kasal, mcermak, mcoufal, mfabian, pfrankli, praiskup, rhbugs, sipoyare, skolosov, suraj.ghimire7 |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | ppc64le | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libtool-2.5.4-2.fc42 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2025-01-10 16:37:57 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1071880 |
Description
Dan Horák
2024-12-10 13:50:19 UTC
Per https://copr.fedorainfracloud.org/coprs/sharkcz/danny/build/8372393/ there is no such problem in earlier releases. It exists in ld.so: $ readelf -a -W usr/lib64/ld64.so.2 | grep __parse_hwcap 19: 000000000002e240 2516 FUNC GLOBAL DEFAULT [<localentry>: 8] 9 __parse_hwcap_and_convert_at_platform@@GLIBC_2.23 30: 000000000002e240 2516 FUNC GLOBAL DEFAULT [<localentry>: 8] 9 __parse_hwcap_3_4_and_convert_at_platform@@GLIBC_2.39 663: 000000000002e240 2516 FUNC GLOBAL DEFAULT [<localentry>: 8] 9 __parse_hwcap_and_convert_at_platform@@GLIBC_2.23 680: 000000000002e240 2516 FUNC GLOBAL DEFAULT [<localentry>: 8] 9 __parse_hwcap_3_4_and_convert_at_platform@@GLIBC_2.39 And libc.so includes it AS_NDEEDED: $ cat ./usr/lib64/libc.so /* GNU ld script Use the shared library, but some functions are only in the static library, so try that secondarily. */ OUTPUT_FORMAT(elf64-powerpcle) GROUP ( /lib64/libc.so.6 /usr/lib64/libc_nonshared.a AS_NEEDED ( /lib64/ld64.so.2 ) ) So I would expect the link to resolve the reference to the dynamic loader. I don't think there is any bug here, but the problem is likely in the link line? This is likely because libtool tries to reimplement the linker in a shell script. It's required to use the order -lc -lgcc_s -lc (listing -lc twice), otherwise links with -Wl,--as-needed fail. you are right, sounds like bug 2047389 is back FEDORA-2025-1072edb794 (libtool-2.5.4-2.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2025-1072edb794 FEDORA-2025-1072edb794 (libtool-2.5.4-2.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report. |