[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: test-rwlock1 failing on latest Fedora Rawhide
From: |
Bruno Haible |
Subject: |
Re: test-rwlock1 failing on latest Fedora Rawhide |
Date: |
Wed, 23 Jan 2019 21:01:19 +0100 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-141-generic; KDE/5.18.0; x86_64; ; ) |
Hi Rich,
> I cannot reproduce this locally, hence my bug report is rather devoid
> of details. However, it's 100% reproducible in Koji (the Fedora
> Rawhide build system) on *all* architectures except armv7:
>
> FAIL: test-rwlock1
> ==================
> Unexpected outcome 3
> FAIL: test-thread_create
As written in [1]:
"Unexpected outcome 3" means that the test program could not create a second
thread (other than the main thread).
On glibc systems, this typically means that the 'test-rwlock1' program has not
been linked with '-lpthread'.
> The full log is here:
>
> https://kojipkgs.fedoraproject.org//work/tasks/4382/32214382/build.log
The configure command-line looks right.
I see
LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
A global "-Wl,--as-needed" has the effect of removing libraries like
-lpthread from the link. Which would explain the symptom.
What do the other elements of LDFLAGS do?
Bruno
[1] http://lists.gnu.org/archive/html/coreutils/2018-02/msg00020.html
- test-rwlock1 failing on latest Fedora Rawhide, Richard W.M. Jones, 2019/01/23
- Re: test-rwlock1 failing on latest Fedora Rawhide,
Bruno Haible <=
- Re: test-rwlock1 failing on latest Fedora Rawhide, Richard W.M. Jones, 2019/01/23
- Re: test-rwlock1 failing on latest Fedora Rawhide, Dmitry V. Levin, 2019/01/23
- Re: test-rwlock1 failing on latest Fedora Rawhide, Michael Hudson-Doyle, 2019/01/23
- Re: test-rwlock1 failing on latest Fedora Rawhide, Richard W.M. Jones, 2019/01/23
- Re: test-rwlock1 failing on latest Fedora Rawhide, Dmitry V. Levin, 2019/01/23
- Re: test-rwlock1 failing on latest Fedora Rawhide, Richard W.M. Jones, 2019/01/23
- Re: test-rwlock1 failing on latest Fedora Rawhide, Dmitry V. Levin, 2019/01/23
- Re: test-rwlock1 failing on latest Fedora Rawhide, Bruno Haible, 2019/01/23
- Re: test-rwlock1 failing on latest Fedora Rawhide, Bruno Haible, 2019/01/23
- Re: test-rwlock1 failing on latest Fedora Rawhide, Bruno Haible, 2019/01/23