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  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
N715DP
n00b
n00b


Joined: 04 Dec 2004
Posts: 17

PostPosted: Wed Jan 19, 2005 8:22 pm    Post subject: Reply with quote

Same here, although in my case with 'emerge jpeg':


jpeg was what was killing me as well. If you hit a brick wall like I did, you can always go the "ugly" way and make a sym link from 3.3.4 to 3.3.5 which should clear it up.

Good luck.
Back to top
View user's profile Send private message
mikenerone
n00b
n00b


Joined: 11 Feb 2004
Posts: 20
Location: San Antonio, TX

PostPosted: Wed Jan 19, 2005 9:22 pm    Post subject: Reply with quote

Remerging libtool would probably fix these things, too (you can see the hardcoded references to the (possibly out of date) paths right in the libtool shell script - fix_libtool_files.sh should probably tweak these, also).

Note that with maketest in FEATURES, libtool fails one test on my system, so I had to turn maketest off when merging it in order to get a working compile system again.
Back to top
View user's profile Send private message
msl75
n00b
n00b


Joined: 16 Aug 2004
Posts: 43
Location: 18.667 E, 54.350 N

PostPosted: Wed Jan 19, 2005 11:00 pm    Post subject: Thank You Reply with quote

Hi

Thank You very much for this solution. :D
I've run into troubles with emerging kdelibs after upadate of gcc to 3.3.5. :(
...but after this fix it finished without any problems.

Greetings

Maciek
Back to top
View user's profile Send private message
Kensai
Guru
Guru


Joined: 09 Mar 2004
Posts: 568
Location: Puerto Rico

PostPosted: Thu Jan 20, 2005 2:27 pm    Post subject: Reply with quote

I know you've got a lot of thanks but you deserve them as I didn't knew how to solve it and now everything compiles just fine. Thanks!!!!
Back to top
View user's profile Send private message
Magneto
n00b
n00b


Joined: 16 Dec 2004
Posts: 31

PostPosted: Thu Jan 20, 2005 2:47 pm    Post subject: Reply with quote

I must also say Thanks to the original poster.
Back to top
View user's profile Send private message
pitcrawler
Apprentice
Apprentice


Joined: 09 Jan 2005
Posts: 154
Location: Oklahoma, USA

PostPosted: Thu Jan 20, 2005 3:36 pm    Post subject: Reply with quote

Someone should maybe make this thread sticky. There's loads of duplicate posts from people having the same problem that's discussed here.
Back to top
View user's profile Send private message
humbabba
n00b
n00b


Joined: 12 Aug 2004
Posts: 14

PostPosted: Thu Jan 20, 2005 5:26 pm    Post subject: Reply with quote

I have to thank L41n for finding a solution that was driving me crazy :D
Back to top
View user's profile Send private message
tecknojunky
Veteran
Veteran


Joined: 19 Oct 2002
Posts: 1937
Location: Montréal

PostPosted: Thu Jan 20, 2005 8:16 pm    Post subject: Reply with quote

I third that. libjpeg still points to 3.3.4. How can it be fixed when all of the above have been done?
_________________
(7 of 9) Installing star-trek/species-8.4.7.2::talax.
Back to top
View user's profile Send private message
tecknojunky
Veteran
Veteran


Joined: 19 Oct 2002
Posts: 1937
Location: Montréal

PostPosted: Thu Jan 20, 2005 8:22 pm    Post subject: Reply with quote

mikenerone wrote:
Remerging libtool would probably fix these things,
Answering myself (sorry, I did no see there was a third page to this thread).

Yes, remerging libtool fixed the problem for me. Thanks.
_________________
(7 of 9) Installing star-trek/species-8.4.7.2::talax.
Back to top
View user's profile Send private message
hds
Advocate
Advocate


Joined: 21 Aug 2004
Posts: 2629
Location: Sprockhoevel [GER]

PostPosted: Thu Jan 20, 2005 8:25 pm    Post subject: Reply with quote

pitcrawler wrote:
Someone should maybe make this thread sticky. There's loads of duplicate posts from people having the same problem that's discussed here.

yes, so this is a dupe as well, as i already pointed out. use the search function:
https://forums.gentoo.org/viewtopic.php?t=27486&highlight=gcc
Back to top
View user's profile Send private message
aljimenezg
n00b
n00b


Joined: 17 Jun 2003
Posts: 8
Location: Madrid Spain

PostPosted: Thu Jan 20, 2005 9:49 pm    Post subject: Reply with quote

Thanks so much,

The shortest, easiest and most useful solution I've found in this helpfull forum.

Alberto
Back to top
View user's profile Send private message
KenTI
n00b
n00b


Joined: 28 Jan 2004
Posts: 53
Location: Italy

PostPosted: Thu Jan 20, 2005 10:39 pm    Post subject: Reply with quote

Worked for me too :D
thanks!!
Back to top
View user's profile Send private message
torque2k3
n00b
n00b


Joined: 09 Oct 2003
Posts: 10
Location: Grand Rapids, MI

PostPosted: Mon Jan 24, 2005 3:18 am    Post subject: Reply with quote

djwilf wrote:
For those of you, if like me, are seeing i386 in the LIB path error, but is now using i686, then run the fix tool as follows :

fix_libtool_files.sh 3.3.4 --oldarch i386-pc-linux-gnu

Coming into a fresh 2004.3 install with prebuilt packages, this was the first thing I had problems with (trying to emerge kuroo), and I found this a stupid error to have popping up. This fixed my errors completely. Just an FYI.

BTW, I DID in fact do a bunch of searches on this issue, and only here did I find a decent explanation of what's happening, as well as the exact fix for my particular problem. Since I didn't UPDATE gcc, Mr. Angry (I like that better than your real handle :wink: ), why would I have thought to search for "gcc update"? Searching for "libstdc++" brought this thread up, and thank goodness for it.

This is yet another reason similar threads need to stay put! You just can't tell what the exact issue is that people will be searching for to come across info such as this. And it's yet another reason I keep coming back to Gentoo after wading into the deep end of Distrowatch's pool... Yes, it's an addiction. :D
Back to top
View user's profile Send private message
andrewsharpe
n00b
n00b


Joined: 22 Nov 2004
Posts: 1

PostPosted: Mon Jan 31, 2005 11:23 am    Post subject: Reply with quote

Thanks for your posts everyone.

I had the problem with emerging jpeg, and I tried all solutions mentioned. I found the following in /etc/env.d/gcc/i386-pc-linux-gnu-3.3.5
Code:
LDPATH="/usr/lib/globus-2.4/lib"

so of course I tacked on the end to make the following
Code:
LDPATH="/usr/lib/globus-2.4/lib:/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5"

unfortunately, this is what resulted:
Code:
root ~ gcc-config 1
 * /usr/bin/gcc-config: Profile does not exist or invalid setting for /etc/env.d/gcc/i386-pc-linux-gnu-3.3.5
 * Switching to i386-pc-linux-gnu-3.3.5 compiler...                           [ ok ]

If I put the gcc path in first:
Code:
LDPATH="/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5:/usr/lib/globus-2.4/lib"

the result is
Code:
root ~ gcc-config 1
 * Switching to i386-pc-linux-gnu-3.3.5 compiler...                           [ ok ]

and now media-libs/jpeg compiles fine. Hope this helps.

Andrew
Back to top
View user's profile Send private message
SKPhoton
n00b
n00b


Joined: 05 May 2004
Posts: 4

PostPosted: Tue Feb 01, 2005 3:40 am    Post subject: Reply with quote

Ah, that worked. Thank you!
Back to top
View user's profile Send private message
smonijhay1
Apprentice
Apprentice


Joined: 29 Apr 2004
Posts: 229
Location: Ann Arbor Michigan

PostPosted: Wed Feb 02, 2005 11:31 pm    Post subject: Reply with quote

Sweet wonderful solution!!

I got three issues taken care of from this one thread! :D

1. realized my libtool was WAY outdated so I updated those
2. ran the fix_libtool_files.sh 3.3.4 --oldarch i386-pc-linux-gnu as suggested by djwilf
3. ran the fix_libtool_files.sh 3.3.4.2 to fix the obscure gcc that was created
4. Smiled happily!
_________________
you mean you are going to remember me by what I type....here?
Back to top
View user's profile Send private message
kelargo
n00b
n00b


Joined: 03 Jul 2004
Posts: 51

PostPosted: Thu Feb 03, 2005 6:28 am    Post subject: good thread! Reply with quote

this didnt quite work...

>env-update
>source /etc/profile

>fix_libtool_files.sh 3.3.4

until I saw someone post this:
>fix_libtool_files.sh 3.3.4 --oldarch i386-pc-linux-gnu

thanks! I'm now able to emerge kde.
Back to top
View user's profile Send private message
Aziraphale
n00b
n00b


Joined: 14 Oct 2004
Posts: 7
Location: Portland, OR

PostPosted: Thu Feb 03, 2005 9:31 am    Post subject: Reply with quote

I was having the same problem when emerging jpeg,

remerging libtool did fix the problem even though I am coming off of a fresh 2004.3 install. Didnt even install a new version of libtool, just re-emerged.

Seems weird to me.

Anyway, thanks a ton for the help.
Back to top
View user's profile Send private message
cdoglinux
n00b
n00b


Joined: 26 Feb 2004
Posts: 8
Location: Chippewa Falls, WI

PostPosted: Sun Feb 06, 2005 6:13 am    Post subject: still having issues Reply with quote

Hey all,

I'm having issues with the same stuff, trying to compile gedit, which is a requirement for gnome. Here's the output:

/bin/sh ../../libtool --mode=link gcc -O2 -march=athlon-xp -fomit-frame-pointer -o libspell.la -rpath /usr/lib/gedit-2/plugins -module -avoid-version spell.lo gedit-spell-checker.lo gedit-spell-checker-dialog.lo gedit-spell-language-dialog.lo gedit-automatic-spell-checker.lo gedit-spell-checker-dialog-marshal.lo -laspell -lpopt
grep: /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/libstdc++.la' is not a valid libtool archive
make[4]: *** [libspell.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/gedit-2.8.2/work/gedit-2.8.2/plugins/spell'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/gedit-2.8.2/work/gedit-2.8.2/plugins/spell'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gedit-2.8.2/work/gedit-2.8.2/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gedit-2.8.2/work/gedit-2.8.2'
make: *** [all] Error 2

!!! ERROR: app-editors/gedit-2.8.2 failed.
!!! Function gnome2_src_compile, Line 40, Exitcode 2
!!! compile failure
!!! If you need support, post the topmost build error, NOT this status message.


It keeps trying to look for /usr/lib/gcc-lib/i386...., when that doesn't exist. The right directory is actually:

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5

I've tried upgrading to gcc-3.3.5, I tried the fix_libtool_files.sh tool like:

fix_libtool_files.sh 3.3.4 --oldarch i686-pc-linux-gnu, and that didn't work, I tried the gcc-config thing, that didn't work.

I tried editing the /etc/ld.so.conf file, and the entries in /etc/env.d/* all to point to the right stuff, then running env-update, and that didn't work at all.

Am I simply doing things in the wrong order? Did I miss something?
:? :x :x

Any input anyone can give would be appreciated greatly.

make.conf output:

# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"

MAKEOPTS="-j2"
ALSA_CARDS="emu10k1"
USE="x86 xml oss arts avi bitmap-fonts crypt cups gif gtk gtk2 imlib
jpeg kde gnome libg++ libwww mikmod motif mpeg ncurses nls oggvorbis
opengl pam pdflib png python qt quicktime readone sdl spell ssl svga tcpd truetype X xml2 xv zlib usb dvd divx"
PORTDIR_OVERLAY=/usr/local/portage
_________________
Shake up the World: Linux
Back to top
View user's profile Send private message
bysse
n00b
n00b


Joined: 14 Jul 2004
Posts: 70
Location: Sweden

PostPosted: Sun Feb 06, 2005 12:16 pm    Post subject: Reply with quote

(edit)
Well gcc had nothing to do with the problem, it was a human error. But prelink was making some troubles when i've installed some new libs. Easily fixed by running prelink again. Sorry for the troube...

I've just updated my system (including gcc), and have big problems. My beloved emacs doesn't work and i can't re-emerge it!
Code:
$ emacs
emacs: Symbol `_XmStrings' has different size in shared object, consider re-linking
Fatal error (6).Aborted

I've tried all the fixes posted in this tread but it doesn't work, I think it has something to do with prelink. Anyone experienced any problems with prelink?
Back to top
View user's profile Send private message
fyreflyer
n00b
n00b


Joined: 02 Jan 2005
Posts: 12

PostPosted: Sun Feb 06, 2005 7:09 pm    Post subject: Reply with quote

I had the same "cannot create executables" error, but gcc had been working for some time. I had just added "LDFLAGS = Wl,O1" to my make.conf, and removing it fixed the problem. Hope this might help someone! =)
Back to top
View user's profile Send private message
RoceKiller
n00b
n00b


Joined: 13 Jul 2003
Posts: 3
Location: Grenaa, Denmark

PostPosted: Tue Feb 08, 2005 8:00 pm    Post subject: Reply with quote

A couple of weeks ago I installed gentoo on a friends computer, and ran into this problem. I searched like crasy, and tried everyting I could think off, but nothing helped. So I had to drop it. :(

A few days ago I lost my primary harddisk, and therfore had to reinstall gentoo on a new harddisk, and ran into this problem again. So I was really scared that I would have to give up gentoo at my own machine, but decided to google a little more for a solution, afterall it's been existing for atleast two weeks now, so somebody must have noticed it (and hopefully solved it too.) And it seems somebody had, fortunately. I tried the fix_gcc_thing and gcc-config 1, but only reemerging libtools helped.

My point beeing, it is NOT GOOD (TM) that it isn't possible to install a new functional gentoo system for two weeks. A problem with gcc or g++ in the _stable_ gentoo, should be fixed within a day!

That's just my opinion, what do you think? (devs?)
Back to top
View user's profile Send private message
gorjusborg
n00b
n00b


Joined: 22 Feb 2003
Posts: 24
Location: Sunnyvale, CA

PostPosted: Wed Feb 09, 2005 9:07 pm    Post subject: Love all around Reply with quote

Thanks for posting this :D

For some reason I never ran into any problems after upgrading to gcc 3.3.5, until today, when I tried to emerge lyx (and it got to image-magick which died).

I tried a couple of things, but finally stumbled upon your post...
thank you!
Back to top
View user's profile Send private message
gorjusborg
n00b
n00b


Joined: 22 Feb 2003
Posts: 24
Location: Sunnyvale, CA

PostPosted: Wed Feb 09, 2005 9:22 pm    Post subject: Reply with quote

RoceKiller wrote:

My point beeing, it is NOT GOOD (TM) that it isn't possible to install a new functional gentoo system for two weeks. A problem with gcc or g++ in the _stable_ gentoo, should be fixed within a day!

That's just my opinion, what do you think? (devs?)


I think we all know how it feels to struggle with something for a long period. We have better things to worry about than 'will i ever get my computer up and running the way I want again?'.

With that said, may I suggest trying to keep in mind that the gentoo people are developers on a volunteer basis for the most part. You are not required to fund them by purchasing anything, and they do this because it is enjoyable for them in some way. Chastising them will get you nowhere, and probably have the opposite effect of what you are seeking: 'faster fixes', simply because attitudes like portrayed in this comment make them feel unappreciated. There is nothing better to de-motivate someone than this.

If you want to see improvement in response time, maybe you should donate to the cause, so they can hire help. Other than that, there is not much you can do, unless you want to become a developer.

For heaven's sake, the person posting this fix help you out quite a bit. How do you know he isn't a developer?
Back to top
View user's profile Send private message
robin-root
n00b
n00b


Joined: 10 Feb 2005
Posts: 1
Location: Milan, Italy

PostPosted: Thu Feb 10, 2005 10:32 am    Post subject: Reply with quote

Hi,
this solution:
Quote:
fix_libtool_files.sh 3.3.4

solved me the problem with
Quote:
emerge php


Thanks :wink:
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  Next
Page 3 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