[M3devel] m3cg build failure on powerpc/darwin
Mika Nystrom
mika at async.caltech.edu
Sun Dec 16 23:14:35 CET 2007
Olaf Wagner writes:
...
>The upgrade script for Linux just died with
>
>=== package m3-sys/cm3 ===
> +++ cm3 -build -DROOT='/home/wagner/work/cm3' && cm3 -ship
>-DROOT='/home/wagner/work/cm3' +++
>--- building in LINUXLIBC6 ---
>
>ignoring ../src/m3overrides
>
> -> linking cm3
>/usr/local/cm3/pkg/libm3/LINUXLIBC6/libm3.a(FSPosix.mo): In function
>`FS__SetModificationTime':
>/home/wagner/work/cm3/m3-libs/libm3/LINUXLIBC6/FSPosix.m3:348:
>undefined reference to `__wrap_utimes'
>collect2: ld returned 1 exit status
>Fatal Error: package build failed
>
>on birch.elegosoft.com.
This is the same problem I had on Ubuntu yesterday. You need to
remove -wrap,utimes from your cm3.cfg, or use Tony's newer cm3.cfg.
>
>So the only thing I've succeeded in today is building a bootstrap
>for FreeBSD 6.3.
Ironically, FreeBSD is extremely good at backward-compatibility of
binaries! I think I may still have a FreeBSD 3.x system somewhere
with Modula-3 on it... This is just for historical reasons, but
we still do use 4.11 systems in production, so it would be nice if
there were bootstraps on 4.11. (4.11-generated compilers work fine
w/o modification on 5.x.)
Mika
>
>Olaf
>
>> 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
>>> --
>>> 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
More information about the M3devel
mailing list