[M3devel] I386_OPENBSD uploaded-archives

Stefan Sperling stsp at elego.de
Sat Jan 3 13:41:52 CET 2009


On Thu, Jan 01, 2009 at 07:45:44PM +0000, Jay wrote:
> 
>    What do you mean by "bootstrap binaries"?
> 
>    There are a variety of ways to get a usable system.
> 
> 
>    There is
>    [1]http://modula3.elegosoft.com/cm3/uploaded-archives/cm3-boot-I386_OP
>    ENBSD-1.tar.gz
>      extract it  (tar zxf ...)
>      cd into it  (cd ...)
>      add -lm and -lpthread to the link line
>      make
>      mkdir -p /usr/local/cm3/bin
>      mv cm3 /usr/local/cm3/bin
>      export PATH=$PATH:/usr/local/cm3/bin
>      export CM3_ROOT=/usr/src/cm3   or whatever
>      export CVSROOT=:ext:stefan at m3.elegosoft.com:/usr/cvs
>      cvs -z3 checkout cm3
>      cd /usr/src/scripts/python
>      ./do-cm3-front.py buildship

Thanks. I've tried that, and the ./do-cm3-front.py buildship step fails with:

cd . && cd gcc && gmake CC="gcc" CFLAGS="-g"  AUTOCONF=: AUTOMAKE=: LEX='touch lex.yy.c' MAKEINFO=: s-modes insn-config.h m3cg | tee -a _m3.log
cd . && cd gcc && gmake CC="gcc" CFLAGS="-g"  AUTOCONF=: AUTOMAKE=: LEX='touch lex.yy.c' MAKEINFO=: s-modes insn-config.h m3cg | tee -a _m3.log
TARGET_CPU_DEFAULT="" \
        HEADERS="auto-host.h ansidecl.h" DEFINES="" \
        /bin/sh ../../gcc/gcc/mkconfig.sh bconfig.h
gcc -c   -g -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute    -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../gcc/gcc -I../../gcc/gcc/build -I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include -I/home/stsp/src/cm3/m3-sys/m3cc/I386_OPENBSD/./gmp -I/home/stsp/src/cm3/m3-sys/m3cc/gcc/gmp -I/home/stsp/src/cm3/m3-sys/m3cc/I386_OPENBSD/./mpfr -I/home/stsp/src/cm3/m3-sys/m3cc/gcc/mpfr  -I../../gcc/gcc/../libdecnumber -I../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber -I/usr/local/include   -o build/errors.o ../../gcc/gcc/errors.c
build/genmodes > tmp-modes.c
/bin/sh: build/genmodes: not found
gmake: *** [s-modes] Error 127
"/home/stsp/src/cm3/m3-sys/m3cc/src/m3makefile", line 378: quake runtime error: unable to copy "./gcc/m3cgc1" to "./cm3cg": errno=2

--procedure--  -line-  -file---
cp_if              --  <builtin>
postcp            378  /home/stsp/src/cm3/m3-sys/m3cc/src/m3makefile
include_dir       444  /home/stsp/src/cm3/m3-sys/m3cc/src/m3makefile
                    8  /home/stsp/src/cm3/m3-sys/m3cc/I386_OPENBSD/m3make.args

Fatal Error: package build failed
 *** execution of [<function _BuildGlobalFunction at 0x80bbc80c>, <function _ShipFunction at 0x80bbc844>] failed ***


Stefan



More information about the M3devel mailing list