Skip to content

Commit 04459f7

Browse files
authored
Rollup merge of #102748 - cuviper:i586-gnu-uncompress, r=pietroalbini
Disable compressed debug sections on i586-gnu Compressed debug is enabled by default for gas (assembly) on Linux/x86 targets, and we started building our own in #102530, but that made our `compiler_builtins` incompatible with binutils < 2.32. Add an explicit option to disable that in our crosstool-ng config. Fixes #102703.
2 parents d6c05fb + 1158398 commit 04459f7

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/ci/docker/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -242,10 +242,14 @@ For targets: `i586-unknown-linux-gnu`
242242
- Operating System > Target OS = linux
243243
- Operating System > Linux kernel version = 3.2.101
244244
- Binary utilities > Version of binutils = 2.32
245+
- Binary utilities > binutils extra config = --enable-compressed-debug-sections=none -- (\*)
245246
- C-library > glibc version = 2.17.0
246247
- C compiler > gcc version = 8.3.0
247248
- C compiler > C++ = ENABLE
248249
250+
(\*) Compressed debug is enabled by default for gas (assembly) on Linux/x86 targets,
251+
but that makes our `compiler_builtins` incompatible with binutils < 2.32.
252+
249253
### `powerpc-linux-gnu.config`
250254
251255
For targets: `powerpc-unknown-linux-gnu`

src/ci/docker/host-x86_64/dist-i586-gnu-i586-i686-musl/i586-linux-gnu.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ CT_BINUTILS_LINKERS_LIST="ld"
336336
CT_BINUTILS_LINKER_DEFAULT="bfd"
337337
# CT_BINUTILS_PLUGINS is not set
338338
CT_BINUTILS_RELRO=m
339-
CT_BINUTILS_EXTRA_CONFIG_ARRAY=""
339+
CT_BINUTILS_EXTRA_CONFIG_ARRAY="--enable-compressed-debug-sections=none"
340340
# CT_BINUTILS_FOR_TARGET is not set
341341
CT_ALL_BINUTILS_CHOICES="BINUTILS"
342342

0 commit comments

Comments
 (0)