Re: glibc: nptl/tst-cancel17 and librt issue

2017-11-21 Thread Vineet Gupta
On 11/21/2017 02:33 PM, Andreas Schwab wrote: On Nov 21 2017, Vineet Gupta wrote: the link cmd for build/nptl/librt.so. There is no librt.so in nptl. Right, but when you do a make check in build tree, it does try to build one, rather than reference the rt/librt.so But indeed if I follow

Re: glibc: nptl/tst-cancel17 and librt issue

2017-11-21 Thread Andreas Schwab
On Nov 21 2017, Vineet Gupta wrote: > the link cmd for build/nptl/librt.so. There is no librt.so in nptl. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." _

Re: glibc: nptl/tst-cancel17 and librt issue

2017-11-21 Thread Andreas Schwab
On Nov 21 2017, Vineet Gupta wrote: > The problem is not specific subdirs=nptl, it happens for vanilla make > check too. As I said, make all before make check to have an up-to-date build. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44

Re: glibc: nptl/tst-cancel17 and librt issue

2017-11-21 Thread Vineet Gupta
On 11/21/2017 02:03 PM, Andreas Schwab wrote: On Nov 21 2017, Vineet Gupta wrote: 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. Don't do that then. If yo

Re: glibc: nptl/tst-cancel17 and librt issue

2017-11-21 Thread Andreas Schwab
On Nov 21 2017, Vineet Gupta wrote: > 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. Don't do that then. If you want to take shortcuts you need to know wh

Re: glibc: nptl/tst-cancel17 and librt issue

2017-11-21 Thread Vineet Gupta
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

Re: glibc: nptl/tst-cancel17 and librt issue

2017-11-21 Thread Zack Weinberg
On Tue, Nov 21, 2017 at 4:25 PM, Vineet Gupta 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

glibc: nptl/tst-cancel17 and librt issue

2017-11-21 Thread Vineet Gupta
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 thi