Heads up: GCC 3.4
Adam K Kirchhoff
adamk at voicenet.com
Tue Jun 22 02:23:23 PDT 2004
Glenn Johnson <glennpj at xxxxxxxxxxx> wrote:
> On Mon, 2004-06-21 at 09:41, Joerg Sonnenberger wrote:
>> Hi all,
>> due to the hard work of Matt and myself, we now have GCC 3.4 in the tree.
>> You have to do a full buildworld cycle for the update, quickworld does
>> not work. You can use gcc34 for world compilation via environment or
>> "CCVER ?= gcc4" [!] in /etc/make.conf _after_ updating the first time.
>> We would like to get feedback for world and ports issues like normal.
>> The kernel compiliation might hit some issues with the unit-at-a-time
>> and other optimizations, so be careful.
>>
>> GCC 3.3 is going to be removed for the release, so please TEST.
> It is not working for me. Here is the tail end of a build log:
> --------------------------------------------------------------
>>>> stage 2c: build tools
> --------------------------------------------------------------
> cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/btools_i386
> OBJTREE=/usr/obj DESTDIR= INSTALL="sh /usr/src/tools/install.sh" make
> -f Makefile.inc1 -DBOOTSTRAPPING -DNO_FORTRAN build-tools
> echo "===> gnu/usr.bin/cc/cc_tools (build-tools)"; cd
> /usr/src/gnu/usr.bin/cc/cc_tools; make DIRPRFX=gnu/usr.bin/cc/cc_tools/
> obj; make DIRPRFX=gnu/usr.bin/cc/cc_tools/ depend; make
> DIRPRFX=gnu/usr.bin/cc/cc_tools/ all; make
> DIRPRFX=gnu/usr.bin/cc/cc_tools/ DESTDIR=/usr/obj/usr/src/btools_i386
> install
> ===> gnu/usr.bin/cc/cc_tools (build-tools)
> echo "===> gnu/usr.bin/cc3/cc_tools (build-tools)"; cd
> /usr/src/gnu/usr.bin/cc3/cc_tools; make
> DIRPRFX=gnu/usr.bin/cc3/cc_tools/ obj; make
> DIRPRFX=gnu/usr.bin/cc3/cc_tools/ depend; make
> DIRPRFX=gnu/usr.bin/cc3/cc_tools/ all; make
> DIRPRFX=gnu/usr.bin/cc3/cc_tools/ DESTDIR=/usr/obj/usr/src/btools_i386
> install
> ===> gnu/usr.bin/cc3/cc_tools (build-tools)
> echo "===> gnu/usr.bin/cc34/cc_tools (build-tools)"; cd
> /usr/src/gnu/usr.bin/cc34/cc_tools; make
> DIRPRFX=gnu/usr.bin/cc34/cc_tools/ obj; make
> DIRPRFX=gnu/usr.bin/cc34/cc_tools/ depend; make
> DIRPRFX=gnu/usr.bin/cc34/cc_tools/ all; make
> DIRPRFX=gnu/usr.bin/cc34/cc_tools/ DESTDIR=/usr/obj/usr/src/btools_i386
> install
> ===> gnu/usr.bin/cc34/cc_tools (build-tools)
> ===> gnu/usr.bin/cc34/cc_tools/gengenrtl
> ===> gnu/usr.bin/cc34/cc_tools/genmodes
> ===> gnu/usr.bin/cc34/cc_tools/gengtype
> ===> gnu/usr.bin/cc34/cc_tools/genpreds
> ===> gnu/usr.bin/cc34/cc_tools/gencheck
> ===> gnu/usr.bin/cc34/cc_tools/genconstants
> ===> gnu/usr.bin/cc34/cc_tools/genconditions
> ===> gnu/usr.bin/cc34/cc_tools/genflags
> ===> gnu/usr.bin/cc34/cc_tools/gencodes
> ===> gnu/usr.bin/cc34/cc_tools/genattr
> ===> gnu/usr.bin/cc34/cc_tools/genattrtab
> ===> gnu/usr.bin/cc34/cc_tools/genemit
> ===> gnu/usr.bin/cc34/cc_tools/genconfig
> ===> gnu/usr.bin/cc34/cc_tools/genextract
> ===> gnu/usr.bin/cc34/cc_tools/genopinit
> ===> gnu/usr.bin/cc34/cc_tools/genoutput
> ===> gnu/usr.bin/cc34/cc_tools/genpeep
> ===> gnu/usr.bin/cc34/cc_tools/genrecog
> ===> gnu/usr.bin/cc34/cc_tools/gcov-iov
> ===> gnu/usr.bin/cc34/cc_tools/fini
> ===> gnu/usr.bin/cc34/cc_tools/gengenrtl
> rm -f .depend
> mkdep -f .depend -a
> -I/usr/obj/usr/src/btools_i386/usr/src/gnu/usr.bin/cc34/cc_tools/gengenrtl/..//../cc_prep -I/usr/src/gnu/usr.bin/cc34/cc_tools/gengenrtl/..//../cc_prep -I/usr/src/gnu/usr.bin/cc34/cc_tools/gengenrtl/..//../../../../contrib/gcc-3.4/gcc -I/usr/src/gnu/usr.bin/cc34/cc_tools/gengenrtl/..//../../../../contrib/gcc-3.4/gcc/config -I/usr/src/gnu/usr.bin/cc34/cc_tools/gengenrtl/..//../../../../contrib/gcc-3.4/include -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -DPREFIX1=\"/usr\" -DPREFIX2=\"/usr\" -DHA
VE_STDLIB_H
-DHAVE_STRING_H -DGENERATOR_FILE -I. -I/usr/obj/usr/src/btools_i386/usr/src/gnu/usr.bin/cc34/cc_tools/gengenrtl/..//../cc_prep -I/usr/src/gnu/usr.bin/cc34/cc_tools/gengenrtl/..//../cc_prep -I/usr/src/gnu/usr.bin/cc34/cc_tools/gengenrtl/..//../../../../contrib/gcc-3.4/gcc -I/usr/src/gnu/usr.bin/cc34/cc_tools/gengenrtl/..//../../../../contrib/gcc-3.4/gcc/config -I/usr/src/gnu/usr.bin/cc34/cc_tools/gengenrtl/..//../../../../contrib/gcc-3.4/include -DIN_GCC!
> -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -DPREFIX1=\"/usr\"
> -DPREFIX2=\"/usr\" -DHAVE_STDLIB_H -DHAVE_STRING_H -DGENERATOR_FILE -I.
> /usr/src/gnu/usr.bin/cc34/cc_tools/gengenrtl/..//../../../../contrib/gcc-3.4/gcc/gengenrtl.c
> echo gengenrtl.nx: >> .depend
> ===> gnu/usr.bin/cc34/cc_tools/genmodes
> rm -f .depend
> mkdep -f .depend -a
> -I/usr/obj/usr/src/btools_i386/usr/src/gnu/usr.bin/cc34/cc_tools/genmodes/..//../cc_prep -I/usr/src/gnu/usr.bin/cc34/cc_tools/genmodes/..//../cc_prep -I/usr/src/gnu/usr.bin/cc34/cc_tools/genmodes/..//../../../../contrib/gcc-3.4/gcc -I/usr/src/gnu/usr.bin/cc34/cc_tools/genmodes/..//../../../../contrib/gcc-3.4/gcc/config -I/usr/src/gnu/usr.bin/cc34/cc_tools/genmodes/..//../../../../contrib/gcc-3.4/include -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -DPREFIX1=\"/usr\" -DPREFIX2=\"/usr\" -DHAVE_ST
DLIB_H -DHAV
E_STRING_H -DGENERATOR_FILE -I. -I/usr/obj/usr/src/btools_i386/usr/src/gnu/usr.bin/cc34/cc_tools/genmodes/..//../cc_prep -I/usr/src/gnu/usr.bin/cc34/cc_tools/genmodes/..//../cc_prep -I/usr/src/gnu/usr.bin/cc34/cc_tools/genmodes/..//../../../../contrib/gcc-3.4/gcc -I/usr/src/gnu/usr.bin/cc34/cc_tools/genmodes/..//../../../../contrib/gcc-3.4/gcc/config -I/usr/src/gnu/usr.bin/cc34/cc_tools/genmodes/..//../../../../contrib/gcc-3.4/include -DIN_GCC -DHAVE_CO!
> NFIG_H -DPREFIX=\"/usr\" -DPREFIX1=\"/usr\" -DPREFIX2=\"/usr\"
> -DHAVE_STDLIB_H -DHAVE_STRING_H -DGENERATOR_FILE -I.
> /usr/src/gnu/usr.bin/cc34/cc_tools/genmodes/..//../../../../contrib/gcc-3.4/gcc/genmodes.c /usr/src/gnu/usr.bin/cc34/cc_tools/genmodes/..//../../../../contrib/gcc-3.4/gcc/errors.c /usr/src/gnu/usr.bin/cc34/cc_tools/genmodes/..//../../../../contrib/gcc-3.4/libiberty/hashtab.c /usr/src/gnu/usr.bin/cc34/cc_tools/genmodes/..//../../../../contrib/gcc-3.4/libiberty/xexit.c /usr/src/gnu/usr.bin/cc34/cc_tools/genmodes/..//../../../../contrib/gcc-3.4/libiberty/xmalloc.c /usr/src/gnu/usr.bin/cc34/cc_to
ols/genmodes
/..//../../../../contrib/gcc-3.4/libiberty/xstrdup.c
> echo genmodes.nx: >> .depend
> ===> gnu/usr.bin/cc34/cc_tools/gengtype
> CCVER=gcc34 OBJFORMAT_PATH=/ PATH=/usr/bin:/bin:/usr/sbin:/sbin cc -O
> -pipe
> -I/usr/obj/usr/src/btools_i386/usr/src/gnu/usr.bin/cc34/cc_tools/gengtype/..//../cc_prep -I/usr/src/gnu/usr.bin/cc34/cc_tools/gengtype/..//../cc_prep -I/usr/src/gnu/usr.bin/cc34/cc_tools/gengtype/..//../../../../contrib/gcc-3.4/gcc -I/usr/src/gnu/usr.bin/cc34/cc_tools/gengtype/..//../../../../contrib/gcc-3.4/gcc/config -I/usr/src/gnu/usr.bin/cc34/cc_tools/gengtype/..//../../../../contrib/gcc-3.4/include -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -DPREFIX1=\"/usr\" -DPREFIX2=\"/usr\" -DHAVE_ST
DLIB_H -DHAV
E_STRING_H -DGENERATOR_FILE -I. -I/usr/obj/usr/src/btools_i386/usr/src/gnu/usr.bin/cc34/cc_tools/gengtype/..//../cc_prep -I/usr/src/gnu/usr.bin/cc34/cc_tools/gengtype/..//../cc_prep -I/usr/src/gnu/usr.bin/cc34/cc_tools/gengtype/..//../../../../contrib/gcc-3.4/gcc -I/usr/src/gnu/usr.bin/cc34/cc_tools/gengtype/..//../../../../contrib/gcc-3.4/gcc/config -I/usr/src/gnu/usr.bin/cc34/cc_tools/gengtype/..//.!
> ./../../../contrib/gcc-3.4/include -DIN_GCC -DHAVE_CONFIG_H
> -DPREFIX=\"/usr\" -DPREFIX1=\"/usr\" -DPREFIX2=\"/usr\" -DHAVE_STDLIB_H
> -DHAVE_STRING_H -DGENERATOR_FILE -I. -c gengtype-yacc.c -o
> gengtype-yacc.no
> gengtype-yacc.c:281:29: attempt to use poisoned "realloc"
> gengtype-yacc.c:282:16: attempt to use poisoned "malloc"
> gengtype-yacc.c:287:31: attempt to use poisoned "realloc"
> gengtype-yacc.c:288:18: attempt to use poisoned "malloc"
> *** Error code 1
> Stop in /usr/src/gnu/usr.bin/cc34/cc_tools/gengtype.
> *** Error code 1
> Stop in /usr/src/gnu/usr.bin/cc34/cc_tools.
> *** Error code 1
> Stop in /usr/src.
> *** Error code 1
> Stop in /usr/src.
> *** Error code 1
> Stop in /usr/src.
Same for me.
Adam
More information about the Kernel
mailing list