Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1475636
Summary: | ppc64le: expected localentry:0 `pthread_condattr_destroy' | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Josh Stone <jistone> |
Component: | binutils | Assignee: | Nick Clifton <nickc> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | agk, anto.trande, dan, edewata, fweimer, hannsj_uhl, jakub, kdudka, mattia.verga, mtasaka, negativo17, nickc, redhat-bugzilla, rosset.filipe, tpopela, tulioqm, zbyszek |
Target Milestone: | --- | Keywords: | Regression |
Target Release: | --- | ||
Hardware: | ppc64le | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | binutils-2.29-3.fc27 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-07-31 15:26:47 UTC | Type: | Bug |
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: | 1406172 | ||
Bug Blocks: | 1071880 |
Description
Josh Stone
2017-07-27 04:03:19 UTC
I have similar problem with libcurl and cmake. If libcurl is rebuilt while binutils-2.29-2.fc27.ppc64le is installed on the system, cmake fails to start with the following error: cmake: error while loading shared libraries: /lib64/libcurl.so.4: expected localentry:0 `pthread_mutex_destroy' I tried to rebuild cmake to fix it but I get the above error also during the build of cmake (while running %install). If I downgrade to binutils-2.28-14.fc27.ppc64le, rebuild libcurl and isntall, then I am able to run and build cmake again. This error comes out when i run *simpletest for testing MUMPS-5.1.1 MPI libraries on PowerPC-64 'Little Endian' arch only: >> + export LD_LIBRARY_PATH=/builddir/build/BUILD/MUMPS_5.1.1/MUMPS-5.1.1-openmpi/examples:../lib:/usr/lib64/openmpi/lib + LD_LIBRARY_PATH=/builddir/build/BUILD/MUMPS_5.1.1/MUMPS-5.1.1-openmpi/examples:../lib:/usr/lib64/openmpi/lib + ./dsimpletest ./dsimpletest: error while loading shared libraries: ../lib/libmumps_common-5.1.1.so: expected localentry:0 `pthread_cond_init' << System: Fedora 27 (devel branch) Build log: https://kojipkgs.fedoraproject.org//work/tasks/7804/20767804/build.log Architecture: PowerPC 64 'Little Endian' List dependencies: https://kojipkgs.fedoraproject.org//work/tasks/7804/20767804/root.log Even libsbml F27 rebuild is affected on ppc64le only: https://koji.fedoraproject.org/koji/getfile?taskID=20791922&volume=DEFAULT&name=build.log&offset=-4000 ------- Comment From amodra.com 2017-07-28 07:07 EDT------- This is upstream glibc bug https://sourceware.org/bugzilla/show_bug.cgi?id=21847 I expect this means the localentry:0 optimization will need to be disabled. It might be possible to come up with a clever solution that detects a broken glibc. (In reply to IBM Bug Proxy from comment #4) > ------- Comment From amodra.com 2017-07-28 07:07 EDT------- > This is upstream glibc bug > https://sourceware.org/bugzilla/show_bug.cgi?id=21847 > > I expect this means the localentry:0 optimization will need to be disabled. > It might be possible to come up with a clever solution that detects a broken > glibc. To clarify: This optimization is not compatible with the way we currently build our distributions, and to me, it seems it goes against the spirit of the ELF specification. I tried to rebuild libcurl with -Wl,--no-plt-localentry on ppc64le but the build failed because the configure script checks run-time linking of openldap, which is now also broken. So even if binutils is fixed, we will need to rebuild multiple libraries bottom up, as I understand it... Hi Guys, I have created an updated rawhide binutils which disables the plt_localentry0 optimization by default. (It can still be enabled via the linker command line). In order for the patched linker to be effective however another mass rebuild is needed, so I have put in a request for this to happen. Cheers Nick On my test system, which hasn't updated any other broken libraries, a rust rebuild is working fine with binutils-2.29-3.fc27.ppc64le. I've just see this problem on Rawtherapee rebuild. Seems that binutils-2.29-3.fc27.ppc64le doesn't fix it, but the error message is slightly different: https://koji.fedoraproject.org/koji/taskinfo?taskID=20826727 /usr/bin/cmake: error while loading shared libraries: /lib64/librt.so.1: expected localentry:0 `pthread_attr_setdetachstate' Should I open a different bugreport? (In reply to Mattia Verga from comment #9) > Should I open a different bugreport? Nope. It is just that the libraries you link against need to be rebuilt first. Hi Guys, I have updated the rawhide binutils rpm again (binutils-2.29-5.fc27). For this change I have brought in both of the patches made by Alan Modra to the upstream FSF sources in respect of this problem, so I hope that once another mass rebuild has finished, the issue should be resolved. Cheers Nick Package rebuilds are done, and the issue should be resolved by now: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/EUG7DCCNATVM72TQYUH3Q2PY53I7AR6V/ https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/HESPVPZVI6HFS4NSQ3WWMYEFEVUCKXEK/ This might be causing another issue. Please see bug #1479031. *** Bug 1479031 has been marked as a duplicate of this bug. *** Never mind, bug #1479031 is actually the same issue which is already resolved. Thanks. |