[Bug c++/12009] New: g++.dg/compat/compat.exp fails to crosscompile testcases

dank at kegel dot com gcc-bugzilla@gcc.gnu.org
Thu Aug 21 13:09:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: g++.dg/compat/compat.exp fails to crosscompile testcases
           Product: gcc
           Version: 3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dank at kegel dot com
                CC: gcc-bugs at gcc dot gnu dot org

g++.dg/compat/compat.exp sets LD_LIBRARY_PATH properly
for native build/test, but that setting causes compilation
to fail when building/testing a crosscompiler.
The simplest fix is to not touch LD_LIBRARY_PATH et al when
crosscompiling, and let the remote target worry about the runtime
environment.
Please apply
http://www.kegel.com/crosstool/current/gcc-3.4-20030813-patches/compat.exp.patch
Thanks!



More information about the Gcc-bugs mailing list