[M3devel] m3cg build failure on powerpc/darwin
Olaf Wagner
wagner at elegosoft.com
Tue Dec 25 17:33:09 CET 2007
Just for the records:
The solution to the instruction problem below is installing a
newer cctools package. Detailed instructions can be found at
http://gcc.gnu.org/ml/gcc/2005-03/msg01149.html
Olaf
On Sun, Dec 16, 2007 at 04:50:38PM -0500, Tony Hosking wrote:
> That is a very old Darwin distro. Here is my G4:
>
> Darwin Kernel Version 8.10.0: Wed May 23 16:50:59 PDT 2007;
> root:xnu-792.21.3~1/RELEASE_PPC
>
> On Dec 16, 2007, at 4:23 PM, Olaf Wagner wrote:
>
> >Hi,
> >
> >while trying to build some boot archives build on my PowerBook
> >G4, 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
> >
> >the compilation died with
> >
> >/Users/wagner/work/cm3/m3-sys/m3cc/PPC_DARWIN/./gcc/xgcc -B/Users/
> >wagner/work/cm3/m3-sys/m3cc/PPC_DARWIN/./gcc/ -B/usr/local/powerpc-
> >apple-darwin7.9.0/bin/ -B/usr/local/powerpc-apple-darwin7.9.0/lib/ -
> >isystem /usr/local/powerpc-apple-darwin7.9.0/include -isystem /usr/
> >local/powerpc-apple-darwin7.9.0/sys-include -c -DHAVE_CONFIG_H -O2 -
> >O2 -g -I. -I../../../gcc/libiberty/../include -W -Wall -pedantic -
> >Wwrite-strings -Wstrict-prototypes ../../../gcc/libiberty/
> >floatformat.c -o floatformat.o
> >../../../gcc/libiberty/floatformat.c: In function
> >'floatformat_to_double':
> >../../../gcc/libiberty/floatformat.c:354: warning: floating
> >constant exceeds range of 'float'
> >/var/tmp/cccvQbrs.s:508:stfiwx instruction is optional for the
> >PowerPC (not allowed without -force_cpusubtype_ALL option)
> >/var/tmp/cccvQbrs.s:550:stfiwx instruction is optional for the
> >PowerPC (not allowed without -force_cpusubtype_ALL option)
> >make[2]: *** [floatformat.o] Error 1
> >make[1]: *** [all-target-libiberty] Error 2
> >make: *** [all] Error 2
> >"/Users/wagner/work/cm3/m3-sys/m3cc/src/m3makefile", line 188:
> >quake runtime error: exit 512: cd .; make CC="gcc" CFLAGS="-O2 -g"
> >
> >--procedure-- -line- -file---
> >exec -- <builtin>
> >include_dir 188 /Users/wagner/work/cm3/m3-sys/m3cc/src/
> >m3makefile
> > 5 /Users/wagner/work/cm3/m3-sys/m3cc/
> >PPC_DARWIN/m3make.args
> >
> >Fatal Error: package build failed
> >
> >Any ideas?
--
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