This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: Possible bug in gsl_matrix (GSL 1.0)
- From: Brian Gough <bjg at network-theory dot co dot uk>
- To: Hamish Rose <h dot rose at phys dot canterbury dot ac dot nz>
- Cc: gsl-discuss at sources dot redhat dot com
- Date: Fri, 14 Jun 2002 21:46:37 +0100 (BST)
- Subject: Re: Possible bug in gsl_matrix (GSL 1.0)
- References: <Pine.SOL.4.33.0206141148080.1561-100000@cantua.canterbury.ac.nz>
Hamish Rose writes:
>
> gsl_matrix seems to interact badly with the profiling functions in gcc.
>
> When compiling the first matrices example program in the documentation (or
> any program that includes gsl/gsl_matrix.h) I get a segmentation fault
> before entering main().
Hi,
It works ok for me. I'm using gcc 2.95. I don't think the problem is
specific to GSL, so perhaps it is a problem with gcc/gprof on RH 7.1.
regards
Brian Gough
> ggc -v gives:
> gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-85)
>
> Compiler command is
> gcc -g -pg -o mtest mtest.c -lgsl -lgslcblas -lm