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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to