Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14350 - gcc doesn't install libstdc++.so*
Summary: gcc doesn't install libstdc++.so*
Status: RESOLVED DUPLICATE of bug 15025
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-22 01:43 UTC by Clint Silvester
Modified: 2005-07-17 13:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
output of emerge gcc, note no libstdc++.so files (log.bz2,129.23 KB, text/plain)
2003-01-22 01:45 UTC, Clint Silvester
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Clint Silvester 2003-01-22 01:43:12 UTC
I've been having a problem with gcc not creating any libstdc++.so libstdc++.so.5
or libstdc++.so.5.0.2.  I first had the problem when upgrading to gcc-config and
having a problem with wrapper.  Azarah helped me with the problem with wrapper,
but upon emerging gcc, i had no libstdc++.so.5, which python (and thus emerge)
required.  seemant built a binary for me, and i have extracted it and got a gcc
working.  Now, even if i try to emerge the same version of gcc(3.2.1-r6, btw),
it never seems to install the libstdc++.so's, but the ones from the binary I got
from seemant are still in place and let applications run.  However, this seems
to be the cause of problems i am having relating to undefined versioned symbol
time_put_w@@GLIBCPP_3.2 when compiling things like mozilla, aspell, and arts.  I
assume this because that is the only place I can find that string
time_put_w@@GLIBCPP_3.2  If I just untar the binary I can compile the apps, and
everything works with that, but I cannot upgrade gcc anymore.  So I'm wondering
what I can do to fix this.  I guess maybe I should just point libstdc++.so.5 to
something else?  I don't know.  I'll post the output of emerge gcc after this,
maybe you can see something there.
Comment 1 Clint Silvester 2003-01-22 01:45:09 UTC
Created attachment 7522 [details]
output of emerge gcc, note no libstdc++.so files
Comment 2 SpanKY gentoo-dev 2003-01-22 11:34:32 UTC
is this a system you upgraded from 1.2 to 1.4 ? 
Comment 3 Clint Silvester 2003-01-22 14:05:16 UTC
Yes, this is an upgrade from 1.2 to 1.4.
Comment 4 Clint Silvester 2003-01-22 14:05:50 UTC
Yes, this is an upgrade from 1.2 to 1.4.
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2003-01-22 17:52:42 UTC
SpanKY, can you still remember if that upgrade docs/scripts from carpaski/mkennedy
is still around somewhere ?
Comment 7 Clint Silvester 2003-01-22 21:11:30 UTC
Well, this is what I did in the first place to upgrade to 1.4.  Was there a
problem doing it this way?  I had no problems for a long long time, then started
getting errors about the time_put_w symbol.  Should I go through all this again?
Comment 8 Martin Schlemmer (RETIRED) gentoo-dev 2003-01-22 22:50:11 UTC
No, its rather a problem upgrading from gcc2 to gcc3.  There are usually
weird problems, etc.  You could try to do the whole thing again, else
maybe do a fresh install ?
Comment 9 Clint Silvester 2003-01-23 00:07:39 UTC
Ok, going through all those steps again fixed it up.  gcc now makes the
libstdc++ files when it built using those scripts. I only got through step 3
before I tested this, but it looks ok, so far.  I'm excited now that my system
is all better :)  Thanks for your help.
Comment 10 Clint Silvester 2003-03-13 17:20:04 UTC
Well, I gotta report my system is still not generating the libstdc++.so.* files whenever a new gcc comes out.  I can't find what is causing this.  I have tried different things and some things work.  One time it was suggested recompiling binutils and then gcc, and gcc did create the files after that, but again when a new gcc came out, the files were missing again.  I even went through the same steps that were suggested and it didn't work again.  Is there something I can try to see why these files aren't being created?  I'm pretty much refusing to re-install as this is the only problem I have.
Comment 11 Martin Schlemmer (RETIRED) gentoo-dev 2003-03-13 23:57:47 UTC
Basically remerge gcc-3.2.2 after you had done a 'emerge rsync', and
run:

 # fix_libtool_files.sh 3.2.1

For more help, just run the script:

---------------------------------------------
nosferatu devfsd # fix_libtool_files.sh 
Usage: fix_libtool_files.sh <old-gcc-version>

    Where <old-gcc-version> is the version number of the
    previous gcc version.  For example, if you updated to
    gcc-3.2.1, and you had gcc-3.2 installed, run:

      # fix_libtool_files.sh 3.2

nosferatu devfsd # 


*** This bug has been marked as a duplicate of 15025 ***
Comment 12 Martin Schlemmer (RETIRED) gentoo-dev 2003-03-15 09:20:30 UTC
You have 'static' in your USE flags ....
Comment 13 Clint Silvester 2003-03-16 18:38:42 UTC
Yep, taking out the static use flag fixed it right up.  Should it fail if static is in the use flags, though?  I heard it doesn't do anything on 3.2, so I shouldn't use it anyway.  Well, thanks again for helping me with this.
Comment 14 Martin Schlemmer (RETIRED) gentoo-dev 2003-03-17 13:50:52 UTC
Ill fix it some time to not compile static if c++ compiler are build or maybe
totally remove it.