This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Compiling GSL on IRIX 6.5 with gcc
- From: "Mr. Roman Putanowicz" <romek at carme dot sect dot mce dot hw dot ac dot uk>
- To: GSL <gsl-discuss at sources dot redhat dot com>
- Date: Wed, 20 Feb 2002 07:26:06 +0000
- Subject: Compiling GSL on IRIX 6.5 with gcc
Hi,
These kind of errors were already reported by Craig P Prescott (4 Oct 2000)
(http://sources.redhat.com/ml/gsl-discuss/2000/msg00557.html)
but I just write to confirm that they still are there.
I used GSL-1.0 on IRIX 6.5, gcc version 2.95.3 with compiler
flags: -g -O2
It compiles but make check crashes in block/:
Program received signal SIGSEGV, Segmentation fault.
0x1000c3a4 in gsl_block_complex_long_double_fscanf (stream=0xfb525d8,
b=0x100300ce) at fprintf_source.c:85
85 data [MULTIPLICITY * i + k] = tmp;
After recompiling with -O0 make check reports no errors !
It seems that after gcc 2.7 turning optimization on may sometimes break a code.
Anyway, not optimized code works well.
There was also one more problem already mentioned on the list
(http://sources.redhat.com/ml/gsl-discuss/2001/msg00157.html) :
I had to increase (as a root) argument buffer to 40960:
systune ncargs 40960
in order to make libtool work.
Regards
Romek
Roman Putanowicz <romek@sect.mce.hw.ac.uk>
SECT Research Group
Heriot-Watt University, Edinburgh