| Summary: | Emerge allegro-4.1.14 fails in compilation phase due to CFLAG problem ("error: can't find a register in class `BREG' while reloading `asm'") | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Grzegorz Dubicki <gdubicki> |
| Component: | [OLD] Library | Assignee: | Gentoo Games <games> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Grzegorz Dubicki
2004-07-25 06:49:03 UTC
Can you isolate which flag is causing the issue please? I'll add it to the flag filtering. Ok, I've tried several combination of CFLAGS using both gcc 3.3.3 and 3.4.1 and for both of them the problem flag seems to be "-fpic" (lowercase).
("Prove": even this hardcore setting works - it compiles cleanly, that is (note the "-fno-pic" near the end:
CFLAGS="-O3 -march=athlon-xp -mtune=athlon-xp -msse -mmmx -m3dnow -momit-leaf-frame-pointer -fomit-frame-pointer -funroll-loops -ftracer -ffast-math -fprefetch-loop-arrays -freduce-all-givs -finline-limit=600 -mfpmath=387 -pipe -fweb -fPIC -fno-pic -s")
*** Concluding: I would propose filtering out the "-fpic" (lowercase) flag in the ebuild.
*** This bug has been marked as a duplicate of 58413 *** Closing to clean up after bugzilla upgrade. reopen if closed in error. Thanks. clean up bug list after bugzilla update |