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.
This commit is contained in:
Matthias Krüger 2022-10-07 07:28:11 +02:00 committed by GitHub
commit 04459f7a6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -242,10 +242,14 @@ For targets: `i586-unknown-linux-gnu`
- Operating System > Target OS = linux - Operating System > Target OS = linux
- Operating System > Linux kernel version = 3.2.101 - Operating System > Linux kernel version = 3.2.101
- Binary utilities > Version of binutils = 2.32 - Binary utilities > Version of binutils = 2.32
- Binary utilities > binutils extra config = --enable-compressed-debug-sections=none -- (\*)
- C-library > glibc version = 2.17.0 - C-library > glibc version = 2.17.0
- C compiler > gcc version = 8.3.0 - C compiler > gcc version = 8.3.0
- C compiler > C++ = ENABLE - C compiler > C++ = ENABLE
(\*) Compressed debug is enabled by default for gas (assembly) on Linux/x86 targets,
but that makes our `compiler_builtins` incompatible with binutils < 2.32.
### `powerpc-linux-gnu.config` ### `powerpc-linux-gnu.config`
For targets: `powerpc-unknown-linux-gnu` For targets: `powerpc-unknown-linux-gnu`

View File

@ -336,7 +336,7 @@ CT_BINUTILS_LINKERS_LIST="ld"
CT_BINUTILS_LINKER_DEFAULT="bfd" CT_BINUTILS_LINKER_DEFAULT="bfd"
# CT_BINUTILS_PLUGINS is not set # CT_BINUTILS_PLUGINS is not set
CT_BINUTILS_RELRO=m CT_BINUTILS_RELRO=m
CT_BINUTILS_EXTRA_CONFIG_ARRAY="" CT_BINUTILS_EXTRA_CONFIG_ARRAY="--enable-compressed-debug-sections=none"
# CT_BINUTILS_FOR_TARGET is not set # CT_BINUTILS_FOR_TARGET is not set
CT_ALL_BINUTILS_CHOICES="BINUTILS" CT_ALL_BINUTILS_CHOICES="BINUTILS"