commit: 7283a01fc3dd7523793c28d8acd04ce7fd049389 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Sun Sep 1 16:08:26 2019 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Sun Sep 1 16:14:27 2019 +0000 URL: https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=7283a01f
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 <AT> gentoo.org> crossdev | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/crossdev b/crossdev index 6d61f1c..e03ea78 100755 --- a/crossdev +++ b/crossdev @@ -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"
