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: [PATCH 4/4] ARCv2: entry: Reduce perf intr return path

2017-11-21 Thread Vineet Gupta
On 11/17/2017 03:42 PM, Vineet Gupta wrote: What do you (on ARC) do about irq_work ? So the reason I'm asking is that some architectures that don't have NMIs call irq_work_run() at the very end of their perf-interrupt handler (ARM does this for instance). But on ARC, we don't call irq_wor

Re: [PATCH 0/4] ARC perf updates

2017-11-21 Thread Peter Zijlstra
On Tue, Nov 21, 2017 at 02:09:38PM -0800, Vineet Gupta wrote: > On 11/07/2017 02:13 PM, Vineet Gupta wrote: > > Hi, > > > > Found these when cleaning up some old branches. The only controversial one > > could be the last one. > > > > Thx, > > -Vineet > > > > Vineet Gupta (4): > >ARCv2: perf:

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: [PATCH 0/4] ARC perf updates

2017-11-21 Thread Vineet Gupta
On 11/07/2017 02:13 PM, Vineet Gupta wrote: Hi, Found these when cleaning up some old branches. The only controversial one could be the last one. Thx, -Vineet Vineet Gupta (4): ARCv2: perf: tweak overflow interrupt ARCv2: perf: optimize given that num counters <= 32 ARC: perf: avoid v

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

RE: [PATCH] [ARC] update GLIBC_DYNAMIC_LINKER per glibc upstreaming review comments

2017-11-21 Thread Claudiu Zissulescu
Please also consider this for backporting as that is the gcc version in use by > glibc test harnesses ! > Backported to gcc7 branch. Cheers, Claudiu ___ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/l