[plt-scheme] Problem compiling PLTScheme
I run Gentoo and I have always suspected that it is the compilation flags
that one specifies in make.conf that cause these compilation errors.
My flags are:
CFLAGS="-O3 -march=athlon -funroll-loops -pipe"
When I get rid of the optimization flags and just use -march=athlon
everything compiles fine.
Bruce
On Sun, 7 Dec 2003, Paulo Jorge de Oliveira Cantante de Matos wrote:
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
> Hi all,
>
> For those using Gentoo I'm sure you all know about bug 32003, a
> compilation problem with DrScheme:
> http://bugs.gentoo.org/show_bug.cgi?id=32003
>
> However a strange thing is happening, I'm trying to solve the bug and
> I've downloaded plt-205.src.x.tar.gz to my home dir and I did:
> tar -xvzf plt-205.src.x.tar.gz ; cd plt/src; ./configure
> --prefix=/home/pmatos/plt-205; make ; make install
>
> It worked great and I wondered, hell, why is the ebuild (gentoo's script
> for automatic installation) not working if it does exactly the same
> thing so I did:
> pmatos at euler pmatos $ cd
> pmatos at euler pmatos $ rm -Rf plt-205
> pmatos at euler pmatos $ rm -Rf plt
> pmatos at euler pmatos $ tar -xvzf plt-205.src.x.tar.gz ; cd plt/src;
> ./configure --prefix=/home/pmatos/plt-205; make ; make install
>
> so that I were able to try it out once again and this time the error
> showed up just like in the bug report:
> ...
> setup-plt: Installing ProfessorJ: libs java lang
> setup-plt: Done setting up
> setup-plt:
> setup-plt: Error during Compiling .zos for mzc
> (/home/pmatos/plt-205/collects/compiler)
> setup-plt: private/compiled/const.zo: read (compiled): ill-formed code
> (bad count: 33178 != 33179, started at 12)
> setup-plt: Error during Compiling .zos for mzc private
> (/home/pmatos/plt-205/collects/compiler/private)
> setup-plt: compiled/const.zo: read (compiled): ill-formed code (bad
> count: 33178 != 33179, started at 12)
> make[1]: *** [copy-finish] Error 1
> make[1]: Leaving directory `/home/pmatos/plt/src'
> make: *** [install] Error 2
>
> Strange isn't it? Do you have any idea of what might be causing this?
>
> Best regards,
>
>
> --
>
> Paulo J. Matos : pocm [_at_] mega . ist . utl . pt
> Instituto Superior Tecnico - Lisbon
> Computer and Software Eng. - A.I.
> - > http://mega.ist.utl.pt/~pocm
> ---
> -> God had a deadline...
> So, he wrote it all in Lisp!
>
>
>