Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285092 - [4.4/ICE] GCC crashes when compiling ovdicopy.c from app-text/texlive-core-2008-r7 if -fsee is enabled
Summary: [4.4/ICE] GCC crashes when compiling ovdicopy.c from app-text/texlive-core-20...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-15 14:17 UTC by Piojo
Modified: 2010-03-04 20:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Preprocessed source triggering the sigsev (odvicopy.i,288.01 KB, text/plain)
2009-09-15 14:19 UTC, Piojo
Details
Output of emerge --info (emerge-info.txt,5.30 KB, text/plain)
2009-09-15 14:20 UTC, Piojo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piojo 2009-09-15 14:17:40 UTC
The attached preprocessed source causes a segmentation fault on GCC AMD64, with the following command line:

x86_64-pc-linux-gnu-gcc -O3 -march=native -pipe -mmmx -msse2 -msse3 -msse -mfpmath=sse,387 -maccumulate-outgoing-args -ftree-vectorize -fomit-frame-pointer -fmodulo-sched -fmodulo-sched-allow-regmoves -fvect-cost-model -fsee -ftree-loop-linear -floop-interchange -floop-strip-mine -floop-block -ftree-loop-distribution -ftree-loop-im -fvect-cost-model  -c odvicopy.i

Output is:

odvicopy.c: In function 'findpacket':
odvicopy.c:1443: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.

I'll dig a bit to find out the offending CFLAG(s).
Comment 1 Piojo 2009-09-15 14:19:03 UTC
Created attachment 204195 [details]
Preprocessed source triggering the sigsev
Comment 2 Piojo 2009-09-15 14:19:50 UTC
My gcc -v:

Using built-in specs.
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.4.1/work/gcc-4.4.1/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.1 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.1 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.1/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.1/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --with-ppl --with-cloog --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --enable-cld --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.4.1/python --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.4.1 p1.0'
Thread model: posix
gcc version 4.4.1 (Gentoo 4.4.1 p1.0)
Comment 3 Piojo 2009-09-15 14:20:47 UTC
Created attachment 204196 [details]
Output of emerge --info
Comment 4 Piojo 2009-09-15 14:25:15 UTC
The offending flag seems to be -fsee. It compiles perfectly without it.
Comment 5 Piojo 2009-10-20 18:42:37 UTC
For the record, it is NOT fixed on GCC 4.4.2.
Comment 6 Mark Loeser (RETIRED) gentoo-dev 2010-03-04 20:59:33 UTC
I'm going to assume that Graphite is also related to this, and as such is being closed as WONTFIX since no graphite fixes are being backported to 4.4.