From c1b973d7eb0e6e4082244cb6b7402511532808e4 Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Thu, 2 Jun 2016 16:07:50 +0000 Subject: WIP: upgrade to gcc 6.1.0 Also disable some things when cross-compiling gcc in stage1-gcc to sync with LFS instructions: these things don't cross-compile. WIP!!: Some python programs won't work with core-dumps.. It looks like libffi when compiled is wrong. If you recompile it on top of the final system (once running) it works. A simple example of what won't work is `glance --version`. Change-Id: I340fd4c7fd005807132d178d4ea8183770820926 --- strata/build-essential/stage1-gcc.morph | 6 ++---- strata/build-essential/stage2-libstdc++.morph | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'strata/build-essential') diff --git a/strata/build-essential/stage1-gcc.morph b/strata/build-essential/stage1-gcc.morph index c439a912..d60bee6e 100644 --- a/strata/build-essential/stage1-gcc.morph +++ b/strata/build-essential/stage1-gcc.morph @@ -53,13 +53,11 @@ configure-commands: `# [5]` --disable-threads \ `# [5]` --disable-libatomic \ `# [5]` --disable-libgomp \ - `# [5]` --disable-libitm \ + `# [5]` --disable-libmpx \ `# [5]` --disable-libquadmath \ - `# [5]` --disable-libsanitizer \ `# [5]` --disable-libssp \ `# [5]` --disable-libvtv \ - `# [5]` --disable-libcilkrts \ - `# [5]` --disable-libstdc++-v3 \ + `# [5]` --disable-libstdcxx \ --enable-languages=c,c++ build-commands: diff --git a/strata/build-essential/stage2-libstdc++.morph b/strata/build-essential/stage2-libstdc++.morph index 7ebd2da3..031731fc 100644 --- a/strata/build-essential/stage2-libstdc++.morph +++ b/strata/build-essential/stage2-libstdc++.morph @@ -27,7 +27,7 @@ configure-commands: --disable-multilib \ `# [1]` --disable-libstdcxx-threads \ `# [2]` --disable-libstdcxx-pch \ - `# [3]` --with-gxx-include-dir=/tools/"$TARGET_STAGE1"/include/c++/5.3.0 + `# [3]` --with-gxx-include-dir=/tools/"$TARGET_STAGE1"/include/c++/6.1.0 build-commands: - cd o && make -- cgit v1.2.1