Hi,
I'm seeing a failure building ISL using uclibc-ng and GCC 13.2
[ALL ]
/home/ctng/x-tools/x86_64-multilib-linux-uclibc/lib/gcc/x86_64-multilib-linux-uclibc/13.2.0/../../../../x86_64-multilib-linux-uclibc/bin/ld.bfd:
isl_test2.o: non-canonical reference to canonical protected function
`__pthread_key_create' in
/home/ctng/x-tools/x86_64-multilib-linux-uclibc/x86_64-multilib-linux-uclibc/sysroot/lib64/libc.so.1
[ALL ]
/home/ctng/x-tools/x86_64-multilib-linux-uclibc/lib/gcc/x86_64-multilib-linux-uclibc/13.2.0/../../../../x86_64-multilib-linux-uclibc/bin/ld.bfd:
failed to set dynamic section sizes: bad value
I don't really understand all the ins and outs but it looks like some
libstdc++ APIs used by ISLs test code boils down to a call to
__pthread_key_create which is marked protected so ld complains.
I can successfully build the same code with glibc (haven't tried
musl). So I'm reaching out to uclibc-ng rather than binutils or GCC.
Any thoughts on what might be the problem and what the solution might be?
Show replies by date