summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2017-06-27 13:54:43 (GMT)
committerSam Thursfield <sam.thursfield@codethink.co.uk>2017-06-27 13:54:43 (GMT)
commit71597385817026bb8496c73201f8088b3fb01078 (patch)
treea259dc554710372c42f3ad4adebf118e0011ccf2
parentf7ebd177a551984768fadba5c63131efd9455106 (diff)
downloaddefinitions-sam/gcc7.1-bootstrap-fix.tar.gz
The GCC version needs to be manually updated in a path name in libstdc++.morph, I forgot to do that in commit 64813d0134a7796 leading to this issue in stage2-gcc during bootstrap: x86_64-bootstrap-linux-gnu-g++ --sysroot=/root/ybd/tmp/tmpXB_LVo -fno-PIE -c -DIN_GCC_FRONTEND -g -O2 -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -Ic -I../../gcc -I../../gcc/c -I../../gcc/../include -I../../gcc/../libcpp/include -I/root/ybd/tmp/tmpXB_LVo/stage2-gcc.build/o/./gmp -I/root/ybd/tmp/tmpXB_LVo/stage2-gcc.build/gmp -I/root/ybd/tmp/tmpXB_LVo/stage2-gcc.build/o/./mpfr/src -I/root/ybd/tmp/tmpXB_LVo/stage2-gcc.build/mpfr/src -I/root/ybd/tmp/tmpXB_LVo/stage2-gcc.build/mpc/src -I../../gcc/../libdecnumber -I../../gcc/../libdecnumber/bid -I../libdecnumber -I../../gcc/../libbacktrace -o c/c-lang.o -MT c/c-lang.o -MMD -MP -MF c/.deps/c-lang.TPo ../../gcc/c/c-lang.c In file included from ../../gcc/c/c-lang.c:22:0: ../../gcc/system.h:221:11: fatal error: algorithm: No such file or directory # include <algorithm> ^~~~~~~~~~~ compilation terminated.
-rw-r--r--strata/build-essential/stage2-libstdc++.morph2
1 files changed, 1 insertions, 1 deletions
diff --git a/strata/build-essential/stage2-libstdc++.morph b/strata/build-essential/stage2-libstdc++.morph
index 7ebd2da..79a4030 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++/7.1.0
build-commands:
- cd o && make