This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: autconf changes, bootstrap broken on FreeBSD


On Sun, Jan 04, 2004 at 12:34:06PM +0100, Gerald Pfeifer wrote:
> I'm afraid there are two issues with yesterday's autoconf changes:
> contrib/gcc_update, and bootstrap failures on FreeBSD.

> And second, bootstrap is now broken on FreeBSD:
> 
>   gmake[2]: Entering directory `/files/pfeifer/OBJ-0104-0339/gcc'
>   stage1/xgcc -Bstage1/ -B/sw/gcc-current/i586-unknown-freebsd4.8/bin/ -c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -Werror -fno-common   -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I/sw/test/gcc/cvs/gcc -I/sw/test/gcc/cvs/gcc/. -I/sw/test/gcc/cvs/gcc/../include -I../intl /sw/test/gcc/cvs/gcc/genmodes.c -o genmodes.o
>   In file included from /sw/test/gcc/cvs/gcc/system.h:318,
>                    from /sw/test/gcc/cvs/gcc/genmodes.c:23:
>   /usr/include/malloc.h:2:2: #warning "this file includes <malloc.h> which is deprecated, use <stdlib.h> instead"
>   gmake[2]: *** [genmodes.o] Error 1
>   gmake[2]: Leaving directory `/files/pfeifer/OBJ-0104-0339/gcc'
>   gmake[1]: *** [stage2_build] Error 2

Nathanael, you'll need to look at:
2003-09-24  Daniel Jacobowitz  <drow@mvista.com>

        * configure.in: Use AC_PROG_CPP_WERROR.
        * configure: Regenerated.

The macro is in config/acx.m4 and in autoconf 2.58.  2.58 also has
AC_LANG_WERROR which may be more appropriate.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]