* 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 5259375..4fb6638 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 3bfdcc8..52a13e2 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