diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2019-09-01 17:08:26 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2019-09-01 17:14:27 +0100 |
commit | 7283a01fc3dd7523793c28d8acd04ce7fd049389 (patch) | |
tree | da721b1b9b1aa814af63a7735da68272472e1c73 /crossdev | |
parent | wrappers/emerge-wrapper: drop population of profile/package.provided (diff) | |
download | crossdev-7283a01fc3dd7523793c28d8acd04ce7fd049389.tar.gz crossdev-7283a01fc3dd7523793c28d8acd04ce7fd049389.tar.bz2 crossdev-7283a01fc3dd7523793c28d8acd04ce7fd049389.zip |
crossdev: set --without-headers by default
In https://sourceware.org/PR24577 we discovered that riscv
can't really install libc headers as it needs a cross-compiler.
Before this change we had the following default build order:
- cross-binutils
- kernel/libc headers
- stage1 gcc
- glibc
- stage2 gcc
After this change it's:
- cross-binutils
- stage1 gcc
- kernel headers
- glibc
- stage2 gcc
Users can still fors headers installation with '--ith-headers' option.
Bug: https://sourceware.org/PR24577
Bug: https://bugs.gentoo.org/692052
Bug: https://bugs.gentoo.org/686248
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'crossdev')
-rwxr-xr-x | crossdev | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -708,7 +708,14 @@ GUSE_DISABLE="-boundschecking -d -gcj -gtk -libffi -mudflap -objc -objc++ -objc- # These are disabled only for stage1 gcc. Normally need libc present. GUSE_DISABLE_STAGE_1="${GUSE_DISABLE} -fortran -go -jit -cxx -mpx -openmp -sanitize -vtv" GUSE_DISABLE_STAGE_2="${GUSE_DISABLE}" -WITH_HEADERS="COW" WITH_DEF_HEADERS="yes" #227065 gcc-4.3+ is a pita w/out headers + +# Past history of WITH_DEF_HEADERS: +# - ????-2005: "no" +# - 2005-2019: "yes": #227065 gcc-4.3+ is a pita w/out headers +# - 2019-????: "no" again: glibc does not really support headers install +# at least on riscv-*: #686248 +WITH_HEADERS="COW" +WITH_DEF_HEADERS="no" EX_FAST="no" EX_GCC="no" EX_GDB="no" |