[Bug bootstrap/54609] libbacktrace breaks bootstrap on darwin

2012-09-17 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54609

Jack Howarth howarth at nitro dot med.uc.edu changed:

   What|Removed |Added

Summary|libbacktrace breaks |libbacktrace breaks
   |bootstrap using clang   |bootstrap on darwin

--- Comment #1 from Jack Howarth howarth at nitro dot med.uc.edu 2012-09-17 
17:08:41 UTC ---
This bootstrap failure also occurs when FSF gcc 4.7.2 svn is used...

libtool: compile:  gcc-fsf-4.7 -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: In function 'unknown_fileline':
../../gcc-4.8-20120917/libbacktrace/unknown.c:45:5: error: parameter name
omitted
../../gcc-4.8-20120917/libbacktrace/unknown.c: At top level:
../../gcc-4.8-20120917/libbacktrace/unknown.c:56:1: error: conflicting types
for 'backtrace_initialize'
In file included from ../../gcc-4.8-20120917/libbacktrace/unknown.c:38:0:
../../gcc-4.8-20120917/libbacktrace/internal.h:212:12: note: previous
declaration of 'backtrace_initialize' was here
../../gcc-4.8-20120917/libbacktrace/unknown.c: In function
'backtrace_initialize':
../../gcc-4.8-20120917/libbacktrace/unknown.c:61:16: error: assignment from
incompatible pointer type [-Werror]
cc1: all warnings being treated as errors
checking for sigsetmask... config.status: creating Makefile
make[4]: *** [unknown.lo] Error 1
make[4]: *** Waiting for unfinished jobs

so it appears to be general to darwin.


[Bug bootstrap/54609] libbacktrace breaks bootstrap on darwin

2012-09-17 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54609

--- Comment #2 from Jack Howarth howarth at nitro dot med.uc.edu 2012-09-17 
17:19:35 UTC ---
 ../gcc-4.8-20120917/configure --prefix=/sw --prefix=/sw/lib/gcc4.8
--mandir=/sw/share/man --infodir=/sw/lib/gcc4.8/info
--enable-languages=c,c++,fortran,lto,objc,obj-c++,java --with-gmp=/sw
--with-libiconv-prefix=/sw --with-isl=/sw --with-cloog=/sw --with-mpc=/sw
--with-system-zlib --enable-checking=yes --x-includes=/usr/X11R6/include
--x-libraries=/usr/X11R6/lib --program-suffix=-fsf-4.8


[Bug bootstrap/54609] libbacktrace breaks bootstrap on darwin

2012-09-17 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54609

--- Comment #3 from Jack Howarth howarth at nitro dot med.uc.edu 2012-09-17 
17:31:40 UTC ---
Created attachment 28204
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=28204
preprocessed source for libbacktrace/unknown.c on x86_64-apple-darwin12

Generated with...

gcc-fsf-4.7 -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 --save-temps


[Bug bootstrap/54609] libbacktrace breaks bootstrap on darwin

2012-09-17 Thread ian at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54609

--- Comment #4 from ian at gcc dot gnu.org ian at gcc dot gnu.org 2012-09-17 
17:43:32 UTC ---
Author: ian
Date: Mon Sep 17 17:43:26 2012
New Revision: 191402

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=191402
Log:
PR bootstrap/54609
* unknown.c (unknown_fileline): Add state parameter, remove
fileline_data parameter, name error_callback parameter.
(backtrace_initialize): Add state parameter.

Modified:
trunk/libbacktrace/ChangeLog
trunk/libbacktrace/unknown.c


[Bug bootstrap/54609] libbacktrace breaks bootstrap on darwin

2012-09-17 Thread ian at airs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54609

Ian Lance Taylor ian at airs dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||ian at airs dot com
 Resolution||FIXED

--- Comment #5 from Ian Lance Taylor ian at airs dot com 2012-09-17 17:45:24 
UTC ---
Should be fixed now.  Sorry about that.