[M3devel] [M3commit] CVS Update: cm3

Olaf Wagner wagner at elegosoft.com
Wed Jun 17 11:19:04 CEST 2009


Quoting Mika Nystrom <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.

I had these errors, too, some weeks ago. I had to manually install
the latest GNU versions of make, autoconf and automake, IIRC.
These kinds of problems always kreep in by importing new gcc code,
as the GNU developers of course always use all their latest tools,
and Apple is somewhay more conservative with their distributions.

Olaf

> "/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.
>



-- 
Olaf Wagner -- elego Software Solutions GmbH
                Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23 45 86 96  mobile: +49 177 2345 869  fax: +49 30 23 45 86 95
    http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194




More information about the M3devel mailing list