Bootstrap broken on darwin / fink

2009-06-01 Thread Tobias Schlüter
Hi, I'm seeing this error: /Users/tobi/src/hggcc/build/./prev-gcc/xgcc -B/Users/tobi/src/hggcc/build/./prev-gcc/ -B/usr/local/i386-apple-darwin8.11.1/bin/ -B/usr/local/i386-apple-darwin8.11.1/bin/ -B/usr/local/i386-apple-darwin8.11.1/lib/ -isystem /usr/local/i386-apple-darwin8.11.1/include

Re: Bootstrap broken on darwin / fink

2009-06-01 Thread Joseph S. Myers
On Mon, 1 Jun 2009, Tobias Schlüter wrote: > The complaint is about: > ICONV_CONST char *inbuf = CONST_CAST (char *, ident); > [...snip...] > iconv_ret = iconv (cd, &inbuf, &inbytesleft, >&outbuf, &outbytesleft); The types are ex

Re: Bootstrap broken on darwin / fink

2009-06-01 Thread Peter O'Gorman
Tobias Schlüter wrote: > cc1: warnings being treated as errors > ../../gcc/pretty-print.c: In function 'identifier_to_locale': > ../../gcc/pretty-print.c:1016: error: passing argument 2 of 'libiconv' > from incompatible pointer type > /sw/include/iconv.h:83: note: expected 'char **' but argument i

Re: Bootstrap broken on darwin / fink

2009-06-01 Thread Tobias Schlüter
Joseph S. Myers wrote: On Mon, 1 Jun 2009, Tobias Schlüter wrote: The complaint is about: ICONV_CONST char *inbuf = CONST_CAST (char *, ident); [...snip...] iconv_ret = iconv (cd, &inbuf, &inbytesleft, &outbuf, &outbytes

Re: Bootstrap broken on darwin / fink

2009-06-01 Thread Jack Howarth
On Mon, Jun 01, 2009 at 12:07:56PM +0200, Tobias Schlüter wrote: > > Hi, > > I'm seeing this error: > > /Users/tobi/src/hggcc/build/./prev-gcc/xgcc > -B/Users/tobi/src/hggcc/build/./prev-gcc/ > -B/usr/local/i386-apple-darwin8.11.1/bin/ > -B/usr/local/i386-apple-darwin8.11.1/bin/ > -B/usr/lo

Re: Bootstrap broken on darwin / fink

2009-06-01 Thread Tobias Schlüter
Hi Jack, Jack Howarth wrote: You didn't show the configure options you used to build gcc trunk against the fink libraries. You need at least... --with-gmp=/sw --with-libiconv-prefix=/sw --with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib Note that we don't set CPP