Dear Waldek,
many thanks for your help. I report here my findings, and a possible solution:
1) I use the fricas-svn code from Ralf's githup (checked out yesterday
22-01-2012)
[as I have probems with git and our proxy server, I use the ziped code]
2) In the main directory I changed in the file 'configure'
6194 BASE=""
6195
6196 AXIOM=${BASE}${fricas_targetdir}
6197
6198
6199 CCF="-O0 -Wall -D_GNU_SOURCE"
^^^^^ changed from -O2 to -O0
then
> mkdir build-dir
> cd build-dir
> fauser@moby:~/fricas-svn/build-dir$ ../configure CFLAGS="-O0" CCF="-O0"
> --with-lisp=sbcl --enable-gmp
^^^^ ^^^^^ disable optimization
I had done this before, but some -O2 optimizations did slip through [why?]
> make clean # just in case
> make -j8
> cd src/paste/
> make gphts
# works now!
> cd ../..
> make
> sudo make install
Then in efricas I tested
> draw(curve(sin(t),cos(t),t),t=0..6)
which previously failed, and now works!
==================================
This may be brutal, but I am not an expert on this compilation stuff
anyhow, so I wanted to make sure
all optimization is gone.
=> without optimization, graphics compilation works on my machine
=> that means that gcc (gcc (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1)
optimization *breaks* the 3D graphics of FriCAS
===================================
It would be nice to single out the particular file(s) where the
optimization breaks the code and do either of
a) disable optimization only for that file(s)
b) change the code to that it would survive the optimization
I fear this is beyond my ability (and time to search for this)
Cheers
BF.
--
% PD Dr Bertfried Fauser
% Research Fellow, School of Computer Science, Univ. of Birmingham
% contact |-> URL : http://www.cs.bham.ac.uk/~fauserb/
% Phone : +44-121-41-42795
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/fricas-devel?hl=en.