First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 12009
Product:  
Component:  
Status: RESOLVED
Resolution: FIXED
Assigned To: Not yet assigned to anyone <unassigned@gcc.gnu.org>
Host:
Reported against  
Priority:  
Severity:  
Target Milestone:  
 
 
Target:
Reporter: dank@kegel.com
Add CC:
CC:
Remove selected CCs
Build:
URL:
Summary:
Keywords:
Known to work:
Known to fail:

Attachment Description Type Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 12009 depends on: Show dependency tree
Show dependency graph
Bug 12009 blocks:

Additional Comments:






View Bug Activity   |   Format For Printing   |   Clone This Bug


Description:   Last confirmed: 2003-09-17 05:25 Opened: 2003-08-21 13:09
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!

------- Comment #1 From dank@kegel.com 2003-08-21 13:22 -------
Same problem occurs in g++.exp.
Fix is in last hunk of
http://www.kegel.com/crosstool/current/gcc-3.4-20030813-patches/gcc-3.4-20030813-g++.exp.patch

------- Comment #2 From Andrew Pinski 2003-08-21 13:33 -------
Can you please post your patches to gcc-patches@gcc.gnu.org?

------- Comment #3 From dank@kegel.com 2003-08-21 14:24 -------
OK.  Cleaned-up patch posted as
http://gcc.gnu.org/ml/gcc-patches/2003-08/msg01257.html

------- Comment #4 From CVS Commits 2003-12-18 19:40 -------
Subject: Bug 12009

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	steven@gcc.gnu.org	2003-12-18 19:39:58

Modified files:
	gcc/testsuite  : ChangeLog 
	gcc/testsuite/g++.dg/compat: compat.exp 
	gcc/testsuite/lib: g++.exp 

Log message:
	PR other/12009
	* g++.dg/compat/compat.exp:  Do not set LD_LIBRARY_PATH when
	testing a cross compiler, it causes spurious compile failures.
	* lib/g++.exp: Likewise.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3281&r2=1.3282
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/compat/compat.exp.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/lib/g++.exp.diff?cvsroot=gcc&r1=1.34&r2=1.35


------- Comment #5 From Steven Bosscher 2003-12-18 19:41 -------
Patch applied, so should be fixed now :-) 

First Last Prev Next    No search results available      Search page      Enter new bug