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