Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112559 - -msse2 cflag breaks dev-lang/php
Summary: -msse2 cflag breaks dev-lang/php
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-14 15:13 UTC by Julioromano
Modified: 2005-11-14 15:18 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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...