[M3devel] [M3commit] CVS Update: cm3

Mika Nystrom mika at async.caltech.edu
Mon Jun 15 21:12:56 CEST 2009


I already CVS updated but here is what I see now:

[lapdog:m3-sys/m3cc/PPC_DARWIN] mika% grep patsubst */Makefile
gcc/Makefile:srcdirify = $(patsubst $(srcdir)%,$$(gcc_srcdir)%,$(filter $(srcdir)%,$(1))) \
gcc/Makefile:            $(patsubst %,$$(gcc_objdir)/%,$(filter-out $(srcdir)%,$(1)))
gcc/Makefile:GTFILES_H = $(subst /,-, $(patsubst $(srcdir)/%,gt-%, $(patsubst %.c,%.h, \
gcc/Makefile:GTFILES_LANG_H = $(patsubst [%], gtype-%.h, $(filter [%], $(GTFILES)))
libcpp/Makefile:-include $(patsubst %.o, $(DEPDIR)/%.Po, $(libcpp_a_OBJS) $(makedepend_OBJS))
[lapdog:m3-sys/m3cc/PPC_DARWIN] mika% 

Jay writes:
>--_f3a3f40d-3d61-443a-b5cd-8c10d784957b_
>Content-Type: text/plain; charset="iso-8859-1"
>Content-Transfer-Encoding: quoted-printable
>
>
>Can you show me:
>
>
>  /Users/mika/cm3/m3-sys/m3cc/PPC_DARWIN/libcpp/Makefile(191) =20
>
>  and =20
>
>  /Users/mika/cm3/m3-sys/m3cc/PPC_DARWIN/gcc/Makefile(4437) =20
>
>=20
>
>  and nearby? And if those don't have patsubst: =20
>
>=20
>
>  cd /Users/mika/cm3/m3-sys/m3cc/PPC_DARWIN =20
>
>  grep -r patsubst * =20
>
>=20
>
> - Jay
>=20
>
>
>From: jay.krell at cornell.edu
>To: mika at async.caltech.edu
>Date: Mon=2C 15 Jun 2009 11:59:52 +0000
>CC: m3devel at elegosoft.com=3B mika at camembert.async.caltech.edu
>Subject: Re: [M3devel] [M3commit] CVS Update: cm3
>
>
>
>If that has no positive effect at all=2C try removing this line from m3make=
>file:
>=20
>    % Save some libtool wrapping layers to speed up esp. on NT?
>    Configure =3D Configure & " -disable-dependency-tracking"
>
and be sure to rm -rf the output directory after making the change (or pick=
>ing up my other change).
>=20
> - Jay
>=20
>
>
>From: jay.krell at cornell.edu
>To: mika at async.caltech.edu=3B jkrell at elego.de
>Date: Mon=2C 15 Jun 2009 11:56:45 +0000
>CC: m3devel at elegosoft.com=3B mika at camembert.async.caltech.edu
>Subject: Re: [M3devel] [M3commit] CVS Update: cm3
>
>
>
>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.
>=20
> - Jay
>=20
>
>
>From: jay.krell at cornell.edu
>To: mika at async.caltech.edu=3B jkrell at elego.de
>Date: Mon=2C 15 Jun 2009 11:26:16 +0000
>CC: m3devel at elegosoft.com=3B mika at camembert.async.caltech.edu
>Subject: Re: [M3devel] [M3commit] CVS Update: cm3
>
>
>
>You need a newer make.
>I don't remember upgrading mine=2C and I am using 10.4=2C but these are the=
> same errors that Olaf reported on 10.3=2C and they were fixed by upgrading=
> make for him.
>=20
>If there are really only two relevant uses of patsubst=2C maybe we can reco=
>de them to be more compatible?
>=20
> - Jay
>
>=20
>> To: jkrell at elego.de=3B jay.krell at cornell.edu
>> CC: m3devel at elegosoft.com=3B mika at camembert.async.caltech.edu
>> Subject: Re: [M3commit] CVS Update: cm3=20
>> Date: Mon=2C 15 Jun 2009 04:12:39 -0700
>> From: mika at async.caltech.edu
>>=20
>> Hi Jay=2C
>>=20
>> I've been seeing some new errors attempting to build m3cc on OSX
>> 10.4 / ppc.
>>=20
>> 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.
>>=20
>> Here we go:
>>=20
>> 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=3D"gcc" CFLAGS=3D"-O2 -g" AUTOCONF=3D: AUTOM=
>AKE=3D: LEX=3D'touch lex.yy.c' MAKEINFO=3D: libcpp.a | tee -a /Users/mika/c=
>m3/m3-sys/m3cc/src/../PPC_DARWIN/_m3.log
>> cd . && cd libcpp && make CC=3D"gcc" CFLAGS=3D"-O2 -g" AUTOCONF=3D: AUTOM=
>AKE=3D: LEX=3D'touch lex.yy.c' MAKEINFO=3D: libcpp.a | tee -a /Users/mika/c=
>m3/m3-sys/m3cc/src/../PPC_DARWIN/_m3.log
>> Makefile:191: *** Insufficient number of arguments (2) to function `patsu=
>bst'. Stop.
>> cd . && cd gcc && make CC=3D"gcc" CFLAGS=3D"-O2 -g" AUTOCONF=3D: AUTOMAKE=
>=3D: LEX=3D'touch lex.yy.c' MAKEINFO=3D: s-modes insn-config.h m3cg | tee -=
>a /Users/mika/cm3/m3-sys/m3cc/src/../PPC_DARWIN/_m3.log
>> cd . && cd gcc && make CC=3D"gcc" CFLAGS=3D"-O2 -g" AUTOCONF=3D: AUTOMAKE=
>=3D: LEX=3D'touch lex.yy.c' MAKEINFO=3D: 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 `pats=
>ubst'. Stop.
>> "/Users/mika/cm3/m3-sys/m3cc/src/m3makefile"=2C line 508: quake runtime e=
>rror: unable to copy "./gcc/m3cgc1" to "./cm3cg": errno=3D2
>>=20
>> --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
>>=20
>> Fatal Error: package build failed
>> [lapdog:~/cm3/m3-sys/m3cc] mika%=20
>>=20
>> Any ideas what might be causing this?
>>=20
>> Mika
>>=20
>>=20
>>=20
>> 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=20
>> > gengtype-yacc.h=20
>> >
>> >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=2C such as birch that is missing bison.
>> > Apple didn't modify gengtype-lex.l and gentype-yacc.y=2C
>> > so the unmodified versions of these files taken from gcc 4.2.1.
>
>--_f3a3f40d-3d61-443a-b5cd-8c10d784957b_
>Content-Type: text/html; charset="iso-8859-1"
>Content-Transfer-Encoding: quoted-printable
>
><html>
><head>
><style>
>.hmmessage P
>{
>margin:0px=3B
>padding:0px
>}
>body.hmmessage
>{
>font-size: 10pt=3B
>font-family:Verdana
>}
></style>
></head>
><body class=3D'hmmessage'>
>Can you show me:<BR>
><BR>&nbsp=3B /Users/mika/cm3/m3-sys/m3cc/PPC_DARWIN/libcpp/Makefile(191)&nb=
>sp=3B <BR>
>&nbsp=3B and&nbsp=3B <BR>
>&nbsp=3B /Users/mika/cm3/m3-sys/m3cc/PPC_DARWIN/gcc/Makefile(4437)&nbsp=3B =
><BR>
>&nbsp=3B<BR>
>&nbsp=3B and nearby? And if those don't have patsubst:&nbsp=3B <BR>
>&nbsp=3B<BR>
>&nbsp=3B cd /Users/mika/cm3/m3-sys/m3cc/PPC_DARWIN&nbsp=3B <BR>
>&nbsp=3B grep -r patsubst *&nbsp=3B <BR>
>&nbsp=3B<BR>
>&nbsp=3B- Jay<BR>&nbsp=3B<BR>
><HR id=3DstopSpelling>
>From: jay.krell at cornell.edu<BR>To: mika at async.caltech.edu<BR>Date: Mon=2C 1=
>5 Jun 2009 11:59:52 +0000<BR>CC: m3devel at elegosoft.com=3B mika at camembert.as=
>ync.caltech.edu<BR>Subject: Re: [M3devel] [M3commit] CVS Update: cm3<BR><BR=
>>
><STYLE>
>.ExternalClass .EC_hmmessage P
>{padding:0px=3B}
>.ExternalClass body.EC_hmmessage
>{font-size:10pt=3Bfont-family:Verdana=3B}
></STYLE>
>If that has no positive effect at all=2C try removing this line from m3make=
>file:<BR>&nbsp=3B<BR>&nbsp=3B&nbsp=3B&nbsp=3B % Save some libtool wrapping =
>layers to speed up esp. on NT?<BR>&nbsp=3B&nbsp=3B&nbsp=3B Configure =3D Co=
>nfigure &amp=3B " -disable-dependency-tracking"<BR><BR>and be sure to rm -r=
>f the output directory after making the change (or picking up my other chan=
>ge).<BR>&nbsp=3B<BR>&nbsp=3B- Jay<BR>&nbsp=3B<BR>
><HR id=3DEC_stopSpelling>
>From: jay.krell at cornell.edu<BR>To: mika at async.caltech.edu=3B jkrell at elego.d=
>e<BR>Date: Mon=2C 15 Jun 2009 11:56:45 +0000<BR>CC: m3devel at elegosoft.com=
>=3B mika at camembert.async.caltech.edu<BR>Subject: Re: [M3devel] [M3commit] C=
>VS Update: cm3<BR><BR>
><STYLE>
>.ExternalClass .EC_hmmessage P
>{padding:0px=3B}
>.ExternalClass body.EC_hmmessage
>{font-size:10pt=3Bfont-family:Verdana=3B}
></STYLE>
>Please try with the change to m3makefile I just made.<BR>That might reduce =
>or eliminate&nbsp=3Bthe errors.<BR>The line number didn't match up for me.<=
>BR>&nbsp=3B<BR>&nbsp=3B- Jay<BR>&nbsp=3B<BR>
><HR id=3DEC_EC_stopSpelling>
>From: jay.krell at cornell.edu<BR>To: mika at async.caltech.edu=3B jkrell at elego.d=
>e<BR>Date: Mon=2C 15 Jun 2009 11:26:16 +0000<BR>CC: m3devel at elegosoft.com=
>=3B mika at camembert.async.caltech.edu<BR>Subject: Re: [M3devel] [M3commit] C=
>VS Update: cm3<BR><BR>
><STYLE>
>.ExternalClass .EC_hmmessage P
>{padding:0px=3B}
>.ExternalClass body.EC_hmmessage
>{font-size:10pt=3Bfont-family:Verdana=3B}
></STYLE>
>You need a newer make.<BR>I don't remember upgrading mine=2C and I am using=
> 10.4=2C but these are the same errors that Olaf reported on 10.3=2C and th=
>ey were fixed by upgrading make for him.<BR>&nbsp=3B<BR>If there are really=
> only two relevant uses of patsubst=2C maybe we can recode them to be more =
>compatible?<BR>&nbsp=3B<BR>&nbsp=3B- Jay<BR><BR>&nbsp=3B<BR>&gt=3B To: jkre=
>ll at elego.de=3B jay.krell at cornell.edu<BR>&gt=3B CC: m3devel at elegosoft.com=3B=
> mika at camembert.async.caltech.edu<BR>&gt=3B Subject: Re: [M3commit] CVS Upd=
>ate: cm3 <BR>&gt=3B Date: Mon=2C 15 Jun 2009 04:12:39 -0700<BR>&gt=3B From:=
> mika at async.caltech.edu<BR>&gt=3B <BR>&gt=3B Hi Jay=2C<BR>&gt=3B <BR>&gt=3B=
> I've been seeing some new errors attempting to build m3cc on OSX<BR>&gt=3B=
> 10.4 / ppc.<BR>&gt=3B <BR>&gt=3B It seems like it might... possibly... be =
>related to some things you<BR>&gt=3B have done? Or at least it's happening =
>in the same general area of<BR>&gt=3B the compiler.<BR>&gt=3B <BR>&gt=3B He=
>re we go:<BR>&gt=3B <BR>&gt=3B cd ../../gcc/mpfr &amp=3B&amp=3B :<BR>&gt=3B=
> make[2]: Nothing to be done for `all-am'.<BR>&gt=3B make[2]: Nothing to be=
> done for `all'.<BR>&gt=3B make[2]: Nothing to be done for `all'.<BR>&gt=3B=
> make[1]: Nothing to be done for `all'.<BR>&gt=3B cd . &amp=3B&amp=3B cd li=
>bcpp &amp=3B&amp=3B make CC=3D"gcc" CFLAGS=3D"-O2 -g" AUTOCONF=3D: AUTOMAKE=
>=3D: LEX=3D'touch lex.yy.c' MAKEINFO=3D: libcpp.a | tee -a /Users/mika/cm3/=
>m3-sys/m3cc/src/../PPC_DARWIN/_m3.log<BR>&gt=3B cd . &amp=3B&amp=3B cd libc=
>pp &amp=3B&amp=3B make CC=3D"gcc" CFLAGS=3D"-O2 -g" AUTOCONF=3D: AUTOMAKE=
>=3D: LEX=3D'touch lex.yy.c' MAKEINFO=3D: libcpp.a | tee -a /Users/mika/cm3/=
>m3-sys/m3cc/src/../PPC_DARWIN/_m3.log<BR>&gt=3B Makefile:191: *** Insuffici=
>ent number of arguments (2) to function `patsubst'. Stop.<BR>&gt=3B cd . &a=
>mp=3B&amp=3B cd gcc &amp=3B&amp=3B make CC=3D"gcc" CFLAGS=3D"-O2 -g" AUTOCO=
>NF=3D: AUTOMAKE=3D: LEX=3D'touch lex.yy.c' MAKEINFO=3D: s-modes insn-config=
>.h m3cg | tee -a /Users/mika/cm3/m3-sys/m3cc/src/../PPC_DARWIN/_m3.log<BR>&=
>gt=3B cd . &amp=3B&amp=3B cd gcc &amp=3B&amp=3B make CC=3D"gcc" CFLAGS=3D"-=
>O2 -g" AUTOCONF=3D: AUTOMAKE=3D: LEX=3D'touch lex.yy.c' MAKEINFO=3D: s-mode=
>s insn-config.h m3cg | tee -a /Users/mika/cm3/m3-sys/m3cc/src/../PPC_DARWIN=
>/_m3.log<BR>&gt=3B Makefile:4437: *** Insufficient number of arguments (2) =
>to function `patsubst'. Stop.<BR>&gt=3B "/Users/mika/cm3/m3-sys/m3cc/src/m3=
>makefile"=2C line 508: quake runtime error: unable to copy "./gcc/m3cgc1" t=
>o "./cm3cg": errno=3D2<BR>&gt=3B <BR>&gt=3B --procedure-- -line- -file---<B=
>R>&gt=3B cp_if -- &lt=3Bbuiltin&gt=3B<BR>&gt=3B postcp 508 /Users/mika/cm3/=
>m3-sys/m3cc/src/m3makefile<BR>&gt=3B include_dir 592 /Users/mika/cm3/m3-sys=
>/m3cc/src/m3makefile<BR>&gt=3B 4 /Users/mika/cm3/m3-sys/m3cc/PPC_DARWIN/m3m=
>ake.args<BR>&gt=3B <BR>&gt=3B Fatal Error: package build failed<BR>&gt=3B [=
>lapdog:~/cm3/m3-sys/m3cc] mika% <BR>&gt=3B <BR>&gt=3B Any ideas what might =
>be causing this?<BR>&gt=3B <BR>&gt=3B Mika<BR>&gt=3B <BR>&gt=3B <BR>&gt=3B =
><BR>&gt=3B Jay Krell writes:<BR>&gt=3B &gt=3BCVSROOT: /usr/cvs<BR>&gt=3B &g=
>t=3BChanges by: jkrell at birch. 09/06/15 11:49:14<BR>&gt=3B &gt=3B<BR>&gt=3B =
>&gt=3BAdded files:<BR>&gt=3B &gt=3B cm3/m3-sys/m3cc/gcc-apple/gcc/: gengtyp=
>e-lex.c gengtype-yacc.c <BR>&gt=3B &gt=3B gengtype-yacc.h <BR>&gt=3B &gt=3B=
><BR>&gt=3B &gt=3BLog message:<BR>&gt=3B &gt=3B Add back the lex/yacc/flex/b=
>ison outputs that Apple deleted<BR>&gt=3B &gt=3B but didn't note in the REM=
>OVED file. You only see their<BR>&gt=3B &gt=3B absence cause problems if bu=
>ilding on a machine without<BR>&gt=3B &gt=3B lex/yacc/flex/bison=2C such as=
> birch that is missing bison.<BR>&gt=3B &gt=3B Apple didn't modify gengtype=
>-lex.l and gentype-yacc.y=2C<BR>&gt=3B &gt=3B so the unmodified versions of=
> these files taken from gcc 4.2.1.<BR></body>
></html>=
>
>--_f3a3f40d-3d61-443a-b5cd-8c10d784957b_--



More information about the M3devel mailing list