Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 May 2002 12:30:29 -0400
From:      "Callum M. Duncan" <callum@bebox.net>
To:        Kent Stewart <kstewart@owt.com>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: gperf broken - breaks buildworld
Message-ID:  <20020522123028.B48452@bebox.net>
In-Reply-To: <3CEBC5EA.7070009@owt.com>; from kstewart@owt.com on Wed, May 22, 2002 at 09:23:06AM -0700
References:  <20020522120934.A48452@bebox.net> <3CEBC5EA.7070009@owt.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Kent,

I do not have anything specified for CFLAGS in /etc/make.conf
therefore it should use the defaults/make.conf entry right?

#CFLAGS= -O -pipe

Hmmm...

I will see if I can try a build on another box I run.
cheers,
Callum



On Wed, May 22, 2002 at 09:23:06AM -0700, Kent Stewart wrote:
> 
> 
> Callum M. Duncan wrote:
> 
> > buildworld fails when it attempts to build gperf
> > 
> > I tested with and without -j4 - it makes no difference.
> > 
> > I further cd'd to
> > 
> > /usr/src/contrib/gperf
> > 
> > and did a ./configure && make
> > 
> > and it breaks with:
> > 
> > (...)
> > creating Makefile
> > cd lib; make all
> > gcc -g -O2 -I. -c ./getopt.c
> > gcc -g -O2 -I. -c ./getopt1.c
> > c++ -g -O2 -I. -c ./hash.cc
> > rm -f libgp.a
> > ar rc libgp.a getopt.o getopt1.o hash.o
> > ranlib libgp.a
> > cd src; make all
> > c++ -g -O2 -I. -I./../lib -c ./new.cc
> > c++ -g -O2 -I. -I./../lib -c ./options.cc
> > c++ -g -O2 -I. -I./../lib -c ./iterator.cc
> > c++ -g -O2 -I. -I./../lib -c ./main.cc
> > In file included from key-list.h:34,
> >                  from gen-perf.h:28,
> >                  from ./main.cc:40:
> > read-line.h:40: syntax error at end of saved text
> > *** Error code 1
> > 
> > Stop in /usr/src/contrib/gperf/src.
> > *** Error code 1
> > 
> > Stop in /usr/src/contrib/gperf.
> > 
> > 
> > I cvsup'd just now from cvsup.freebsd.org to ensure I had latest
> > source (RELENG_4) and I also obliterated gperf before doing so just
> > in case for some reason those sources were not being updated.  It
> > downloaded a whole new gperf straight off the server.
> > 
> > So I think I can safely say that something is borked with gperf.
> 
> 
> That or your -O2, which I have always been told to not use. What do 
> you have for compile FLAGS in your /etc/make.conf.
> 
> Kent
> 
> 
> > 
> > 
> > Regards,
> > Callum
> > 
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-stable" in the body of the message
> > 
> > .
> > 
> > 
> 
> 
> -- 
> Kent Stewart
> Richland, WA
> 
> http://users.owt.com/kstewart/index.html
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message

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




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