------- Comment #3 from janis at gcc dot gnu dot org  2009-07-08 17:08 -------
I can reproduce the error with plugin.exp not struct-layout-1.exp.  This fixes
it for me, does it for you guys?

Index: gcc/testsuite/lib/gcc.exp
===================================================================
--- gcc/testsuite/lib/gcc.exp   (revision 149287)
+++ gcc/testsuite/lib/gcc.exp   (working copy)
@@ -96,6 +96,7 @@ proc gcc_init { args } {
     global TOOL_EXECUTABLE
     global gcc_warning_prefix
     global gcc_error_prefix
+    global ld_library_path

     if { $gcc_initialized == 1 } { return; }

@@ -113,6 +114,7 @@ proc gcc_init { args } {

     set gcc_warning_prefix "warning:"
     set gcc_error_prefix "error:"
+    set ld_library_path ""

     gcc_maybe_build_wrapper "${tmpdir}/gcc-testglue.o"
 }


-- 


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

Reply via email to