This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12009] New: g++.dg/compat/compat.exp fails to crosscompile testcases
- From: "dank at kegel dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Aug 2003 13:09:26 -0000
- Subject: [Bug c++/12009] New: g++.dg/compat/compat.exp fails to crosscompile testcases
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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!