Summary: | dev-lang/gnat-gcc-4.2.2 fails to build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Matti Valovirta <matti.valovirta> |
Component: | [OLD] Development | Assignee: | ada team [OBSOLETE] <ada+disabled> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | esigra |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Matti Valovirta
2008-03-02 19:06:13 UTC
(In reply to comment #0) > gnat1: error: unrecognized command line option "-mcpu=athlon-xp" Anything unclear about this? Don't use -mcpu, been deprecated for ages on x86/amd. (On a side note, -fvisibility-inlines-hidden is a rather bad idea). (In reply to comment #1) > (In reply to comment #0) > > gnat1: error: unrecognized command line option "-mcpu=athlon-xp" > > Anything unclear about this? Don't use -mcpu, been deprecated for ages on > x86/amd. (On a side note, -fvisibility-inlines-hidden is a rather bad idea). Besides, -march implies -mtune, so all you need is -march and -O2 (and you may also keep -fomit-frame-pointer, x86 is one of the few arches where it is usefull, if you don't care about being able to debug stuff). So, please remove -mtune and -mcpu options from your CFLAGS. No problem whatsoever here. I'll close the bug. Please reopen if you hit something without unsupported options. George *** Bug 212109 has been marked as a duplicate of this bug. *** Thank you for your quick reply. I will do what you suggested and report if any problems should arise. Thanks! |