Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bad use settings causing malfunction???
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
||kafre||
Tux's lil' helper
Tux's lil' helper


Joined: 15 Sep 2003
Posts: 114

PostPosted: Sat Jul 24, 2004 2:32 pm    Post subject: bad use settings causing malfunction??? Reply with quote

i know this sounds weird but recently installing gentoo 2004.1 in one of my computers i used -march=athlon-xp but i forgot the processor was a thunderbird. It finished compiling everything but a few apps didnt work. Texinfo, procps .... the question is, athlon-xp and athlon-thunderbird are similar proccesors, how much can affect using bad use settings to the stability and proper function of packages or entire system? i mean a xp processor has more instructions than a thunderbird one but doenst it keep any compatibility in use flags enough to make packages work?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Sat Jul 24, 2004 2:44 pm    Post subject: Reply with quote

||kafre||,

Packages that compiler produces using the new instructions will break with an illegal instruction exception when the first such instruction is encountered. It will vary from application to application and the effects will be from never happens, some things don't work, app won't even start.

There are two similar CFLAGS -march and -mcpu, one preserves compatibility back to the 386, just reordering instructions for maximum speed. The other breaks compatibility for best possible performace. See man gcc for details.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
||kafre||
Tux's lil' helper
Tux's lil' helper


Joined: 15 Sep 2003
Posts: 114

PostPosted: Sat Jul 24, 2004 3:13 pm    Post subject: yes Reply with quote

thank u, i understand the difference between -march -mcpu, in fact i´ve been using gentoo for more than one year, but this was the first time i made it so bad. Illegal instruction was the error i had with the packages not working. Thanks por explanations.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum