[M3devel] [M3commit] CVS Update: cm3

Mika Nystrom mika at async.caltech.edu
Mon Jun 15 13:12:39 CEST 2009


Hi Jay,

I've been seeing some new errors attempting to build m3cc on OSX
10.4 / ppc.

It seems like it might... possibly... be related to some things you
have done?  Or at least it's happening in the same general area of
the compiler.

Here we go:

cd ../../gcc/mpfr && :
make[2]: Nothing to be done for `all-am'.
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
cd . && cd libcpp && make CC="gcc" CFLAGS="-O2 -g"  AUTOCONF=: AUTOMAKE=: LEX='touch lex.yy.c' MAKEINFO=: libcpp.a | tee -a /Users/mika/cm3/m3-sys/m3cc/src/../PPC_DARWIN/_m3.log
cd . && cd libcpp && make CC="gcc" CFLAGS="-O2 -g"  AUTOCONF=: AUTOMAKE=: LEX='touch lex.yy.c' MAKEINFO=: libcpp.a | tee -a /Users/mika/cm3/m3-sys/m3cc/src/../PPC_DARWIN/_m3.log
Makefile:191: *** Insufficient number of arguments (2) to function `patsubst'.  Stop.
cd . && cd gcc && make CC="gcc" CFLAGS="-O2 -g"  AUTOCONF=: AUTOMAKE=: LEX='touch lex.yy.c' MAKEINFO=: s-modes insn-config.h m3cg | tee -a /Users/mika/cm3/m3-sys/m3cc/src/../PPC_DARWIN/_m3.log
cd . && cd gcc && make CC="gcc" CFLAGS="-O2 -g"  AUTOCONF=: AUTOMAKE=: LEX='touch lex.yy.c' MAKEINFO=: s-modes insn-config.h m3cg | tee -a /Users/mika/cm3/m3-sys/m3cc/src/../PPC_DARWIN/_m3.log
Makefile:4437: *** Insufficient number of arguments (2) to function `patsubst'.  Stop.
"/Users/mika/cm3/m3-sys/m3cc/src/m3makefile", line 508: quake runtime error: unable to copy "./gcc/m3cgc1" to "./cm3cg": errno=2

--procedure--  -line-  -file---
cp_if              --  <builtin>
postcp            508  /Users/mika/cm3/m3-sys/m3cc/src/m3makefile
include_dir       592  /Users/mika/cm3/m3-sys/m3cc/src/m3makefile
                    4  /Users/mika/cm3/m3-sys/m3cc/PPC_DARWIN/m3make.args

Fatal Error: package build failed
[lapdog:~/cm3/m3-sys/m3cc] mika% 

Any ideas what might be causing this?

    Mika



Jay Krell writes:
>CVSROOT:	/usr/cvs
>Changes by:	jkrell at birch.	09/06/15 11:49:14
>
>Added files:
>	cm3/m3-sys/m3cc/gcc-apple/gcc/: gengtype-lex.c gengtype-yacc.c 
>	                                gengtype-yacc.h 
>
>Log message:
>	Add back the lex/yacc/flex/bison outputs that Apple deleted
>	but didn't note in the REMOVED file. You only see their
>	absence cause problems if building on a machine without
>	lex/yacc/flex/bison, such as birch that is missing bison.
>	Apple didn't modify gengtype-lex.l and gentype-yacc.y,
>	so the unmodified versions of these files taken from gcc 4.2.1.



More information about the M3devel mailing list