This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: glibc: nptl/tst-cancel17 and librt issue
- From: Zack Weinberg <zackw at panix dot com>
- To: Vineet Gupta <Vineet dot Gupta1 at synopsys dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>, arcml <linux-snps-arc at lists dot infradead dot org>
- Date: Tue, 21 Nov 2017 16:40:11 -0500
- Subject: Re: glibc: nptl/tst-cancel17 and librt issue
- Authentication-results: sourceware.org; auth=none
- References: <af0c5b39-eadb-e70e-2ad3-79754b04b324@synopsys.com>
On Tue, Nov 21, 2017 at 4:25 PM, Vineet Gupta
<Vineet.Gupta1@synopsys.com> wrote:
> Hi,
>
> I've been trying to run glibc test suite as part of prereq for ARC port
> submission, running into some landmines.
>
> 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?
zw