[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FreeBSD 5.3-BETA2/alpha successes/failures



On Wed, Sep 01, 2004 at 06:28:45PM +1000, Peter Jeremy wrote:
> >I've installed 5.3-BETA2 from the miniinst CD and it seems to be
> >running nicely.  I've left it doing a buildworld with /usr/{src,obj}
> >mounted via NFS (due to lack of local diskspace).  I don't expect it
> >to finish for a while and will report back if there are problems.
> 
> The buildworld wasn't as successful - trying to buildworld a fresh
> RELENG_5 using
> sh -c 'MAKEOBJDIRPREFIX=/home/obj/asv400 make CPUTYPE=ev45 buildworld'
> consistently dies with:
> ===> gnu/usr.bin/cc/cc1plus
> gperf -o -C -E -k '1-6,$' -j1 -D -N 'libc_name_p' -L ANSI-C  /home/src5/gnu/usr.
> bin/cc/cc1plus/../../../../contrib/gcc/cp/cfns.gperf > cfns.h
> No words in input file, did you forget to prepend %% or use -t accidentally?
> *** Error code 1
> 
> Stop in /home/src5/gnu/usr.bin/cc/cc1plus.
> 
> My only problem is that I can't reproduce this from the command line.
> I've found /usr/bin/gperf,
> /home/obj/asv400/home/src5/alpha/legacy/usr/bin/gperf and
> /home/obj/asv400/home/src5/alpha/home/src5/gnu/usr.bin/gperf/gperf and
> all of them appear to correctly process that input file.  I've gone
> through all the gperf executables visible on the system and they
> either correctly process the input file or don't execute (because they
> need RELENG_4 shared objects or are i386 executables).  I'd appreciate
> suggestions here.
> 
Where in buildworld does this happen, cross-tools stage or "everything"
stage?

Figuring out which "gperf" binary is executed is easy:

%%%
Index: Makefile
===================================================================
RCS file: /home/ncvs/src/gnu/usr.bin/cc/cc1plus/Makefile,v
retrieving revision 1.35
diff -u -r1.35 Makefile
--- Makefile	28 Jul 2004 05:27:19 -0000	1.35
+++ Makefile	1 Sep 2004 08:58:54 -0000
@@ -23,6 +23,7 @@
 #-----------------------------------------------------------------------
 # C++ parser
 cfns.h: cfns.gperf
+	which gperf
 	gperf -o -C -E -k '1-6,$$' -j1 -D -N 'libc_name_p' -L ANSI-C \
 	    ${.ALLSRC} > ${.TARGET}
 
%%%


Cheers,
-- 
Ruslan Ermilov
ru_(_at_)_FreeBSD_(_dot_)_org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-alpha/attachments/20040901/48b42b5c/attachment.bin