glibc: nptl/tst-cancel17 and librt issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/21/2017 01:40 PM, Zack Weinberg wrote:
> On Tue, Nov 21, 2017 at 4:25 PM, Vineet Gupta
>>
>> make subdirs=nptl check fails as librt.so fails to link due to missing
>> pthread symbols. The real librt built does have libpthread.so in its link
>> cmd hence is fine, but not this librt.
> 
> I've tripped over this myself but only when trying to do an
> incremental rebuild under conditions where an incremental build won't
> work.  I do not know what those conditions are: I only know that
> blowing away the build tree and starting over from scratch has, until
> now, cured the problem.
> 
> Are you seeing this in a build from scratch, not overriding subdirs?

This is a rebuild for make check. So I have a cross compilation setup using 
builroot (to include my glibc branch from github etc). After the toolchain builds, 
I go to  build/glibc/build and do make check, (doing with subdirs=nptl is same)

But I know exactly what the problem is: libpthread.so is not present in the link 
cmd for build/nptl/librt.so. I just don't know hoe to coax the build system to 
include it (apparently that happens for the canonical rt/librt.so)

-Vineet



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux