[M3devel] [M3commit] CVS Update: cm3

Jay jay.krell at cornell.edu
Mon Jun 15 13:56:45 CEST 2009


Please try with the change to m3makefile I just made.

That might reduce or eliminate the errors.

The line number didn't match up for me.

 

 - Jay
 


From: jay.krell at cornell.edu
To: mika at async.caltech.edu; jkrell at elego.de
Date: Mon, 15 Jun 2009 11:26:16 +0000
CC: m3devel at elegosoft.com; mika at camembert.async.caltech.edu
Subject: Re: [M3devel] [M3commit] CVS Update: cm3



You need a newer make.
I don't remember upgrading mine, and I am using 10.4, but these are the same errors that Olaf reported on 10.3, and they were fixed by upgrading make for him.
 
If there are really only two relevant uses of patsubst, maybe we can recode them to be more compatible?
 
 - Jay

 
> To: jkrell at elego.de; jay.krell at cornell.edu
> CC: m3devel at elegosoft.com; mika at camembert.async.caltech.edu
> Subject: Re: [M3commit] CVS Update: cm3 
> Date: Mon, 15 Jun 2009 04:12:39 -0700
> From: mika at async.caltech.edu
> 
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20090615/d1bdf9cd/attachment-0002.html>


More information about the M3devel mailing list