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

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


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




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