This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug testsuite/31369] 100's of new libgomp fails



------- Comment #4 from dave at hiauly1 dot hia dot nrc dot ca  2007-04-06 22:59 -------
Subject: Re:  100's of new libgomp fails

> Perhaps hppa64 needs the same change to libgomp.exp as in
> http://gcc.gnu.org/ml/gcc-patches/2007-03/msg01497.html ?

I don't think this is necessary.

> These tests all fail because shared libgcc library is not found.

Yes (well almost all).  They fail because of whitespace in LD_LIBRARY_PATH
in the c++ and fortran tests.  You can see it in the test log.

The enclosed change fixes the problem for me.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)

Index: testsuite/libgomp.c++/c++.exp
===================================================================
--- testsuite/libgomp.c++/c++.exp       (revision 123536)
+++ testsuite/libgomp.c++/c++.exp       (working copy)
@@ -28,7 +28,7 @@
     # Gather a list of all tests.
     set tests [lsort [glob -nocomplain $srcdir/$subdir/*.C]]

-    set ld_library_path [concat $always_ld_library_path
":${blddir}/${lang_library_path}"]
+    set ld_library_path
"$always_ld_library_path:${blddir}/${lang_library_path}"
     set_ld_library_path_env_vars

     # Main loop.
Index: testsuite/libgomp.fortran/fortran.exp
===================================================================
--- testsuite/libgomp.fortran/fortran.exp       (revision 123536)
+++ testsuite/libgomp.fortran/fortran.exp       (working copy)
@@ -12,7 +12,7 @@
     # Gather a list of all tests.
     set tests [lsort [find $srcdir/$subdir *.\[fF\]{,90,95,03}]]

-    set ld_library_path [concat $always_ld_library_path
":${blddir}/${lang_library_path}"]
+    set ld_library_path
"$always_ld_library_path:${blddir}/${lang_library_path}"
     set_ld_library_path_env_vars

     # Main loop.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31369


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]