diff options
author | Chris Packham <judge.packham@gmail.com> | 2023-09-06 16:05:24 +1200 |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2023-09-13 13:55:00 +1200 |
commit | 2b2183b3215e3df1f139bc11b4c8aafafb4384b8 (patch) | |
tree | 5fd5dc45e42c24bd928c8f13557527e88be615ee /scripts/override/install | |
parent | 6780e48aca3313c2973e8a138072cc07774a442b (diff) | |
download | crosstool-ng-2b2183b3215e3df1f139bc11b4c8aafafb4384b8.tar.gz crosstool-ng-2b2183b3215e3df1f139bc11b4c8aafafb4384b8.tar.bz2 crosstool-ng-2b2183b3215e3df1f139bc11b4c8aafafb4384b8.zip |
gcc: Add patch to avoid reference to __pthread_key_create
A toolchain uclibc-ng-1.0.43, binutils-2.40 and gcc-13.2.0 hits the
following error when building:
ld.bfd: isl_test2.o: non-canonical reference to canonical protected function `__pthread_key_create' in x86_64-multilib-linux-uclibc/sysroot/lib64/libc.so.1
ld.bfd: failed to set dynamic section sizes: bad value
The reference comes from libgcc where it is using the
__pthread_key_create() symbol to detect the use of pthreads with GNU
libc. Prevent this on uclibc-ng with an explicit condition.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111322
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'scripts/override/install')
0 files changed, 0 insertions, 0 deletions