Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] gcc-4.2.2 compiling gcc-3.3.6-r1 problems.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
Schmokin
n00b
n00b


Joined: 21 Dec 2004
Posts: 47
Location: Salem, OR

PostPosted: Fri Jan 18, 2008 5:57 pm    Post subject: [SOLVED] gcc-4.2.2 compiling gcc-3.3.6-r1 problems. Reply with quote

I just recently installed got going under the ~amd64 tree and started using -march=native with gcc-4.2.2 to build everything. This morning I ran into a problem when i went to 'emerge xorg-x11' when it came up to building gcc-3.6.6-r1 for a dependency it complains about not knowing what '-march=native' is. Was wondering if there is any other workaround atm other than stoping the emerge, changing make.conf to the old style, letting it build, stopping emerge again, then setting it back to 'native'? Thanks.

Last edited by Schmokin on Fri Jan 18, 2008 11:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Fri Jan 18, 2008 6:09 pm    Post subject: Reply with quote

Schmokin,

gcc-3.3 will not build for lots of reasons but you don't need it.
You have a binary package, probably java, built with gcc-3.3.6 and it needs one of its libraries at runtime.
Code:
emerge sys-libs/libstdc++-v3
to satisfy the dependency then redo your original emerge. It will contine from the package after gcc-3.3.
_________________
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
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Fri Jan 18, 2008 6:11 pm    Post subject: Reply with quote

What possible benifit is there for using -march=native in the first place?
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
Schmokin
n00b
n00b


Joined: 21 Dec 2004
Posts: 47
Location: Salem, OR

PostPosted: Fri Jan 18, 2008 11:28 pm    Post subject: Reply with quote

Thanks NeddySeagoon. It was actually links the console web browser that I was using to post the original message that was depending on gcc-3.3.6-r1. I followed your instructions and 'emerge xorg-x11' continued perfectly. Not sure how to edit topics in links so in a few hours I will edit for solved.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 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