public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/23609] New: all obj-c++ execute tests fails with the GNU runtime
@ 2005-08-29  3:37 pinskia at gcc dot gnu dot org
  2005-08-30 17:00 ` [Bug testsuite/23609] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-29  3:37 UTC (permalink / raw)
  To: gcc-bugs

All obj-c++ execute tests fails with the GNU runtime:
Setting LD_LIBRARY_PATH to .:/home/pinskia/src/onetest/gcc/objdir/x86_64-unknown-linux-gnu/./
libstdc++-v3/src/.libs:/home/pinskia/src/onetest/gcc/objdir/gcc:/home/pinskia/src/onetest/gcc/
objdir/gcc:.:/home/pinskia/src/onetest/gcc/objdir/x86_64-unknown-linux-gnu/./libstdc++-v3/src/
.libs:/home/pinskia/src/onetest/gcc/objdir/gcc:/home/pinskia/src/onetest/gcc/objdir/gcc:.:/home/
pinskia/src/onetest/gcc/objdir/x86_64-unknown-linux-gnu/./libstdc++-v3/src/.libs:/home/pinskia/
src/onetest/gcc/objdir/gcc
./basic.exe: error while loading shared libraries: libobjc.so.1: cannot open shared object file: No such 
file or directory

looks for some reason LD_LIBRARY_PATH does not include libobjc for some reason

-- 
           Summary: all obj-c++ execute tests fails with the GNU runtime
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: testsuite
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug testsuite/23609] all obj-c++ execute tests fails with the GNU runtime
  2005-08-29  3:37 [Bug testsuite/23609] New: all obj-c++ execute tests fails with the GNU runtime pinskia at gcc dot gnu dot org
@ 2005-08-30 17:00 ` pinskia at gcc dot gnu dot org
  2005-08-30 17:06 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-30 17:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-30 16:55 -------
Created an attachment (id=9625)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9625&action=view)
patch which should but needs testing

I am taking this, this is the patch which I am looking into right now.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED


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


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

* [Bug testsuite/23609] all obj-c++ execute tests fails with the GNU runtime
  2005-08-29  3:37 [Bug testsuite/23609] New: all obj-c++ execute tests fails with the GNU runtime pinskia at gcc dot gnu dot org
  2005-08-30 17:00 ` [Bug testsuite/23609] " pinskia at gcc dot gnu dot org
@ 2005-08-30 17:06 ` pinskia at gcc dot gnu dot org
  2005-08-30 17:08 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-30 17:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-30 17:00 -------
But now they fail with:
objc runtime: cannot find class Foo
FAIL: obj-c++.dg/method-17.mm execution test

which looks like a front-end bug.

Let me look into that.

-- 


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


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

* [Bug testsuite/23609] all obj-c++ execute tests fails with the GNU runtime
  2005-08-29  3:37 [Bug testsuite/23609] New: all obj-c++ execute tests fails with the GNU runtime pinskia at gcc dot gnu dot org
  2005-08-30 17:00 ` [Bug testsuite/23609] " pinskia at gcc dot gnu dot org
  2005-08-30 17:06 ` pinskia at gcc dot gnu dot org
@ 2005-08-30 17:08 ` pinskia at gcc dot gnu dot org
  2005-08-30 17:19 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-30 17:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-30 17:06 -------
(In reply to comment #2)
> But now they fail with:
> objc runtime: cannot find class Foo
> FAIL: obj-c++.dg/method-17.mm execution test
> 
> which looks like a front-end bug.

Yes __objc_gnu_init is not called at all.

-- 


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


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

* [Bug testsuite/23609] all obj-c++ execute tests fails with the GNU runtime
  2005-08-29  3:37 [Bug testsuite/23609] New: all obj-c++ execute tests fails with the GNU runtime pinskia at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-08-30 17:08 ` pinskia at gcc dot gnu dot org
@ 2005-08-30 17:19 ` pinskia at gcc dot gnu dot org
  2005-08-30 19:21 ` cvs-commit at gcc dot gnu dot org
  2005-08-30 19:28 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-30 17:19 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |23640
              nThis|                            |


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


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

* [Bug testsuite/23609] all obj-c++ execute tests fails with the GNU runtime
  2005-08-29  3:37 [Bug testsuite/23609] New: all obj-c++ execute tests fails with the GNU runtime pinskia at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-08-30 17:19 ` pinskia at gcc dot gnu dot org
@ 2005-08-30 19:21 ` cvs-commit at gcc dot gnu dot org
  2005-08-30 19:28 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-08-30 19:21 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-08-30 19:21 -------
Subject: Bug 23609

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	pinskia@gcc.gnu.org	2005-08-30 19:20:57

Modified files:
	gcc/testsuite  : ChangeLog 
	gcc/testsuite/lib: obj-c++.exp 

Log message:
	2005-08-30  Andrew Pinski  <pinskia@physics.uc.edu>
	
	PR testsuite/23609
	* lib/obj-c++.exp: Include target-libpath.exp.
	(obj-c++_link_flags): Look for the GNU libobjc library
	and set the library path to include it.
	Don't manually set LD_LIBRARY_PATH (etc.) but call
	set_ld_library_path_env_vars instead.
	(obj-c++_target_compile): Don't set library path or
	linker flags because they are already set correctly
	in obj-c++_link_flags.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5983&r2=1.5984
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/lib/obj-c++.exp.diff?cvsroot=gcc&r1=1.5&r2=1.6



-- 


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


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

* [Bug testsuite/23609] all obj-c++ execute tests fails with the GNU runtime
  2005-08-29  3:37 [Bug testsuite/23609] New: all obj-c++ execute tests fails with the GNU runtime pinskia at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2005-08-30 19:21 ` cvs-commit at gcc dot gnu dot org
@ 2005-08-30 19:28 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-30 19:28 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-30 19:20 -------
Fixed this problem.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.1.0


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


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

end of thread, other threads:[~2005-08-30 19:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-29  3:37 [Bug testsuite/23609] New: all obj-c++ execute tests fails with the GNU runtime pinskia at gcc dot gnu dot org
2005-08-30 17:00 ` [Bug testsuite/23609] " pinskia at gcc dot gnu dot org
2005-08-30 17:06 ` pinskia at gcc dot gnu dot org
2005-08-30 17:08 ` pinskia at gcc dot gnu dot org
2005-08-30 17:19 ` pinskia at gcc dot gnu dot org
2005-08-30 19:21 ` cvs-commit at gcc dot gnu dot org
2005-08-30 19:28 ` pinskia 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).