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

Bug 112559

Summary: -msse2 cflag breaks dev-lang/php
Product: Gentoo Linux Reporter: Julioromano <romanomarco>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Julioromano 2005-11-14 15:13:59 UTC
Tried with different 4.4.x and 5.0.x versions.
All versions do compile without errors, and when trying to run the /usr/bin/php
executable it quits with an Illegal Instruction message.
Strace reports exiting due to SIGILL.

My cflags are "-O2 -march=athlon-xp -pipe -fomit-frame-pointer -msse2 -mfpmath=sse"

Falling back from -msse2 to -msse solves the problem.

I thought -msse2 wasn't an aggressive cflag, isnt'it?

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-11-14 15:18:32 UTC
Athlon XP processor do not support SSE2...