[openfirmware] Problem compiling OpenFirmware for ppc

Christian Johansson christ64 at gmail.com
Mon Nov 16 07:52:31 CET 2009


Hi!
I'm trying to compile of, rev. 1484 on Linux-ppc64, but after 'forth' has
been built,
it segfaults when running "./build basefw.dic"

First try, i got:

Can't find environment variable HOSTDIR in ${HOSTDIR}/../build/builder.dic
forth: Can't open dictionary file ${HOSTDIR}/../build/builder.dic
make: *** [basefw.dic] Error 1

So I'd set HOSTDIR=$HOME/of2/openfirmware/cpu/ppc/Linux

After this, I'm just getting:
./build basefw.dic
forth: Segmentation fault
make: *** [basefw.dic] Quit

When running make in $HOME/of2/openfirmware/cpu/ppc/build

I'm using:
 chjo at op5p1:~/of/of2/openfirmware/cpu/ppc/build> gcc --v
Using built-in specs.
Target: powerpc64-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada
--enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.2.1
--enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib
--with-system-zlib --enable-shared --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --disable-libstdcxx-pch
--program-suffix=-4.2 --enable-version-specific-runtime-libs
--without-system-libunwind --with-cpu=default32 --enable-secureplt
--with-long-double-128 --host=powerpc64-suse-linux
Thread model: posix
gcc version 4.2.1 (SUSE Linux)

Any advice how to proceed?

//Br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openfirmware.info/pipermail/openfirmware/attachments/20091116/08d80ab3/attachment.htm>


More information about the openfirmware mailing list