Tried to build using bootstrap way as instructed to mean generating compiler of specific CPU but failed CPU is AMD A10-7300 which is, after hard long research, ensured as code name bulldozer and GCC keyword is: bdver1 source is from official ver. 13.1 extracted with its prefix removed here for simplifiication and the objdir name is: build $ ../configure --disable-host-shared --disable-host-pie --disable-shared --with-arch=bdver1 .. .. (no error) $ make BOOT_CFLAGS='-O' bootstrap BOOT_CFLAGS=-flto This's not straight but instead a resume from interrupted/paused build progress: ... ... make[3]: Entering directory '/gcc-13.1.0/build/gcc' g++ -std=c++11 -no-pie -g -DIN_GCC -fPIC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Wconditionally-supported -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc -o cc1 c/c-lang.o c-family/stub-objc.o attribs.o c/c-errors.o c/c-decl.o c/c-typeck.o c/c-convert.o c/c-aux-info.o c/c-objc-common.o c/c-parser.o c/c-fold.o c/gimple-parser.o c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o c-family/c-indentation.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o c-family/c-ubsan.o c-family/known-headers.o c-family/c-attribs.o c-family/c-warn.o c-family/c-spellcheck.o i386-c.o glibc-c.o \ cc1-checksum.o libbackend.a main.o libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -lisl -lmpc -lmpfr -lgmp -rdynamic -L./../zlib -lz -lzstd /usr/bin/ld: c/c-lang.o: in function `gt_clear_caches()': /gcc-13.1.0/build/gcc/./gtype-c.h:171: undefined reference to `gt_clear_caches_gt_emit_rtl_h()' /usr/bin/ld: c/c-lang.o:(.data.rel.ro+0x60): undefined reference to `gt_ggc_r_gt_dwarf2out_h' /usr/bin/ld: c/c-lang.o:(.data.rel.ro+0x88): undefined reference to `gt_ggc_r_gt_emit_rtl_h' /usr/bin/ld: c/c-lang.o:(.data.rel.ro+0x1f0): undefined reference to `gt_ggc_rd_gt_emit_rtl_h' /usr/bin/ld: c/c-lang.o:(.data.rel.ro+0x258): undefined reference to `gt_pch_rs_gt_dwarf2out_h' /usr/bin/ld: c/c-lang.o:(.data.rel.ro+0x268): undefined reference to `gt_pch_rs_gt_emit_rtl_h' /usr/bin/ld: c/c-decl.o: in function `scalar_int_mode::operator machine_mode() const': /gcc-13.1.0/build/gcc/../../gcc/machmode.h:422: undefined reference to `ptr_mode' /usr/bin/ld: c/c-decl.o: in function `gt_ggc_mx_lang_tree_node(void*)': /gcc-13.1.0/build/gcc/./gt-c-c-decl.h:323: undefined reference to `gt_ggc_mx_die_struct(void*)' /usr/bin/ld: /gcc-13.1.0/build/gcc/./gt-c-c-decl.h:347: undefined reference to `gt_ggc_mx_die_struct(void*)' /usr/bin/ld: /gcc-13.1.0/build/gcc/./gt-c-c-decl.h:372: undefined reference to `gt_ggc_mx_die_struct(void*)' /usr/bin/ld: /gcc-13.1.0/build/gcc/./gt-c-c-decl.h:447: undefined reference to `gt_ggc_mx_die_struct(void*)' /usr/bin/ld: c/c-decl.o: in function `gt_pch_nx_lang_tree_node(void*)': /gcc-13.1.0/build/gcc/./gt-c-c-decl.h:981: undefined reference to `gt_pch_nx_die_struct(void*)' /usr/bin/ld: /gcc-13.1.0/build/gcc/./gt-c-c-decl.h:1005: undefined reference to `gt_pch_nx_die_struct(void*)' /usr/bin/ld: /gcc-13.1.0/build/gcc/./gt-c-c-decl.h:1030: undefined reference to `gt_pch_nx_die_struct(void*)' /usr/bin/ld: /gcc-13.1.0/build/gcc/./gt-c-c-decl.h:1105: undefined reference to `gt_pch_nx_die_struct(void*)' /usr/bin/ld: c/gimple-parser.o: in function `frange_val_min(tree_node const*)': /gcc-13.1.0/build/gcc/../../gcc/value-range.h:1267: undefined reference to `dconstninf' /usr/bin/ld: c/gimple-parser.o: in function `frange_val_max(tree_node const*)': /gcc-13.1.0/build/gcc/../../gcc/value-range.h:1278: undefined reference to `dconstinf' /usr/bin/ld: c-family/c-common.o: in function `c_common_truthvalue_conversion(unsigned int, tree_node*)': /gcc-13.1.0/build/gcc/../../gcc/c-family/c-common.cc:3521: undefined reference to `dconst0' /usr/bin/ld: /gcc-13.1.0/build/gcc/../../gcc/c-family/c-common.cc:3527: undefined reference to `fconst0' ... ... (so many more) ... Anyone please kind enough to sincerely help give useful clarification?