This is the mail archive of the
gsl-discuss@sourceware.cygnus.com
mailing list for the GSL project.
Re: Seg-fault in gsl-0.5/integration/qpsrt.c
- To: Brett Viren <bviren at superk dot physics dot sunysb dot edu>
- Subject: Re: Seg-fault in gsl-0.5/integration/qpsrt.c
- From: Brian Gough <bjg at network-theory dot co dot uk>
- Date: Wed, 23 Feb 2000 20:02:05 +0000 (GMT)
- Cc: gsl-discuss at sourceware dot cygnus dot com
- References: <14513.39963.390460.548974@bamboo.physics.sunysb.edu>
The problem with qpsrt.c is fixed in CVS now, by making the changes
you suggested. There was one similar occurrence in another file,
qelg.c. Thank you for the bug report.
I was able to confirm the problem from the existing tests using
Checkergcc. This is a very useful extension of gcc, which checks all
memory accesses at the time they occur. (Best to install from a Linux
package though, as it is complicated to install from source).
To answer your other question,
make CFLAGS="-g"
after configuring will build the library without optimization.
best regards
Brian Gough