public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/12009] New: g++.dg/compat/compat.exp fails to crosscompile testcases
@ 2003-08-21 13:09 dank at kegel dot com
  2003-08-21 13:22 ` [Bug other/12009] g++.dg, compat.exp fail " dank at kegel dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: dank at kegel dot com @ 2003-08-21 13:09 UTC (permalink / raw)
  To: gcc-bugs

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!


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug other/12009] g++.dg, compat.exp fail to crosscompile testcases
  2003-08-21 13:09 [Bug c++/12009] New: g++.dg/compat/compat.exp fails to crosscompile testcases dank at kegel dot com
@ 2003-08-21 13:22 ` dank at kegel dot com
  2003-08-21 13:33 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: dank at kegel dot com @ 2003-08-21 13:22 UTC (permalink / raw)
  To: gcc-bugs

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


dank at kegel dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |other
            Summary|g++.dg/compat/compat.exp    |g++.dg, compat.exp fail to
                   |fails to crosscompile       |crosscompile testcases
                   |testcases                   |


------- Additional Comments From dank at kegel dot 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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug other/12009] g++.dg, compat.exp fail to crosscompile testcases
  2003-08-21 13:09 [Bug c++/12009] New: g++.dg/compat/compat.exp fails to crosscompile testcases dank at kegel dot com
  2003-08-21 13:22 ` [Bug other/12009] g++.dg, compat.exp fail " dank at kegel dot com
@ 2003-08-21 13:33 ` pinskia at gcc dot gnu dot org
  2003-08-21 14:24 ` dank at kegel dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-21 13:33 UTC (permalink / raw)
  To: gcc-bugs

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



------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-21 13:33 -------
Can you please post your patches to gcc-patches@gcc.gnu.org?


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug other/12009] g++.dg, compat.exp fail to crosscompile testcases
  2003-08-21 13:09 [Bug c++/12009] New: g++.dg/compat/compat.exp fails to crosscompile testcases dank at kegel dot com
  2003-08-21 13:22 ` [Bug other/12009] g++.dg, compat.exp fail " dank at kegel dot com
  2003-08-21 13:33 ` pinskia at gcc dot gnu dot org
@ 2003-08-21 14:24 ` dank at kegel dot com
  2003-09-17  5:43 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: dank at kegel dot com @ 2003-08-21 14:24 UTC (permalink / raw)
  To: gcc-bugs

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



------- Additional Comments From dank at kegel dot com  2003-08-21 14:24 -------
OK.  Cleaned-up patch posted as
http://gcc.gnu.org/ml/gcc-patches/2003-08/msg01257.html


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug other/12009] g++.dg, compat.exp fail to crosscompile testcases
  2003-08-21 13:09 [Bug c++/12009] New: g++.dg/compat/compat.exp fails to crosscompile testcases dank at kegel dot com
                   ` (2 preceding siblings ...)
  2003-08-21 14:24 ` dank at kegel dot com
@ 2003-09-17  5:43 ` pinskia at gcc dot gnu dot org
  2003-12-18 19:53 ` cvs-commit at gcc dot gnu dot org
  2003-12-18 20:09 ` steven at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-17  5:43 UTC (permalink / raw)
  To: gcc-bugs

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-09-17 05:25:39
               date|                            |


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug other/12009] g++.dg, compat.exp fail to crosscompile testcases
  2003-08-21 13:09 [Bug c++/12009] New: g++.dg/compat/compat.exp fails to crosscompile testcases dank at kegel dot com
                   ` (3 preceding siblings ...)
  2003-09-17  5:43 ` pinskia at gcc dot gnu dot org
@ 2003-12-18 19:53 ` cvs-commit at gcc dot gnu dot org
  2003-12-18 20:09 ` steven at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-12-18 19:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  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



-- 


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug other/12009] g++.dg, compat.exp fail to crosscompile testcases
  2003-08-21 13:09 [Bug c++/12009] New: g++.dg/compat/compat.exp fails to crosscompile testcases dank at kegel dot com
                   ` (4 preceding siblings ...)
  2003-12-18 19:53 ` cvs-commit at gcc dot gnu dot org
@ 2003-12-18 20:09 ` steven at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: steven at gcc dot gnu dot org @ 2003-12-18 20:09 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From steven at gcc dot gnu dot org  2003-12-18 19:41 -------
Patch applied, so should be fixed now :-) 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-12-18 19:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-21 13:09 [Bug c++/12009] New: g++.dg/compat/compat.exp fails to crosscompile testcases dank at kegel dot com
2003-08-21 13:22 ` [Bug other/12009] g++.dg, compat.exp fail " dank at kegel dot com
2003-08-21 13:33 ` pinskia at gcc dot gnu dot org
2003-08-21 14:24 ` dank at kegel dot com
2003-09-17  5:43 ` pinskia at gcc dot gnu dot org
2003-12-18 19:53 ` cvs-commit at gcc dot gnu dot org
2003-12-18 20:09 ` steven at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).