David Matthews wrote:
Lucas Dixon wrote:
I get the a similar error when trying to install polyml 5 using darwin ports on MacOSX 10.3.9 (PPC).
It is unlikely that this is the same problem. Have you tried building from the original source rather than the darwin port?
Yes, the same happens.
I have a good idea what the problem is with the Sparc and Solaris 10 but since I haven't got access to a Sparc with Solaris 10 I can't test it to be sure. There is an experimental version of Poly/ML in CVS on sourceforge (See http://www.polyml.org/download.html for how to use it) and this version does not use the g7 register that may have been causing the problems. It will still need the CFLAGS="-gstabs -O3" CXXFLAGS="-gstabs -O3" workaround.
I can set these just by export CFLAGS="... ", right?
doing this with the CVS version gives me the following compile error:
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DPOWER2 -DMACOSX -Wall -gstabs -O3 -MT gc.lo -MD -MP -MF .deps/gc.Tpo -c -o gc.lo gc.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DPOWER2 -DMACOSX -Wall -gstabs -O3 -MT gc.lo -MD -MP -MF .deps/gc.Tpo -c gc.cpp -fno-common -DPIC -o .libs/gc.o gc.cpp: In function `void CopyStackFrame(StackObject*, StackObject*)': gc.cpp:276: internal compiler error: Bus error Please submit a full bug report, with preprocessed source if appropriate. See URL:http://developer.apple.com/bugreporter for instructions. make[2]: *** [gc.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
is there any other information you would like?
cheers, lucas