[plt-scheme] 4.2.5.7 compilation error under SGI IRIX 6.

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Mon May 17 22:34:01 EDT 2010

I think the problem is that the default garbage collector hasn't been
ported to IRIX. I should have thought of that before.

To work around that problem. configure with `--enable-cgcdefault'.

At Mon, 17 May 2010 22:45:08 +0300, Valery Niamkovich wrote:
> Hi, Matthew.
> I replaced the libffi the newer of GCC 4.5.0, which contains hotfix to work
> correctly on mips. Also, I deleted the line with RETURN in the file
> smalloc.c. I also corrected one file in wxxt (the compiler does not
> understand (a, b. ..) and I changed it to (a, b, ...)). Also received
> specific for SGI error when compiled mred, related link errors libjpeg or
> libpng. It was necessary to add to Makefile ldflag "-lC". Following these
> actions, "Make" passed without problems errors and comments. But "make
> install" I received an new error again:
> IRIS 323% gmake install
> gmake install-cgc
> gmake[1]: Entering directory `/usr/people/val/plt/src/build7'
> gmake install-cgc-common
> gmake[2]: Entering directory `/usr/people/val/plt/src/build7'
> gmake install-common-first
> gmake[3]: Entering directory `/usr/people/val/plt/src/build7'
> mkdir -p "/opt/plt-scheme/bin" "/opt/plt-scheme/lib/plt/collects"
> "/opt/plt-scheme/share/plt/doc" "/opt/plt-scheme/lib"
> "/opt/plt-scheme/include/plt" "/opt/plt-scheme/lib/plt"
> "/opt/plt-scheme/share/man"
> gmake[3]: Leaving directory `/usr/people/val/plt/src/build7'
> cd mzscheme; gmake install-cgc
> gmake[3]: Entering directory `/usr/people/val/plt/src/build7/mzscheme'
> gmake headers
> gmake[4]: Entering directory `/usr/people/val/plt/src/build7/mzscheme'
> ./mzschemecgc -cqu ../../mzscheme/mkincludes.ss
> "/opt/plt-scheme/include/plt" "../../mzscheme" .
> gmake[4]: *** [headers] Bus error (core dumped)
> gmake[4]: Leaving directory `/usr/people/val/plt/src/build7/mzscheme'
> gmake[3]: *** [install-cgc] Error 2
> gmake[3]: Leaving directory `/usr/people/val/plt/src/build7/mzscheme'
> gmake[2]: *** [install-cgc-common] Error 2
> gmake[2]: Leaving directory `/usr/people/val/plt/src/build7'
> gmake[1]: *** [install-cgc] Error 2
> gmake[1]: Leaving directory `/usr/people/val/plt/src/build7'
> gmake: *** [install] Error 2
> IRIS 324% 
> 
> This happens with both "- disable-foreign", and without.
> 
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme


Posted on the users mailing list.