Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 May 2002 01:00:27 -0700
From:      "David O'Brien" <obrien@FreeBSD.org>
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   Re: cvs commit: src/gnu/lib/csu Makefile src/gnu/lib/libgcc Makefile src/gnu/lib/libiberty Makefile src/gnu/lib/libobjc Makefile src/gnu/lib/libstdc++ Makefile config.h src/gnu/lib/libsupc++ Makefile src/gnu/usr.bin/cc Makefile Makefile.fe Makefile.inc ...
Message-ID:  <20020511010027.A84223@dragon.nuxi.com>
In-Reply-To: <20020511074411.GA87663@sunbay.com>; from ru@FreeBSD.org on Sat, May 11, 2002 at 10:44:11AM %2B0300
References:  <200205100854.g4A8soc37068@freefall.freebsd.org> <20020510150427.GA14295@sunbay.com> <20020510164153.B1221@dragon.nuxi.com> <20020511074411.GA87663@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 11, 2002 at 10:44:11AM +0300, Ruslan Ermilov wrote:
> On Fri, May 10, 2002 at 04:41:53PM -0700, David O'Brien wrote:
> > On Fri, May 10, 2002 at 06:04:27PM +0300, Ruslan Ermilov wrote:
> > > >   Bmake bits for Gcc 3.1.
> > >   
> > > This also vanished my YACC building fixes and broke world while
> > > attempting to build `cc1plus' in a cross-tools stage.  The changes
> > > below fix this and CLEANFILES.
> > 
> > These changes are wrong.
> >  
> These changes have been verified to produce the same binaries
> (except for cc1plus which is just broken without them), and
> they are equivalent to what was already in -CURRENT before
> your WIP_GCC31 merge commit.

There is NO way you've bootstrapped GCC 3.1 using these patches.
Remember a full bootstrap is a `make world ; make buildworld'.

# cc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.1 20020509 (prerelease)
# cd /usr/src/gnu/usr.bin/cc
# make
===> cc_fbsd
...
===> cc_tools
...
===> cc_int
...
cc -O -pipe -march=k6 -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr\"
-I/usr/obj/usr/src/gnu/usr.bin/for_ru/cc1/../cc_tools
-I/usr/src/gnu/usr.bin/for_ru/cc1/../cc_tools
-I/usr/src/gnu/usr.bin/for_ru/cc1/../../../../contrib/gcc
-I/usr/src/gnu/usr.bin/for_ru/cc1/../../../../contrib/gcc/config -I.
-c c-parse.c
c-parse.c:3047:29: attempt to use poisoned "realloc"
c-parse.c:3048:16: attempt to use poisoned "malloc"
c-parse.c:3053:31: attempt to use poisoned "realloc"
c-parse.c:3054:18: attempt to use poisoned "malloc"
*** Error code 1


I say again, the malloc usage is not in c-parse.in, it is in the parser
driver produced by Byacc.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020511010027.A84223>