Summary: | emerging allegro fails in src-compile because of a floating point exception | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Stefan <stefan> |
Component: | [OLD] Library | Assignee: | SpanKY <vapier> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ralphdewitt |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Stefan
2003-08-06 03:11:24 UTC
conservative CFLAGS, namely just "-mcpu pentium3" fix the problem. from make.conf # CRITICAL WARNINGS: ****************************************************** # # ATHLON-4 will generate invalid SSE instructions; use 'athlon' instead. # # PENTIUM4 will generate invalid SSE2 instructions; use 'pentium3' instead. # # ************************************************************************* # I was intrigued by this bug report and tried to compile allegro with the same optimizations as Stefan. With little surprise it failed. However removing -fprefetch-loop-arrays it compiled wonderfully. Maybe we could filter -fprefetch-loop-arrays. :) *** Bug 26844 has been marked as a duplicate of this bug. *** I can confirm that simply removing -fprefetch-loop-arrays from the CFLAGS solves the problem. added to cvs, thanks guys :) not fixed ... this has nothing to do with the prefetch flag :) btw, azarah is *the* man http://bugs.gentoo.org/show_bug.cgi?id=25461#c6 *now* it's fixed in cvs :) sed -i '/TARGET_ARCH=/s:=.*:=:' configure |