Upgrade GCC

Anything that pertains to Portage

Moderator: Moderators

Post Reply
Simple Hen
Posts: 41
Joined: Fri Aug 17, 2007 14:03

Upgrade GCC

Post by PAdu92 » Sun Aug 26, 2007 14:44

Hi all,
I just updated my GCC to 4.2 on my Sabayon 3.4a like it said in the wiki, everything went fine, GCC works, but when I run a revdep-rebuild, It always wants me to reemerge GCC. So the first time I thought ok, I did something wrong so I reemerged it with revdep-rebuild, then I wanted to check if everything was OK so I did a revdep-rebuild again, and surprise, it still wants me to reemerge GCC. So after 4 emerge GCC, I'm tired of it, how can I fix this?
Here is what I get when I do a revdep-rebuild --pretend:

Code: Select all

localhost pavanpe # revdep-rebuild --pretend
Configuring search environment for revdep-rebuild

Environment mismatch from previous run, deleting temporary files...

Checking reverse dependencies...

Packages containing binaries and libraries broken by a package update
will be emerged.

Collecting system binaries and libraries... done.

Collecting complete LD_LIBRARY_PATH... done.

Checking dynamic linking consistency...
  broken /usr/lib/gcc/i686-pc-linux-gnu/4.2.0/libgij.la (requires /usr/lib/libgcj.la)
  broken /usr/lib/gcj-4.2.0/libjvm.la (requires /usr/lib/libgcj.la)

Assigning files to ebuilds... done.

Evaluating package order... done.

All prepared. Starting rebuild...
emerge --oneshot --pretend =sys-devel/gcc-4.2.0

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-devel/gcc-4.2.0
Now you can remove -p (or --pretend) from arguments and re-run revdep-rebuild.
localhost pavanpe #                                                          

Posts: 9051
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: Upgrade GCC

Post by wolfden » Sun Aug 26, 2007 19:22

that's because of the gcj

you have to take that out of your make.conf than recompile, than you shouldn't have that problem.

Post Reply