hello. I'm trying to build release using -current sources on an older -current system NetBSD-9.99.77 and I'm getting the following error with any sources after the gcc12 import. Is this expected behavior and, if it is, what is the work around? -thanks -Brian
I'm building with command: ./build.sh -D /var/tmp/netbsd-current-64 -O /usr/local/netbsd/obj-current-64 -j 4 release The errors are: c++ -O -std=c++11 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -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 -DGENERATOR_FILE -static-libstdc++ -static-libgcc -o build/gengtype \ build/gengtype.o build/errors.o build/gengtype-lex.o build/gengtype-parse.o build/gengtype-state.o ../build-x86_64-unknown-netbsd9.99/libiberty/libiberty.a ld: build/gengtype.o: in function `main': gengtype.cc:(.text+0x7012): undefined reference to `version_string' ld: gengtype.cc:(.text+0x7017): undefined reference to `pkgversion_string' ld: gengtype.cc:(.text+0x7032): undefined reference to `bug_report_url' ld: build/gengtype-state.o: in function `write_state(char const*)': gengtype-state.cc:(.text+0x3812): undefined reference to `version_string' ld: build/gengtype-state.o: in function `read_state(char const*)': gengtype-state.cc:(.text+0x3b00): undefined reference to `version_string' ld: gengtype-state.cc:(.text+0x3e9b): undefined reference to `version_string' nbgmake[1]: *** [build/gengtype] Error 1