Opened 13 years ago

Closed 13 years ago

#353 closed bug (wontfix)

gcc-4.6.1 compile segmentation fault

Reported by: jlhsage@… Owned by: somebody
Priority: major Milestone: 3-1-4 and higher
Component: dontKnow Version: 3-1-3
Keywords: gcc-4.6 ubuntu Cc:

Description

On Ubuntu 11.10 alpha3, amd64, Singular-3-1-3, running 'make' causes several source files to trigger a compiler segmentation fault. When changing the compiler command line from '-O3' to '-O2', the build finished successfully.

Here is the 'make' output:

... make install in kernel make[2]: Entering directory `/home/Downloads/Singular-3-1-3/kernel' g++ -O3 -w -fomit-frame-pointer --no-rtti -pipe -fno-implicit-templates --no-exceptions -I. -I.. -I/home/jlh/Downloads/Singular-3-1-3 -I/home/jlh/Downloads/Singular-3-1-3/x86_64-Linux/include -DNDEBUG -DOM_NDEBUG -Dx86_64_Linux -DHAVE_CONFIG_H -c sparsmat.cc sparsmat.cc: In function ‘BOOLEAN _ZL11smIsNegQuotP8spolyrecS0_S0_.part.12(poly, poly, poly)’: sparsmat.cc:1948:16: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions. make[2]: * [sparsmat.o] Error 1 make[2]: Leaving directory `/home/Downloads/Singular-3-1-3/kernel' make[1]: * [install] Error 1 make[1]: Leaving directory `/home/Downloads/Singular-3-1-3'

Change History (2)

comment:1 Changed 13 years ago by Oleksandr

I am able to build the latest Singular (from source repository) on my ArchLinux?: Linux 2.6.39-ARCH #1 SMP x86_64 Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz GenuineIntel? GNU/Linux,

I use gcc (GCC) 4.6.1.

ps: though I didn't try to do that for 3-1-3...

comment:2 Changed 13 years ago by Oleksandr

Resolution: wontfix
Status: newclosed

Dear User,

thank you for pointing this out.

please note that this error message usually indicates either a gcc bug or a hardware problem.

if this problem is reproducible please report it to gcc (or Ubuntu) team.

Regards,

Singular Team

Note: See TracTickets for help on using tickets.