* lib/ubsan-dg.exp: Add library path for libstdc++.
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Mon, 22 Dec 2014 21:57:45 +0000 (21:57 +0000)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Mon, 22 Dec 2014 21:57:45 +0000 (21:57 +0000)
From-SVN: r219035

gcc/testsuite/ChangeLog
gcc/testsuite/lib/ubsan-dg.exp

index 525937517fdb8e6b0c333f77f1b227114c5264d3..4fb663862cd272193829f1eee2608690479651ec 100644 (file)
@@ -1,3 +1,7 @@
+2014-12-22  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       * lib/ubsan-dg.exp: Add library path for libstdc++.
+
 2014-12-22  Oleg Endo  <olegendo@gcc.gnu.org>
 
        PR target/58314
index 3bfdcc85bb0a6ac944aab51963033b7b68568b64..52a13e2bb150d64ec3e9e24e132d65c44a042351 100644 (file)
@@ -47,6 +47,7 @@ proc ubsan_link_flags { paths } {
          append flags " -B${gccpath}/libsanitizer/ubsan/ "
          append flags " -L${gccpath}/libsanitizer/ubsan/.libs"
          append ld_library_path ":${gccpath}/libsanitizer/ubsan/.libs"
+         append ld_library_path ":${gccpath}/libstdc++-v3/src/.libs"
       }
     } else {
       global tool_root_dir