Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 277493 - fontconfig-2.7.0 Illegal instruction
Summary: fontconfig-2.7.0 Illegal instruction
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2009-07-12 12:06 UTC by crucify
Modified: 2009-07-12 17:03 UTC (History)
2 users (show)

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

gdb /usr/bin/fc-cache (gdb.txt,798 bytes, text/plain)
2009-07-12 12:06 UTC, crucify
emerge --info (,12.53 KB, text/plain)
2009-07-12 12:06 UTC, crucify

Note You need to log in before you can comment on or make changes to this bug.
Description crucify 2009-07-12 12:06:07 UTC
emerge fontconfig

/var/tmp/portage/media-libs/fontconfig-2.7.0/temp/environment: line 2676: 20537 Illegal instruction     /usr/bin/fc-cache -sr                                                                           [ !! ]

Reproducible: Always
Comment 1 crucify 2009-07-12 12:06:37 UTC
Created attachment 197631 [details]
gdb /usr/bin/fc-cache
Comment 2 crucify 2009-07-12 12:06:51 UTC
Created attachment 197632 [details]
emerge --info
Comment 3 hubertstar 2009-07-12 12:16:49 UTC
same error here.
Comment 4 Harald van Dijk (RETIRED) gentoo-dev 2009-07-12 16:22:41 UTC
"Illegal instruction" almost always means your CFLAGS are wrong for your system. In your case, you have -msse4.1 to enables SSE 4.1, and -msse4 to enable SSE 4.2 as well. Are you sure your processor supports both? Could you please check if you get better results by omitting -msse4?
Comment 5 crucify 2009-07-12 16:38:59 UTC
fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall lm constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm tpr_shadow vnmi flexpriority

oh, my cpu is -msse4.1
ok. I try remove -msse4 and recompile.
Comment 6 crucify 2009-07-12 17:03:29 UTC
It's fine for me.
thank you.

-msse4 eq sse4.2 is so difficult.