This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems compiling tests with gcc 3.1


Hi Jari!

I stated, that I was successful with gcc-3.1 and redhat7.3, but that was due to

CFLAGS="-O0 -g"

no optimization. With the default CFLAGS="-O2 -g" I had the same error.

/opt/gcc-3.1/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I..    -g -O2 -c test.c
In file included from test.c:61:
test_complex_source.c: In function `test_complex_float_trap':
test_complex_source.c:258: Internal compiler error in subst, at combine.c:3546

This is an abort statement in gcc-3.1/gcc/combine.c .

I DO agree with Brian, that this error MUST be reported to gcc. If you need help
with the bug report, please ask.

Yours, Achim

Jari Häkkinen schrieb:
> 
> Hi.
> 
> I have problems running (compiling) some of the test programs with gcc
> version 3.1. The test programs compile using gcc 2.95.
> 
> I am working with gsl 1.1.1, and compiling ('make' with gcc 3.1) the
> projects works alright. When running 'make check' all directories,
> except vector and matrix, compiles and passes all tests. In the matrix
> and vector directories, gcc gives the following output:
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I..    -g -O2 -c test_static.c
> In file included from test.c:61,
>                   from test_static.c:6:
> test_complex_source.c: In function `test_complex_float_trap':
> test_complex_source.c:258: Internal compiler error in subst, at
> combine.c:3546
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
> make[2]: *** [test_static.o] Error 1
> 
> I have not submitted a bug-report. Is this a known problem?
> 
> Jari
> 
> --
> Jari Häkkinen, PhD
> Complex Systems Division                        mailto:jari@thep.lu.se
> Department of Theoretical Physics               phone: +46 (0)46 2220667
> Lund University                                 fax:   +46 (0)46 2229686
> Sölvegatan 14a, SE-223 62 Lund, Sweden          http://www.thep.lu.se


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]