gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gm2-4.7.4 latest on OSX ppc 10.5.8 build ok but fail all test


From: ssbb
Subject: gm2-4.7.4 latest on OSX ppc 10.5.8 build ok but fail all test
Date: Mon, 6 Apr 2020 14:37:30 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2

Hello  [first post on maillist, greetings everybody]

I build  gcc 4.7.4 + gm2 grabbed from git on OSX ppc 10.8.4, using apple gcc 4.2.1 (Apple Inc. build 5577). I added mpfr-2.4.2 , gmp-4.3.2, mpc-0.8.1 in the src tree of gcc, as prescribed.

configured with:

../gcc-versionno/configure   --prefix=/usr/local/gcc-4.7.4 --enable-shared  --enable-threads=posix --enable-languages=c,c++,gm2  --disable-multilib --disable-bootstrap --enable-checking --with-system-zlib

Build/install complete withot error, but error show up at test:


##testing gm2: 104 fail seems a bit high...

cd build/gcc; make check-gm2
=== gm2 Summary ===
# of expected passes        30
# of unexpected failures    104
# of unresolved testcases    19


##Simple test: libpth not found, on OSX libthread in is system lib IIRC...

export PATH=/usr/local/gcc-4.7.4/bin:$PATH
cd gm2-build/gcc/gm2/examples/hello
make post-install
....
rm -f *.o a *.cpp *.obj
gm2 -g -I. ../../../../../gcc-versionno/gcc/gm2/examples/hello/hello.mod
ld: library not found for -lpth
collect2: error: ld returned 1 exit status
make: *** [post-install] Error 1


##Stress testing GM2: proceed for a while but:

cd gm2-build/gcc ; make gm2.paranoid
.....
.....
gcc   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes  -Wold-style-definition -Wc++-compat -fno-common  -DHAVE_CONFIG_H  -o stage2/gm2/cc1gm2 gm2/gm2-lang.o gm2/stor-layout.o gm2/m2pp.o gm2/gm2-gcc/m2assert.o gm2/gm2-gcc/m2block.o gm2/gm2-gcc/m2builtins.o gm2/gm2-gcc/m2except.o gm2/gm2-gcc/m2convert.o gm2/gm2-gcc/m2decl.o gm2/gm2-gcc/m2expr.o gm2/gm2-gcc/m2linemap.o gm2/gm2-gcc/m2statement.o gm2/gm2-gcc/m2type.o gm2/gm2-gcc/m2tree.o gm2/gm2-gcc/m2treelib.o gm2/gm2-gcc/m2top.o gm2/gm2-gcc/m2misc.o gm2/gm2-gcc/init.o gm2/gm2-compiler/m2flex.o \
                            attribs.o \
                              gm2/gm2-compiler/gm2.a ../powerpc-apple-darwin9.8.0/libgm2/libpim/.libs/libgm2.a gm2/gm2-libs-boot/choosetemp.o \                               main.o tree-browser.o libbackend.a libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a ./../intl/libintl.a -liconv  ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a  \ -L/Volumes/macHD/build/_MODULA/_GM2/gcc-474-gm2-git20200331/build/./gmp/.libs -L/Volumes/macHD/build/_MODULA/_GM2/gcc-474-gm2-git20200331/build/./mpfr/.libs -L/Volumes/macHD/build/_MODULA/_GM2/gcc-474-gm2-git20200331/build/./mpc/src/.libs -lmpc -lmpfr -lgmp   -lz ../powerpc-apple-darwin9.8.0/libstdc++-v3/src/.libs/libstdc++.a -lm
Undefined symbols:
  "restGPRx", referenced from:
      _NumberIO_CardToStr in libgm2.a(NumberIO.o)
      .......<follow a long list>................


And the -same- results are from building gcc-5.4.0+gm2-git-2020-02-17.tar.gz

Any hints? Anyway thanks in advance, would be great to have gm2 working in a 'old' powerpc mac.

Greetings





reply via email to

[Prev in Thread] Current Thread [Next in Thread]