Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[resolved] Problems after upgrade gcc to 3.3.5
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
dspgen
Tux's lil' helper
Tux's lil' helper


Joined: 17 Aug 2005
Posts: 103

PostPosted: Mon Dec 26, 2005 12:20 pm    Post subject: Reply with quote

I had fluxbox installed, running fine.
Did an update:
Code:
emerge --update --deep world

did not reboot.
tried to add some kde support:
Code:
emerge kdebase kdeadmin kdenetwork kdesdk kdemultimedia


I got this error:
Code:
grep: /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5-20050130/libstdc++.la: No such file or directory

I did
Code:
fix_libtool_files.sh 3.3.5-20050130
env-update && source /etc/profile

tried emerge again:
Code:
emerge kdebase kdeadmin kdenetwork kdesdk kdemultimedia

got same error.
Reboot'ed.
tried again:
Code:
emerge kdebase kdeadmin kdenetwork kdesdk kdemultimedia

failed again.

tried the direct approach:
Code:

ln -s /usr/lib/gcc-lib/i686-pc-linux-gnu /usr/lib/gcc-lib/i386-pc-linux-gnu
ln -s /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6 /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5-20050130


which seems to work.
I guess the real question is, where is the i386-pc-linux-gnu/3.3.5-20050130 comming from?
I have not changed the arch since I built this installation - about a month ago.
Back to top
View user's profile Send private message
aromero3
n00b
n00b


Joined: 04 Nov 2005
Posts: 6

PostPosted: Mon Dec 26, 2005 7:16 pm    Post subject: re: dspgen and gcc profile Reply with quote

Code:
grep: /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5-20050130/libstdc++.la: No such file or directory

I did
Code:
fix_libtool_files.sh 3.3.5-20050130
env-update && source /etc/profile

tried emerge again:

tried the direct approach:
Code:

ln -s /usr/lib/gcc-lib/i686-pc-linux-gnu /usr/lib/gcc-lib/i386-pc-linux-gnu
ln -s /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6 /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5-20050130


Take out your symbolic links, that fix_libtool_files.sh also will fix thing when the architecture changes. You must have had a precompiled version installed from the base x86 stageX disc, but the new architecture is moving to the i686 base, so obviously this is where migration is needed, try this:

Code:
fix_libtool_files.sh 3.3.5-20050130 --oldarch i386-pc-linux-gnu
. Perform the environment update.

Also check directly to see that gcc itself is using the right profile with
Code:
gcc-config -c
and it should be the version you have just recently compiled.
Back to top
View user's profile Send private message
dspgen
Tux's lil' helper
Tux's lil' helper


Joined: 17 Aug 2005
Posts: 103

PostPosted: Mon Dec 26, 2005 9:20 pm    Post subject: Re: re: dspgen and gcc profile Reply with quote

aromero3 wrote:

...
Code:
fix_libtool_files.sh 3.3.5-20050130 --oldarch i386-pc-linux-gnu
. Perform the environment update.

Also check directly to see that gcc itself is using the right profile with
Code:
gcc-config -c
and it should be the version you have just recently compiled.

Thanks, here is what it fixed:
Code:
fix_libtool_files.sh 3.3.5-20050130 --oldarch i386-pc-linux-gnu
 * Scanning libtool files for hardcoded gcc library paths...
 *   [1/6] Scanning /lib ...
 *   [2/6] Scanning /usr/lib ...
 *     FIXING: /usr/lib/python2.3/site-packages/_lcms.la ...[cv]
 *     FIXING: /usr/lib/libaspell.la ...[cv]
 *     FIXING: /usr/lib/libpspell.la ...[cv]
 *     FIXING: /usr/lib/libjpeg.la ...[cv]
 *     FIXING: /usr/lib/imlib2/loaders/jpeg.la ...[cv]
 *     FIXING: /usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-jpeg.la ...[cv]
 *     FIXING: /usr/lib/gtk-2.0/2.4.0/filesystems/libgnome-vfs.la ...[cv]
 *     FIXING: /usr/lib/gtk-2.0/modules/libkeymouselistener.la ...[cv]
 *     FIXING: /usr/lib/gtk-2.0/modules/libdwellmouselistener.la ...[cv]
 *     FIXING: /usr/lib/libfam.la ...[cv]
 *     FIXING: /usr/lib/gnome-vfs-2.0/modules/libfile.la ...[cv]
 *     FIXING: /usr/lib/libglade/2.0/libgnome.la ...[cv]
 *     FIXING: /usr/lib/libgnomeui-2.la ...[cv]
 *     FIXING: /usr/lib/libmng.la ...[cv]
 *     FIXING: /usr/lib/libtiff.la ...[cv]
 *     FIXING: /usr/lib/libtiffxx.la ...[cv]
 *     FIXING: /usr/lib/libpcrecpp.la ...[cv]
 *   [3/6] Scanning /usr/i686-pc-linux-gnu/lib ...
 *   [4/6] Scanning /usr/kde/3.4/lib ...
 *   [5/6] Scanning /usr/local/lib ...
 *   [6/6] Scanning /usr/qt/3/lib ...


Code:
gcc-config -c
i686-pc-linux-gnu-3.3.6
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6
Page 6 of 6

 
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