Port-vax archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: Issues with native build of -10 on VAX
odd. i have to build 5 files in cc1plus with -O1 vs -O2 but
then i can build sancov.c natively. if any of these 5 are
built -O2, the failure occurs.
now testing a full build...
.mrg.
Index: Makefile
===================================================================
RCS file: /cvsroot/src/external/gpl3/gcc/usr.bin/cc1plus/Makefile,v
retrieving revision 1.17.6.1
diff -p -u -r1.17.6.1 Makefile
--- Makefile 8 Oct 2023 14:35:22 -0000 1.17.6.1
+++ Makefile 24 Nov 2023 06:22:59 -0000
@@ -10,6 +10,13 @@ NOMAN= 1
CPPFLAGS+= -I${DIST}/gcc/cp
CPPFLAGS.prefix.c+= -DPREFIX=\"/usr\"
+# Avoid a GCC bug building GCC itself.
+.if ${MACHINE} == "vax"
+.for _a in class.c constraint.cc coroutines.cc call.c constexpr.c
+COPTS.${_a}+= -O1
+.endfor
+.endif
+
.include "../Makefile.backend"
.include "../Makefile.backtrace"
.include "../Makefile.libcpp"
Home |
Main Index |
Thread Index |
Old Index