Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 282103

Summary: Gcc-4.4.1 crashed with bad instruction when graphite is activated
Product: Gentoo Linux Reporter: BRULE Herman <alpha.super-one>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Severity: major    
Priority: High    
Version: unspecified   
Hardware: Other   
OS: Linux   
Package list:
Runtime testing required: ---

Description BRULE Herman 2009-08-20 13:14:16 UTC
gdb --args i586-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..  -I../../intl   -Os -pipe -fomit-frame-pointer -march=native -mtune=native -g -ggdb -floop-block -floop-interchange -fgraphite -MT c-strstr.o -MD -MP -MF $depbase.Tpo -c -o c-strstr.o c-strstr.c &&        mv -f $depbase.Tpo $depbase.Po
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i586-pc-linux-gnu"...
(gdb) run
Starting program: /usr/bin/i586-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../intl -Os -pipe -fomit-frame-pointer -march=native -mtune=native -g -ggdb -floop-block -floop-interchange -fgraphite -MT c-strstr.o -MD -MP -MF .Tpo -c -o c-strstr.o c-strstr.c
Executing new program: /usr/i586-pc-linux-gnu/gcc-bin/4.4.1/i586-pc-linux-gnu-gcc
i586-pc-linux-gnu-gcc: Internal error: Illegal instruction (program cc1)
Please submit a full bug report.
See <> for instructions.

Program exited with code 01.
(gdb) bt
No stack.

I'm on geode with mmx, mmxext, 3dnow, 3dnowext.

Reproducible: Always

Steps to Reproduce:
1.gcc i586 (or other) + graphite use flags + -floop-block -floop-interchange -fgraphite
2. emerge -eav world

Actual Results:  
Crash with illegal instruction

cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 5
model           : 10
model name      : Geode(TM) Integrated Processor by AMD PCS
stepping        : 2
cpu MHz         : 499.827
cache size      : 128 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu de pse tsc msr cx8 sep pge cmov clflush mmx mmxext 3dnowext 3dnow
bogomips        : 999.65
clflush size    : 32
power management:
Comment 1 Mark Loeser (RETIRED) gentoo-dev 2009-08-20 19:04:22 UTC
Please post the output of `emerge --info` and the build log of whatever failed to build.