Bug 18955

Summary: make buildworld chokes on gperf
Product: Base System Reporter: uurtamo <uurtamo>
Component: i386Assignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.4-RELEASE   
Hardware: Any   
OS: Any   

Description uurtamo 2000-06-01 21:00:01 UTC
(
size/timestamp on new.cc is 
2978 Mar 25 00:44 new.cc
timestamp on c++ is
4712 Dec 19 22:46 /usr/bin/c++
)

new.cc, when compilation is attempted, chokes with the following:

c++ -I/usr/obj/usr/src/i386/usr/include/g++ -O -pipe   -I/usr/obj/usr/src/i386/usr/include -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib -I/usr/src/gnu/usr.bin/gperf -c /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/new.cc
/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/new.cc:80: warning: `catch', `throw', and `try' are all C++ reserved words
/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/new.cc: In function `void operator delete(void *)':
/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/new.cc:82: declaration of `operator delete(void *)' throws different exceptions...
<internal>:82: ...from previous declaration here
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

How-To-Repeat: cvsup src-all
cd /usr/src
make buildworld
Comment 1 nrahlstr freebsd_committer freebsd_triage 2000-06-28 01:35:52 UTC
State Changed
From-To: open->closed

make world on 3.x-stable worked fine for me.  We can re-open 
this PR if you are still seeing this problem.
Comment 2 tkkyj 2000-08-06 00:43:19 UTC
  I have been having the same problem as of today, trying to build on a box 
with "FreeBSD 3.1-RELEASE #3: Thu Apr 27 16:09:26 PDT 2000".

>ls -l /usr/bin/c++
-r-xr-xr-x  3 root  wheel  4720 Feb 15  1999 /usr/bin/c++

>  ls -l /desi1/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/new.cc
-rw-r--r--  1 root  wheel  2978 Mar 24 23:44 
/desi1/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/new.cc


c++ -I/usr/obj/desi1/usr/src/i386/usr/include/g++ -O -pipe   
-I/usr/obj/desi1/usr/src/i386/usr/include 
-I/desi1/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib 
-I/desi1/usr/src/gnu/usr.bin/gperf -c 
/desi1/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/new.cc
/desi1/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/new.cc:80: 
warning: `catch', `throw', and `try' are all C++ reserved words
/desi1/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/new.cc: In 
function `void operator delete(void *)':
/desi1/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/new.cc:82: 
declaration of `operator delete(void *)' throws different exceptions...
<internal>:82: ...from previous declaration here
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.


________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com