https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77819
Bug ID: 77819 Summary: undefined reference to gnu_libc_printf_pointer_format with uClibc Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Target Milestone: --- As reported in https://gcc.gnu.org/ml/gcc-patches/2016-09/msg01883.html: with the currently committed version, the tic6x-uclinux target fails, see ie. http://toolchain.lug-owl.de/buildbot/show_build_details.php?id=630308 : g++ -g -O2 -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 -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-array-notation.o c/c-fold.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-cilkplus.o c-family/array-notation-common.o c-family/cilk.o c-family/c-ubsan.o default-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 -lmpc -lmpfr -lgmp -rdynamic -ldl -L./../zlib -lz c6x.o:(.data+0x778): undefined reference to `gnu_libc_printf_pointer_format(tree_node*, char const**)' collect2: error: ld returned 1 exit status /home/jbglaw/repos/gcc/gcc/c/Make-lang.in:84: recipe for target 'cc1' failed make[1]: *** [cc1] Error 1 make[1]: Leaving directory '/home/jbglaw/build/tic6x-uclinux/build-gcc/gcc' Makefile:4252: recipe for target 'all-gcc' failed make: *** [all-gcc] Error 2 Add another one for uClibc?