This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

TLS version of newlib ??


Hi All.

I require compiling an app with some manual static linkings.
I have compiled newlib for arm64, but get the following error(s)
during linking :

#####################################################################################################
/usr/lib/gcc-cross/aarch64-linux-gnu/5/../../../../aarch64-linux-gnu/bin/ld:
errno: TLS reference in
/home/ajay/arm-cross-compiled-libs/libpthread.a(pthread_create.o)
mismatches non-TLS reference in
/home/ajay/arm-cross-compiled-libs/libc.a(lib_a-reent.o)
/home/ajay/arm-cross-compiled-libs/libpthread.a: error adding symbols: Bad value
#####################################################################################################


So, is it possible to compile a TLS version for newlib?

Will be grateful for pointers.


Thanks and Regards,
Ajay


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]