[M3devel] Internal compiler errors after upgrade on PPC_DARWIN
Olaf Wagner
wagner at elegosoft.com
Mon Apr 13 13:07:20 CEST 2009
Quoting Jay <jay.krell at cornell.edu>:
>
>> I got syntax errors with
>> some pattern substitution in a Makefile, and the build stopped.
>
> make vs. gmake?
Maybe (log attached). But shouldn't configure be able to figure this
out by itself? GNU make is /usr/bin/gnumake on this system (Fink
packages).
Olaf
> - Jay
>
>
>
> ----------------------------------------
>> Date: Mon, 13 Apr 2009 12:51:48 +0200
>> From: wagner at elegosoft.com
>> To: jay.krell at cornell.edu
>> CC: m3devel at elegosoft.com
>> Subject: RE: [M3devel] Internal compiler errors after upgrade on PPC_DARWIN
>>
>> Quoting Jay :
>>
>>>
>>> My machine calls itself:
>>>
>>> jbook15:~ jay$ uname -a
>>> Darwin jbook15.local 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10
>>> 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh
>>> powerpc
>>>
>>> That is 10.4.something. It works ok. cm3cg built as recently as 4/10..
>>
>> So it seems OK for newer MacOS X releases. I worked around it here by
>> continuning to use an older backend, which seems OK for now.
>> Doing a realclean and a complete rebuild, I got syntax errors with
>> some pattern substitution in a Makefile, and the build stopped.
>>
>> I'll try a newer backend compiled on another machine, too.
>>
>> Olaf
>>
>>> - Jay
>>>
>>>
>>> ________________________________
>>>> From: jay
>>>> To: wagner; m3devel
>>>> Subject: RE: [M3devel] Internal compiler errors after upgrade on
>>>> PPC_DARWIN
>>>> Date: Sat, 11 Apr 2009 12:03:39 +0000>
>>>>
>>>> I do test on 10.4 fairly often...
>>>
>>>> It sounds like 7.9.0 is 10.3?
>>>>
>>>>
>>>> - Jay
>>>>
>>>>> Date: Sat, 11 Apr 2009 10:55:12 +0200
>>>>> From: wagner@
>>>>> To: m3devel@
>>>>> Subject: [M3devel] Internal compiler errors after upgrade on PPC_DARWIN
>>>>>
>>>>> After trying to upgrade cm3 on my notebook to the latest version,
>>>>> I get lots of internal compiler errors.This is on
>>>>>
>>>>> % uname -a
>>>>> Darwin apple.local 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30
>>>>> 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power
>>>>> Macintosh powerpc
>>>>>
>>>>> ...
>>
>>
>>
>> --
>> 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
>>
--
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
-------------- next part --------------
--- building in PPC_DARWIN ---
ignoring ../src/m3overrides
cd . && make CC="gcc" CFLAGS="-O2 -g" AUTOCONF=: AUTOMAKE=: LEX='touch lex.yy.c' MAKEINFO=: configure-host | tee -a _m3.log
cd . && make CC="gcc" CFLAGS="-O2 -g" AUTOCONF=: AUTOMAKE=: LEX='touch lex.yy.c' MAKEINFO=: configure-host | tee -a _m3.log
make all-recursive
Making all in tests
Making all in .
make[4]: Nothing to be done for `all-am'.
Making all in devel
make[4]: Nothing to be done for `all'.
Making all in mpn
make[4]: Nothing to be done for `all'.
Making all in mpz
make[4]: Nothing to be done for `all'.
Making all in mpq
make[4]: Nothing to be done for `all'.
Making all in mpf
make[4]: Nothing to be done for `all'.
Making all in rand
make[4]: Nothing to be done for `all'.
Making all in misc
make[4]: Nothing to be done for `all'.
Making all in cxx
make[4]: Nothing to be done for `all'.
Making all in mpbsd
make[4]: Nothing to be done for `all'.
Making all in mpn
make[3]: Nothing to be done for `all'.
Making all in mpz
make[3]: Nothing to be done for `all'.
Making all in mpq
make[3]: Nothing to be done for `all'.
Making all in mpf
make[3]: Nothing to be done for `all'.
Making all in printf
make[3]: Nothing to be done for `all'.
Making all in scanf
make[3]: Nothing to be done for `all'.
Making all in cxx
make[3]: Nothing to be done for `all'.
Making all in mpbsd
make[3]: Nothing to be done for `all'.
Making all in demos
Making all in calc
make all-am
make[5]: Nothing to be done for `all-am'.
Making all in expr
make[4]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all-am'.
Making all in tune
make[3]: Nothing to be done for `all'.
Making all in doc
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
sed -e 's/^LIBICONV =.+$/LIBICONV =/' < ./gcc/Makefile > ./gcc/Makefile.1
sed -e 's/^LIBICONV =.+$/LIBICONV =/' < ./gcc/Makefile > ./gcc/Makefile.1
../gcc/move-if-change ./gcc/Makefile.1 ./gcc/Makefile
../gcc/move-if-change ./gcc/Makefile.1 ./gcc/Makefile
sed -e 's/^LIBICONV_DEP =.+$/LIBICONV_DEP =/' < ./gcc/Makefile > ./gcc/Makefile.1
sed -e 's/^LIBICONV_DEP =.+$/LIBICONV_DEP =/' < ./gcc/Makefile > ./gcc/Makefile.1
../gcc/move-if-change ./gcc/Makefile.1 ./gcc/Makefile
../gcc/move-if-change ./gcc/Makefile.1 ./gcc/Makefile
sed -e 's/^#define HAVE_ICONV 1$//' < ./gcc/Makefile > ./gcc/Makefile.1
sed -e 's/^#define HAVE_ICONV 1$//' < ./gcc/Makefile > ./gcc/Makefile.1
../gcc/move-if-change ./gcc/Makefile.1 ./gcc/Makefile
../gcc/move-if-change ./gcc/Makefile.1 ./gcc/Makefile
sed -e 's/^#define HAVE_ICONV_H 1$//' < ./gcc/Makefile > ./gcc/Makefile.1
sed -e 's/^#define HAVE_ICONV_H 1$//' < ./gcc/Makefile > ./gcc/Makefile.1
../gcc/move-if-change ./gcc/Makefile.1 ./gcc/Makefile
../gcc/move-if-change ./gcc/Makefile.1 ./gcc/Makefile
sed -e 's/^LIBICONV =.+$/LIBICONV =/' < ./gcc/auto-host.h > ./gcc/auto-host.h.1
sed -e 's/^LIBICONV =.+$/LIBICONV =/' < ./gcc/auto-host.h > ./gcc/auto-host.h.1
../gcc/move-if-change ./gcc/auto-host.h.1 ./gcc/auto-host.h
../gcc/move-if-change ./gcc/auto-host.h.1 ./gcc/auto-host.h
sed -e 's/^LIBICONV_DEP =.+$/LIBICONV_DEP =/' < ./gcc/auto-host.h > ./gcc/auto-host.h.1
sed -e 's/^LIBICONV_DEP =.+$/LIBICONV_DEP =/' < ./gcc/auto-host.h > ./gcc/auto-host.h.1
../gcc/move-if-change ./gcc/auto-host.h.1 ./gcc/auto-host.h
../gcc/move-if-change ./gcc/auto-host.h.1 ./gcc/auto-host.h
sed -e 's/^#define HAVE_ICONV 1$//' < ./gcc/auto-host.h > ./gcc/auto-host.h.1
sed -e 's/^#define HAVE_ICONV 1$//' < ./gcc/auto-host.h > ./gcc/auto-host.h.1
../gcc/move-if-change ./gcc/auto-host.h.1 ./gcc/auto-host.h
../gcc/move-if-change ./gcc/auto-host.h.1 ./gcc/auto-host.h
sed -e 's/^#define HAVE_ICONV_H 1$//' < ./gcc/auto-host.h > ./gcc/auto-host.h.1
sed -e 's/^#define HAVE_ICONV_H 1$//' < ./gcc/auto-host.h > ./gcc/auto-host.h.1
../gcc/move-if-change ./gcc/auto-host.h.1 ./gcc/auto-host.h
../gcc/move-if-change ./gcc/auto-host.h.1 ./gcc/auto-host.h
sed -e 's/^LIBICONV =.+$/LIBICONV =/' < ./libcpp/Makefile > ./libcpp/Makefile.1
sed -e 's/^LIBICONV =.+$/LIBICONV =/' < ./libcpp/Makefile > ./libcpp/Makefile.1
../gcc/move-if-change ./libcpp/Makefile.1 ./libcpp/Makefile
../gcc/move-if-change ./libcpp/Makefile.1 ./libcpp/Makefile
sed -e 's/^LIBICONV_DEP =.+$/LIBICONV_DEP =/' < ./libcpp/Makefile > ./libcpp/Makefile.1
sed -e 's/^LIBICONV_DEP =.+$/LIBICONV_DEP =/' < ./libcpp/Makefile > ./libcpp/Makefile.1
../gcc/move-if-change ./libcpp/Makefile.1 ./libcpp/Makefile
../gcc/move-if-change ./libcpp/Makefile.1 ./libcpp/Makefile
sed -e 's/^#define HAVE_ICONV 1$//' < ./libcpp/Makefile > ./libcpp/Makefile.1
sed -e 's/^#define HAVE_ICONV 1$//' < ./libcpp/Makefile > ./libcpp/Makefile.1
../gcc/move-if-change ./libcpp/Makefile.1 ./libcpp/Makefile
../gcc/move-if-change ./libcpp/Makefile.1 ./libcpp/Makefile
sed -e 's/^#define HAVE_ICONV_H 1$//' < ./libcpp/Makefile > ./libcpp/Makefile.1
sed -e 's/^#define HAVE_ICONV_H 1$//' < ./libcpp/Makefile > ./libcpp/Makefile.1
../gcc/move-if-change ./libcpp/Makefile.1 ./libcpp/Makefile
../gcc/move-if-change ./libcpp/Makefile.1 ./libcpp/Makefile
sed -e 's/^LIBICONV =.+$/LIBICONV =/' < ./libcpp/config.h > ./libcpp/config.h.1
sed -e 's/^LIBICONV =.+$/LIBICONV =/' < ./libcpp/config.h > ./libcpp/config.h.1
../gcc/move-if-change ./libcpp/config.h.1 ./libcpp/config.h
../gcc/move-if-change ./libcpp/config.h.1 ./libcpp/config.h
sed -e 's/^LIBICONV_DEP =.+$/LIBICONV_DEP =/' < ./libcpp/config.h > ./libcpp/config.h.1
sed -e 's/^LIBICONV_DEP =.+$/LIBICONV_DEP =/' < ./libcpp/config.h > ./libcpp/config.h.1
../gcc/move-if-change ./libcpp/config.h.1 ./libcpp/config.h
../gcc/move-if-change ./libcpp/config.h.1 ./libcpp/config.h
sed -e 's/^#define HAVE_ICONV 1$//' < ./libcpp/config.h > ./libcpp/config.h.1
sed -e 's/^#define HAVE_ICONV 1$//' < ./libcpp/config.h > ./libcpp/config.h.1
../gcc/move-if-change ./libcpp/config.h.1 ./libcpp/config.h
../gcc/move-if-change ./libcpp/config.h.1 ./libcpp/config.h
sed -e 's/^#define HAVE_ICONV_H 1$//' < ./libcpp/config.h > ./libcpp/config.h.1
sed -e 's/^#define HAVE_ICONV_H 1$//' < ./libcpp/config.h > ./libcpp/config.h.1
../gcc/move-if-change ./libcpp/config.h.1 ./libcpp/config.h
../gcc/move-if-change ./libcpp/config.h.1 ./libcpp/config.h
sed -e 's/^LIBICONV =.+$/LIBICONV =/' < ./mpfr/Makefile > ./mpfr/Makefile.1
sed -e 's/^LIBICONV =.+$/LIBICONV =/' < ./mpfr/Makefile > ./mpfr/Makefile.1
../gcc/move-if-change ./mpfr/Makefile.1 ./mpfr/Makefile
../gcc/move-if-change ./mpfr/Makefile.1 ./mpfr/Makefile
sed -e 's/^LIBICONV_DEP =.+$/LIBICONV_DEP =/' < ./mpfr/Makefile > ./mpfr/Makefile.1
sed -e 's/^LIBICONV_DEP =.+$/LIBICONV_DEP =/' < ./mpfr/Makefile > ./mpfr/Makefile.1
../gcc/move-if-change ./mpfr/Makefile.1 ./mpfr/Makefile
../gcc/move-if-change ./mpfr/Makefile.1 ./mpfr/Makefile
sed -e 's/^#define HAVE_ICONV 1$//' < ./mpfr/Makefile > ./mpfr/Makefile.1
sed -e 's/^#define HAVE_ICONV 1$//' < ./mpfr/Makefile > ./mpfr/Makefile.1
../gcc/move-if-change ./mpfr/Makefile.1 ./mpfr/Makefile
../gcc/move-if-change ./mpfr/Makefile.1 ./mpfr/Makefile
sed -e 's/^#define HAVE_ICONV_H 1$//' < ./mpfr/Makefile > ./mpfr/Makefile.1
sed -e 's/^#define HAVE_ICONV_H 1$//' < ./mpfr/Makefile > ./mpfr/Makefile.1
../gcc/move-if-change ./mpfr/Makefile.1 ./mpfr/Makefile
../gcc/move-if-change ./mpfr/Makefile.1 ./mpfr/Makefile
sed -e 's/^LIBICONV =.+$/LIBICONV =/' < ./mpfr/tests/Makefile > ./mpfr/tests/Makefile.1
sed -e 's/^LIBICONV =.+$/LIBICONV =/' < ./mpfr/tests/Makefile > ./mpfr/tests/Makefile.1
../gcc/move-if-change ./mpfr/tests/Makefile.1 ./mpfr/tests/Makefile
../gcc/move-if-change ./mpfr/tests/Makefile.1 ./mpfr/tests/Makefile
sed -e 's/^LIBICONV_DEP =.+$/LIBICONV_DEP =/' < ./mpfr/tests/Makefile > ./mpfr/tests/Makefile.1
sed -e 's/^LIBICONV_DEP =.+$/LIBICONV_DEP =/' < ./mpfr/tests/Makefile > ./mpfr/tests/Makefile.1
../gcc/move-if-change ./mpfr/tests/Makefile.1 ./mpfr/tests/Makefile
../gcc/move-if-change ./mpfr/tests/Makefile.1 ./mpfr/tests/Makefile
sed -e 's/^#define HAVE_ICONV 1$//' < ./mpfr/tests/Makefile > ./mpfr/tests/Makefile.1
sed -e 's/^#define HAVE_ICONV 1$//' < ./mpfr/tests/Makefile > ./mpfr/tests/Makefile.1
../gcc/move-if-change ./mpfr/tests/Makefile.1 ./mpfr/tests/Makefile
../gcc/move-if-change ./mpfr/tests/Makefile.1 ./mpfr/tests/Makefile
sed -e 's/^#define HAVE_ICONV_H 1$//' < ./mpfr/tests/Makefile > ./mpfr/tests/Makefile.1
sed -e 's/^#define HAVE_ICONV_H 1$//' < ./mpfr/tests/Makefile > ./mpfr/tests/Makefile.1
../gcc/move-if-change ./mpfr/tests/Makefile.1 ./mpfr/tests/Makefile
../gcc/move-if-change ./mpfr/tests/Makefile.1 ./mpfr/tests/Makefile
cd . && make CC="gcc" CFLAGS="-O2 -g" AUTOCONF=: AUTOMAKE=: LEX='touch lex.yy.c' MAKEINFO=: all-gmp all-mpfr all-build-libiberty all-libiberty all-libdecnumber | tee -a _m3.log
cd . && make CC="gcc" CFLAGS="-O2 -g" AUTOCONF=: AUTOMAKE=: LEX='touch lex.yy.c' MAKEINFO=: all-gmp all-mpfr all-build-libiberty all-libiberty all-libdecnumber | tee -a _m3.log
make all-recursive
Making all in tests
Making all in .
make[4]: Nothing to be done for `all-am'.
Making all in devel
make[4]: Nothing to be done for `all'.
Making all in mpn
make[4]: Nothing to be done for `all'.
Making all in mpz
make[4]: Nothing to be done for `all'.
Making all in mpq
make[4]: Nothing to be done for `all'.
Making all in mpf
make[4]: Nothing to be done for `all'.
Making all in rand
make[4]: Nothing to be done for `all'.
Making all in misc
make[4]: Nothing to be done for `all'.
Making all in cxx
make[4]: Nothing to be done for `all'.
Making all in mpbsd
make[4]: Nothing to be done for `all'.
Making all in mpn
make[3]: Nothing to be done for `all'.
Making all in mpz
make[3]: Nothing to be done for `all'.
Making all in mpq
make[3]: Nothing to be done for `all'.
Making all in mpf
make[3]: Nothing to be done for `all'.
Making all in printf
make[3]: Nothing to be done for `all'.
Making all in scanf
make[3]: Nothing to be done for `all'.
Making all in cxx
make[3]: Nothing to be done for `all'.
Making all in mpbsd
make[3]: Nothing to be done for `all'.
Making all in demos
Making all in calc
make all-am
make[5]: Nothing to be done for `all-am'.
Making all in expr
make[4]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all-am'.
Making all in tune
make[3]: Nothing to be done for `all'.
Making all in doc
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in tests
make[2]: Nothing to be done for `all'.
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 _m3.log
cd . && cd libcpp && make CC="gcc" CFLAGS="-O2 -g" AUTOCONF=: AUTOMAKE=: LEX='touch lex.yy.c' MAKEINFO=: libcpp.a | tee -a _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 _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 _m3.log
Makefile:4437: *** Insufficient number of arguments (2) to function `patsubst'. Stop.
"/Users/wagner/work/cm3/m3-sys/m3cc/src/m3makefile", line 463: quake runtime error: unable to copy "./gcc/m3cgc1" to "./cm3cg": errno=2
--procedure-- -line- -file---
cp_if -- <builtin>
postcp 463 /Users/wagner/work/cm3/m3-sys/m3cc/src/m3makefile
include_dir 529 /Users/wagner/work/cm3/m3-sys/m3cc/src/m3makefile
4 /Users/wagner/work/cm3/m3-sys/m3cc/PPC_DARWIN/m3make.args
Fatal Error: package build failed
More information about the M3devel
mailing list