diff options
author | Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk> | 2009-12-22 22:11:27 +0000 |
---|---|---|
committer | Janis Johnson <janis@gcc.gnu.org> | 2009-12-22 22:11:27 +0000 |
commit | 1d32a77299d85c86579f55b6a211e27c9a7dd9d0 (patch) | |
tree | 276226950720312d163d3a137b5a15f95c8c7bd7 /gcc | |
parent | 4e7caa34a2092e248a538e108689c8f4cfb03159 (diff) | |
download | gcc-1d32a77299d85c86579f55b6a211e27c9a7dd9d0.zip gcc-1d32a77299d85c86579f55b6a211e27c9a7dd9d0.tar.gz gcc-1d32a77299d85c86579f55b6a211e27c9a7dd9d0.tar.bz2 |
re PR target/41605 (Static linking of libgcc/libgfortran/libstdc++ can cause inconsistent symbol resolution.)
2009-12-22 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
gcc/
PR target/41605
* lib/g++.exp: Provide -B options to allow for link spec %s
substitutions for static libraries.
libstdc++-v3/
PR target/41605
* testsuite/libstdc++-abi/abi.exp: Provide -B options to allow for
link spec %s substitutions for static libraries.
* testsuite/lib/libstdc++.exp: Ditto
libgomp/
PR target/41605
* testsuite/lib/libgomp.exp: Provide -B options to allow for
link spec %s substitutions for static libraries.
From-SVN: r155408
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/lib/g++.exp | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8d859a4e..9cf74ee 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2009-12-22 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk> + + PR target/41605 + * lib/g++.exp: Provide -B options to allow for link spec %s + substitutions for static libraries. + 2009-12-22 Brian Hackett <bhackett1024@gmail.com> * g++.dg/plugin/attribute_plugin.c: Rename pre-genericize event. diff --git a/gcc/testsuite/lib/g++.exp b/gcc/testsuite/lib/g++.exp index df6030b..9de817b 100644 --- a/gcc/testsuite/lib/g++.exp +++ b/gcc/testsuite/lib/g++.exp @@ -125,6 +125,9 @@ proc g++_link_flags { paths } { } if [file exists "${gccpath}/libstdc++-v3/src/.libs/libstdc++.a"] { append flags " -L${gccpath}/libstdc++-v3/src/.libs " + # Some targets use libstdc++.a%s in their specs, so they need a + # -B option for uninstalled testing. + append flags " -B${gccpath}/libstdc++-v3/src/.libs " append ld_library_path ":${gccpath}/libstdc++-v3/src/.libs" } # Look for libstdc++.${shlib_ext}. |