It turns out "make bootstrap" work now, but "make install" is still
broken on i386-unknown-freebsd10.0:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. 
-I/scratch2/tmp/gerald/gcc-HEAD/libbacktrace -W -Wall -Wwrite-strings 
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition 
-Wmissing-format-attribute -Wcast-qual -Werror -I 
/scratch2/tmp/gerald/gcc-HEAD/libbacktrace/../include -I ../libgcc -g -O2 -MT 
backtrace.lo -MD -MP -MF .deps/backtrace.Tpo -c 
/scratch2/tmp/gerald/gcc-HEAD/libbacktrace/backtrace.c -o backtrace.o
/scratch2/tmp/gerald/gcc-HEAD/libbacktrace/backtrace.c:35:20: error: unwind.h: 
No such file or directory
/scratch2/tmp/gerald/gcc-HEAD/libbacktrace/backtrace.c:62: error: expected '=', 
',', ';', 'asm' or '__attribute__' before 'unwind'
cc1: warnings being treated as errors
/scratch2/tmp/gerald/gcc-HEAD/libbacktrace/backtrace.c: In function 
'backtrace_full':
/scratch2/tmp/gerald/gcc-HEAD/libbacktrace/backtrace.c:106: warning: implicit 
declaration of function '_Unwind_Backtrace'
/scratch2/tmp/gerald/gcc-HEAD/libbacktrace/backtrace.c:106: error: 'unwind' 
undeclared (first use in this function)
/scratch2/tmp/gerald/gcc-HEAD/libbacktrace/backtrace.c:106: error: (Each 
undeclared identifier is reported only once
/scratch2/tmp/gerald/gcc-HEAD/libbacktrace/backtrace.c:106: error: for each 
function it appears in.)
gmake[2]: *** [backtrace.lo] Error 1
gmake[2]: Leaving directory `/scratch2/tmp/gerald/OBJ-0919-0258/libbacktrace'   
gmake[1]: *** [install-libbacktrace] Error 2
gmake[1]: Leaving directory `/scratch2/tmp/gerald/OBJ-0919-0258'
gmake: *** [install] Error 2

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54623

The line in question reads
  #include "unwind.h"
yet this is nowhere in the source tree, though it's in the build tree
at $BUILD/./gcc/include/unwind.h and 
$BUILD./i386-unknown-freebsd10.0/libgcc/unwind.h .

Gerald

Reply via email to