Skip to content

main/gcc : Remove .gnu_attribute Tag_GNU_Power_ABI_FP from libgcc

Gustavo Walbon requested to merge walbon/aports:libgcc into master

The long double 128 signatures in libgcc is causing an error on linker because the .gnu_attribute Tag_GNU_Power_ABI_FP is able to report a single long double ABI. However libgcc from GCC 10 is able to support up-to 3 different long double ABIs: 64-bit IEEE, 128-bit IBM and 128-bit IEEE. This patch was backported from [1] of the GCC 11, it help to fix that conditions on the GCC 10.2.

The error emerged after the patch[2] which brougth the checking of the GNU Attributes of the patch[3].

1 - https://gcc.gnu.org/pipermail/gcc-patches/2020-September/554770.html

2 - 796ca0a1

3 - https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=a8acd6eeb6dc2cc5460ece90f90ebe36b56b20ba

Signed-off-by: Gustavo L F Walbon gwalbon@linux.ibm.com

Signed-off-by: Tulio Magno Quites Machado Filho tuliom@linux.ibm.com

Edited by Ariadne Conill

Merge request reports