On 11/21/2017 02:03 PM, Andreas Schwab wrote: > On Nov 21 2017, Vineet Gupta <Vineet.Gupta1 at synopsys.com> 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 what > you are doing. Before running make check you should make all to have > everything up-to-date. The problem is not specific subdirs=nptl, it happens for vanilla make check too. I was just doing subdirs to save time and find/fix all the errors in one go. Does anyone know how the make build rules are carved up for this specific case ? -Vineet