Gaius,

I tried to apply your patch and build and got the following error:
--------------------------------------------------------------------------

/home/ed/obj_modula2/./prev-gcc/xg++ -B/home/ed/obj_modula2/./prev-gcc/ -B/home/ed/bin_modula2/x86_64-pc-linux-gnu/bin/ -nostdinc++ -B/home/ed/obj_modula2/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -B/home/ed/obj_modula2/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -I/home/ed/obj_modula2/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/home/ed/obj_modula2/prev-x86_64-pc-linux-gnu/libstdc++-v3/include -I/home/ed/gcc_git/libstdc++-v3/libsupc++ -L/home/ed/obj_modula2/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -L/home/ed/obj_modula2/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -fno-PIE???? -g -O2 -fno-checking -gtoggle -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-error=format-diag?? -fno-common?? -DHAVE_CONFIG_H -I. -Im2 -I../../gcc_git/gcc -I../../gcc_git/gcc/m2 -I../../gcc_git/gcc/../include -I../../gcc_git/gcc/../libcpp/include -I/home/ed/obj_modula2/./gmp -I/home/ed/gcc_git/gmp -I/home/ed/obj_modula2/./mpfr/src -I/home/ed/gcc_git/mpfr/src -I/home/ed/gcc_git/mpc/src?? -I../../gcc_git/gcc/../libdecnumber -I../../gcc_git/gcc/../libdecnumber/bid -I../libdecnumber -I../../gcc_git/gcc/../libbacktrace -I/home/ed/obj_modula2/./isl/include -I/home/ed/gcc_git/isl/include?? \ ???????????????? -DSTANDARD_STARTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"/home/ed/bin_modula2/lib/gcc/\" -DSTANDARD_LIBEXEC_PREFIX=\"/home/ed/bin_modula2/libexec/gcc/\" -DDEFAULT_TARGET_VERSION=\"10.0.0\" -DDEFAULT_REAL_TARGET_MACHINE=\"x86_64-pc-linux-gnu\" -DDEFAULT_TARGET_MACHINE=\"x86_64-pc-linux-gnu\" -DSTANDARD_BINDIR_PREFIX=\"/home/ed/bin_modula2/bin/\" -DTOOLDIR_BASE_PREFIX=\"../../../../\" -DACCEL_DIR_SUFFIX=\"\" -DENABLE_SHARED_LIBGCC -DCONFIGURE_SPECS="\"\"" -DTOOL_INCLUDE_DIR=\"/home/ed/bin_modula2/lib/gcc/x86_64-pc-linux-gnu/10.0.0/../../../../x86_64-pc-linux-gnu/include\" -DNATIVE_SYSTEM_HEADER_DIR=\"/usr/include\" \
-DLIBSUBDIR=\"/home/ed/bin_modula2/lib/gcc/x86_64-pc-linux-gnu/10.0.0\" \
?????????????????????????????? -DPREFIX=\"/home/ed/bin_modula2\" \
?????????????????????????????? -c ../../gcc_git/gcc/m2/gm2spec.c -o 
m2/gm2spec.o)
../../gcc_git/gcc/m2/gm2spec.c: In function ???void add_B_prefix(unsigned int*, cl_decoded_option**)???: ../../gcc_git/gcc/m2/gm2spec.c:275:11: error: ???fe_B_prefix??? was not declared in this scope; did you mean ???add_B_prefix????
?? 275 |???????????????????? fe_B_prefix (xstrdup (path));
?????????? |???????????????????? ^~~~~~~~~~~
?????????? |???????????????????? add_B_prefix
../../gcc_git/gcc/m2/gm2spec.c: In function ???const char* no_link(int, const char**)???: ../../gcc_git/gcc/m2/gm2spec.c:1406:3: error: ???allow_linker??? was not declared in this scope
??1406 |???? allow_linker = FALSE;
?????????? |???? ^~~~~~~~~~~~
../../gcc_git/gcc/m2/gm2spec.c: In function ???void lang_register_spec_functions()???: ../../gcc_git/gcc/m2/gm2spec.c:1416:3: error: ???fe_add_spec_function??? was not declared in this scope; did you mean ???spec_function????
??1416 |???? fe_add_spec_function ("objects", get_objects);
?????????? |???? ^~~~~~~~~~~~~~~~~~~~
?????????? |???? spec_function
../../gcc_git/gcc/m2/Make-lang.in:59: recipe for target 'm2/gm2spec.o' failed
make[3]: *** [m2/gm2spec.o] Error 1
make[3]: Leaving directory '/home/ed/obj_modula2/gcc'
Makefile:4734: recipe for target 'all-stage2-gcc' failed
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory '/home/ed/obj_modula2'
Makefile:26901: recipe for target 'stage2-bubble' failed
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory '/home/ed/obj_modula2'
Makefile:1002: recipe for target 'all' failed
make: *** [all] Error 2

--------------------------------------------------------------------------

Thanks,

Ed Smith-Rowland


Reply via email to