From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26640 invoked by alias); 21 Aug 2003 13:09:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 26630 invoked by uid 48); 21 Aug 2003 13:09:26 -0000 Date: Thu, 21 Aug 2003 13:09:00 -0000 From: "dank at kegel dot com" To: gcc-bugs@gcc.gnu.org Message-ID: <20030821130923.12009.dank@kegel.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/12009] New: g++.dg/compat/compat.exp fails to crosscompile testcases X-Bugzilla-Reason: CC X-SW-Source: 2003-08/txt/msg02302.txt.bz2 List-Id: 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!