Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 175900 - libstdc++.so no version information available with newer binutils
Summary: libstdc++.so no version information available with newer binutils
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-24 19:35 UTC by Peter Volkov (RETIRED)
Modified: 2007-05-14 14:48 UTC (History)
0 users

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


Attachments
Patch to fix the problem. (gcc-4.1.2-ld-version-detection.patch,568 bytes, patch)
2007-04-24 19:36 UTC, Peter Volkov (RETIRED)
Details | Diff
Patch for configure script to avoid autoconf run. (gcc-4.1.2-ld-version-detection-configure.patch,4.29 KB, patch)
2007-04-24 19:39 UTC, Peter Volkov (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Volkov (RETIRED) gentoo-dev 2007-04-24 19:35:05 UTC
During compilation of gcc-4.1.2 with currently hard masked binutils any g++ application during startup will show warning like this:

sim: /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6: no version
information available (required by /usr/kde/3.5/lib/libkdesu.so.4)

The problem is that in newer binutils changed the output of ld --version and that is why changes required to properly determine ld version:

http://gcc.gnu.org/ml/gcc-patches/2007-04/msg01486.html

I've reproduced this problem with binutils 2.17.50.0.14 and 2.17.50.0.15 but may be problem was introduced earlier.
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2007-04-24 19:36:19 UTC
Created attachment 117162 [details, diff]
Patch to fix the problem.
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2007-04-24 19:39:14 UTC
Created attachment 117165 [details, diff]
Patch for configure script to avoid autoconf run.

This patch is not required as this change could be redone with autodconf run. But to test changes locally I use this patch to avoid autoconf run in libstdc++ subdirectory.
Comment 3 SpanKY gentoo-dev 2007-05-14 14:48:04 UTC
added to 4.1.2 and 4.1.2-r1, thanks for the info/patch