ppc64le: expected localentry:0 `pthread_condattr_destroy'
Alan Modra
amodra@gmail.com
Thu Jul 27 04:06:00 GMT 2017
> >> On 07/25/2017 09:11 PM, Josh Stone wrote:
> >>> ./bin/rustc: error while loading shared libraries:
> >>> ./lib/libstd-c3a1748e15265da7.so: expected localentry:0
> >>> `pthread_condattr_destroy'
You will get this error if the link-time version of a function symbol
is seen as localentry:0 (ie. not needing a global entry point due to
not needing a valid r2 toc pointer), but the run-time version does.
The most likely thing is that your library was linked against a stub
version of pthread_condattr_destroy. Making the stub weak will
disable the generation of the optimized localentry:0 plt call code.
So will linking with -Wl,--no-plt-localentry
--
Alan Modra
Australia Development Lab, IBM
More information about the Libc-alpha
mailing list