Summary: | php floating point conversions (sprintf) fails on march=pentium4 mcpu=pentium4 works | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Joshua Moore-Oliva <josh> |
Component: | [OLD] Development | Assignee: | Docs Team <docs-team> |
Status: | RESOLVED INVALID | ||
Severity: | critical | CC: | mholzer |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Joshua Moore-Oliva
2003-03-29 13:15:41 UTC
See /etc/make.conf: # ATHLON-4 will generate invalid SSE instructions; use 'athlon' instead. # PENTIUM4 will generate invalid instructions; use 'pentium3' instead. I'm tempted to want Status: CLOSED Resolution: INVALID But I wonder if some checks in emerge to catch users doing this would be worthwhile? I think maybe spew an error and tell them to go and fix it. Yes, i think that would be a good idea... exactly what I was suggesting. I only saw the pentium4 thing AFTER I had the problem :) docs-team: please add this into FAQ ! See /etc/make.conf: # ATHLON-4 will generate invalid SSE instructions; use 'athlon' instead. # PENTIUM4 will generate invalid instructions; use 'pentium3' instead. This seems redundant to me. CFLAGS is set in /etc/make.conf and there is a clear warning in the file regarding this issue. None-the-less, if there still is a need to add this into the FAQ, how to proceed? Do we want this added under: "How can I set a global configuration for compiling packages?" -- perhaps as a note? Or, do we want to add a new entry (question) with this info? I'll wait to hear some feedback. Personally, I'm tempted to close it with a resolution of INVALID. Yes, you can set it as invalid if you wish, there doesn't seem to be a lot more you can do about it. As for the warnings in /etc/make.conf, I believe that I didn't notice when the warnings were added during a configuration merge. The only suggestion I could make is for the ebuild to check if march=pentium4 was set and refuse to build or possibly issue some warnings during emerge. Josh. setting to invalid then |