http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54609
Bug #: 54609 Summary: libbacktrace breaks bootstrap using clang Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassig...@gcc.gnu.org ReportedBy: howa...@nitro.med.uc.edu The bootstrap of gcc trunk at r191397 is broken when clang is used as the system compiler on x86_64-apple-darwin12... libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../gcc-4.8-20120917/libbacktrace -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -Werror -I ../../gcc-4.8-20120917/libbacktrace/../include -I ../libgcc -g -MT unknown.lo -MD -MP -MF .deps/unknown.Tpo -c ../../gcc-4.8-20120917/libbacktrace/unknown.c -o unknown.o ../../gcc-4.8-20120917/libbacktrace/unknown.c:45:46: error: parameter name omitted backtrace_error_callback ATTRIBUTE_UNUSED, ^ ../../gcc-4.8-20120917/libbacktrace/unknown.c:56:1: error: conflicting types for 'backtrace_initialize' backtrace_initialize (int descriptor ATTRIBUTE_UNUSED, ^ ../../gcc-4.8-20120917/libbacktrace/internal.h:212:12: note: previous declaration is here extern int backtrace_initialize (struct backtrace_state *state, ^ ../../gcc-4.8-20120917/libbacktrace/unknown.c:61:16: error: incompatible pointer types assigning to 'fileline' (aka 'int (*)(struct backtrace_state *, uintptr_t, backtrace_full_callback, backtrace_error_callback, void *)') from 'int (void *, uintptr_t, backtrace_full_callback, backtrace_error_callback, void *)' [-Werror,-Wincompatible-pointer-types] *fileline_fn = unknown_fileline; ^ ~~~~~~~~~~~~~~~~ 3 errors generated. yes make[4]: *** [unknown.lo] Error 1 make[4]: *** Waiting for unfinished jobs....