Chris Packham 2b2183b321 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>
2023-09-13 13:55:00 +12:00
..
2022-02-11 00:47:51 -08:00
2022-02-11 00:47:50 -08:00
2023-07-14 14:01:33 +12:00
2023-05-31 20:21:59 +12:00
2023-05-14 10:34:29 +12:00
2023-05-14 10:35:14 +12:00