kumquat-buildroot/package/binutils/2.34
Giulio Benetti e3b3432fc0 package/binutils: fix linker assert on OpenRisc
When building openal we were seeing the assert failure:

/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o:
pc-relative relocation against dynamic symbol alSourcePausev
/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o:
pc-relative relocation against dynamic symbol alSourceStopv
/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o:
pc-relative relocation against dynamic symbol alSourceRewindv
/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o:
pc-relative relocation against dynamic symbol alSourcePlayv
collect2: error: ld returned 1 exit status

So add patches to fix this binutils assert link failure on OpenRisc.
It's been suggested upstream and it's pending here:
https://sourceware.org/pipermail/binutils/2021-July/117334.html

Fixes:
http://autobuild.buildroot.net/results/c96/c96f2600f227d6c76114b9fbc41f74a57e40415a/

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-07-16 22:50:57 +02:00
..
0001-sh-conf.patch
0002-poison-system-directories.patch
0003-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch
0004-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch package/binutils: add upstream backported patches to support -mcmodel=large gcc option 2021-05-21 10:36:04 +02:00
0005-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch package/binutils: add upstream backported patches to support -mcmodel=large gcc option 2021-05-21 10:36:04 +02:00
0006-or1k-Support-large-plt_relocs-when-generating-plt-en.patch package/binutils: add upstream backported patches to support -mcmodel=large gcc option 2021-05-21 10:36:04 +02:00
0008-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch package/binutils: fix linker assert on OpenRisc 2021-07-16 22:50:57 +02:00