https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71776
Bug ID: 71776
Summary: relocation truncated to fit: R_ARM_THM_JUMP11 against
symbol `__gnu_h2f_internal'
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: malithyapa at gmail dot com
Target Milestone: ---
Build fails while linking libgcc.
/usr/lib/gcc/arm-linux-gnueabihf/4.9/libgcc.a(fp16.o): In function
`__gnu_h2f_ieee':
(.text+0x11a): relocation truncated to fit: R_ARM_THM_JUMP11 against symbol
`__gnu_h2f_internal' defined in .text section in
/usr/lib/gcc/arm-linux-gnueabihf/4.9/libgcc.a(fp16.o)
/usr/lib/gcc/arm-linux-gnueabihf/4.9/libgcc.a(fp16.o): In function
`__gnu_h2f_alternative':
(.text+0x122): relocation truncated to fit: R_ARM_THM_JUMP11 against symbol
`__gnu_h2f_internal' defined in .text section in
/usr/lib/gcc/arm-linux-gnueabihf/4.9/libgcc.a(fp16.o)
/usr/lib/gcc/arm-linux-gnueabihf/4.9/libgcc.a(fp16.o): In function
`__gnu_h2f_ieee':
(.text+0x11a): relocation truncated to fit: R_ARM_THM_JUMP11 against symbol
`__gnu_h2f_internal' defined in .text section in
/usr/lib/gcc/arm-linux-gnueabihf/4.9/libgcc.a(fp16.o)
/usr/lib/gcc/arm-linux-gnueabihf/4.9/libgcc.a(fp16.o): In function
`__gnu_h2f_alternative':
(.text+0x122): relocation truncated to fit: R_ARM_THM_JUMP11 against symbol
`__gnu_h2f_internal' defined in .text section in
/usr/lib/gcc/arm-linux-gnueabihf/4.9/libgcc.a(fp16.o)
/usr/lib/gcc/arm-linux-gnueabihf/4.9/libgcc.a(fp16.o): In function
`__gnu_h2f_ieee':
(.text+0x11a): relocation truncated to fit: R_ARM_THM_JUMP11 against symbol
`__gnu_h2f_internal' defined in .text section in
/usr/lib/gcc/arm-linux-gnueabihf/4.9/libgcc.a(fp16.o)
/usr/lib/gcc/arm-linux-gnueabihf/4.9/libgcc.a(fp16.o): In function
`__gnu_h2f_alternative':
(.text+0x122): relocation truncated to fit: R_ARM_THM_JUMP11 against symbol
`__gnu_h2f_internal' defined in .text section in
/usr/lib/gcc/arm-linux-gnueabihf/4.9/libgcc.a(fp16.o)
tried forcing both -static-libgcc and -shared-libgcc with no difference.
tried -fno-optimize-sibling-calls
(https://bugs.freedesktop.org/show_bug.cgi?id=72064) with no difference