https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117110
Bug ID: 117110 Summary: Bootstrap broken on FreeBSD with build/genmatch Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: kargls at comcast dot net Target Milestone: --- % pwd /usr/home/kargl/gcc/obj % ../gcc/configure --prefix=$HOME/work --enable-languages=c,c++,fortran,lto \ --enable-bootstrap --disable-libssp --disable-multilib % gmake bootstrap |& tee sgk.log gmake[3]: Entering directory '/usr/home/kargl/gcc/obj/gcc' /home/kargl/work/bin/g++ -std=c++11 -no-pie -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-error=narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Wconditionally-supported -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -static-libstdc++ -static-libgcc -o build/genmatch \ build/genmatch.o ../build-x86_64-unknown-freebsd15.0/libcpp/libcpp.a build/vec.o build/hash-table.o build/sort.o libcommon.a ../libbacktrace/.libs/libbacktrace.a ../build-x86_64-unknown-freebsd15.0/libiberty/libiberty.a /usr/local/bin/ld: libcommon.a(diagnostic.o): in function `diagnostic_set_info(diagnostic_info*, char const*, __va_list_tag (*) [1], rich_location*, diagnostic_t)': /home/kargl/gcc/obj/gcc/../../gcc/gcc/diagnostic.cc:515: undefined reference to `libintl_gettext' /usr/local/bin/ld: libcommon.a(diagnostic.o): in function `diagnostic_context::diagnostic_n_impl(rich_location*, diagnostic_metadata const*, diagnostic_option_id, unsigned long, char const*, char const*, __va_list_tag (*) [1], diagnostic_t)': /home/kargl/gcc/obj/gcc/../../gcc/gcc/diagnostic.cc:1450: undefined reference to `libintl_ngettext' /usr/local/bin/ld: libcommon.a(diagnostic-format-text.o): in function `diagnostic_text_output_format::~diagnostic_text_output_format()': /home/kargl/gcc/obj/gcc/../../gcc/gcc/diagnostic-format-text.cc:55: undefined reference to `libintl_gettext' /usr/local/bin/ld: /home/kargl/gcc/obj/gcc/../../gcc/gcc/diagnostic-format-text.cc:60: undefined reference to `libintl_gettext' /usr/local/bin/ld: libcommon.a(diagnostic-format-text.o): in function `diagnostic_text_output_format::build_prefix(diagnostic_info const&) const': /home/kargl/gcc/obj/gcc/../../gcc/gcc/diagnostic-format-text.cc:133: undefined reference to `libintl_gettext' /usr/local/bin/ld: libcommon.a(diagnostic-format-text.o): in function `diagnostic_text_output_format::report_current_module(unsigned int)': /home/kargl/gcc/obj/gcc/../../gcc/gcc/diagnostic-format-text.cc:421: undefined reference to `libintl_gettext' /usr/local/bin/ld: libcommon.a(diagnostic-global-context.o): in function `verbatim(char const*, ...)': /home/kargl/gcc/obj/gcc/../../gcc/gcc/diagnostic-global-context.cc:46: undefined reference to `libintl_gettext' /usr/local/bin/ld: libcommon.a(diagnostic-global-context.o):/home/kargl/gcc/obj/gcc/../../gcc/gcc/diagnostic-global-context.cc:561: more undefined references to `libintl_gettext' follow /usr/local/bin/ld: libcommon.a(pretty-print.o): in function `identifier_to_locale(char const*)': /home/kargl/gcc/obj/gcc/../../gcc/gcc/pretty-print.cc:2853: undefined reference to `libiconv_open' /usr/local/bin/ld: /home/kargl/gcc/obj/gcc/../../gcc/gcc/pretty-print.cc:2873: undefined reference to `libiconv' /usr/local/bin/ld: /home/kargl/gcc/obj/gcc/../../gcc/gcc/pretty-print.cc:2879: undefined reference to `libiconv' /usr/local/bin/ld: /home/kargl/gcc/obj/gcc/../../gcc/gcc/pretty-print.cc:2902: undefined reference to `libiconv' /usr/local/bin/ld: /home/kargl/gcc/obj/gcc/../../gcc/gcc/pretty-print.cc:2920: undefined reference to `libiconv_close' /usr/local/bin/ld: libcommon.a(intl.o): in function `gcc_init_libintl()': /home/kargl/gcc/obj/gcc/../../gcc/gcc/intl.cc:58: undefined reference to `libintl_bindtextdomain' /usr/local/bin/ld: /home/kargl/gcc/obj/gcc/../../gcc/gcc/intl.cc:59: undefined reference to `libintl_textdomain' /usr/local/bin/ld: /home/kargl/gcc/obj/gcc/../../gcc/gcc/intl.cc:62: undefined reference to `libintl_gettext' /usr/local/bin/ld: /home/kargl/gcc/obj/gcc/../../gcc/gcc/intl.cc:65: undefined reference to `libintl_gettext' /usr/local/bin/ld: libcommon.a(input.o): in function `special_fname_builtin()': /home/kargl/gcc/obj/gcc/../../gcc/gcc/input.cc:35: undefined reference to `libintl_gettext' /usr/local/bin/ld: libcommon.a(input.o): in function `selftest::ebcdic_execution_charset::on_diagnostic(cpp_reader*, cpp_diagnostic_level, cpp_warning_reason, rich_location*, char const*, __va_list_tag (*) [1])': /home/kargl/gcc/obj/gcc/../../gcc/gcc/input.cc:2496: undefined reference to `libintl_dgettext' collect2: error: ld returned 1 exit status gmake[3]: *** [Makefile:3204: build/genmatch] Error 1 gmake[3]: Leaving directory '/usr/home/kargl/gcc/obj/gcc' gmake[2]: *** [Makefile:5051: all-stage1-gcc] Error 2 gmake[2]: Leaving directory '/usr/home/kargl/gcc/obj' gmake[1]: *** [Makefile:25277: stage1-bubble] Error 2 gmake[1]: Leaving directory '/usr/home/kargl/gcc/obj' gmake: *** [Makefile:25614: bootstrap] Error 2