about summary refs log tree commit diff
path: root/benchtests/scripts/bench.py
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-03-03 15:41:49 +0100
committerFlorian Weimer <fweimer@redhat.com>2020-03-03 15:42:36 +0100
commitc014359a7d5154f295152ec4b7f422cc537bd84e (patch)
treefc78553680ebbb1bef65d330ff4472c4bbdfd405 /benchtests/scripts/bench.py
parent66449d93393dabbfcf33c045c1d3cb49e77a25e4 (diff)
downloadglibc-c014359a7d5154f295152ec4b7f422cc537bd84e.tar.gz
glibc-c014359a7d5154f295152ec4b7f422cc537bd84e.tar.xz
glibc-c014359a7d5154f295152ec4b7f422cc537bd84e.zip
alpha: Do not build with -fpic
The combination of GCC 10 and binutils 2.35 (both unreleased) is no
longer able to link the dynamic linker, due to a GP16 relocation
overflow error:

glibc/alpha-linux-gnu/elf/librtld.os: in function `calloc': glibc/elf/../include/rtld-malloc.h:44:(.text+0xd98): relocation truncated to fit: GPREL16 against symbol `__rtld_calloc' defined in .data.rel.ro section in glibc/alpha-linux-gnu/elf/librtld.os
glibc/alpha-linux-gnu/elf/librtld.os: in function `malloc': glibc/elf/../include/rtld-malloc.h:56:(.text+0x2978): relocation truncated to fit: GPREL16 against symbol `__rtld_malloc' defined in .data.rel.ro section in glibc/alpha-linux-gnu/elf/librtld.os

This is arguably a linker bug; the object files and their section size
requirements look reasonable enough.

Using -fPIC (the default) works around this issue.
Diffstat (limited to 'benchtests/scripts/bench.py')
0 files changed, 0 insertions, 0 deletions