public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/11865] New: libjava testsuite fails to find libgcc.so
@ 2003-08-09  9:04 davem at gcc dot gnu dot org
  2003-08-09 19:17 ` [Bug java/11865] " tromey at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: davem at gcc dot gnu dot org @ 2003-08-09  9:04 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=11865

           Summary: libjava testsuite fails to find libgcc.so
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: davem at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: sparc-unknown-linux-gnu
  GCC host triplet: sparc-unknown-linux-gnu
GCC target triplet: sparc-unknown-linux-gnu

If you don't have gcc-3.3.x installed already, the libjava
testsuite executable tests will fail because it does not
end up finding the libgcc.so in the build tree when executing
the libjava test executables.

It ends up using the one installed on your system already.

So, for example, if you had gcc-3.2.x installed the libjava
testsuite executables would all crash due to being unable
to find the GCC_3.3 version in the various symbols used in
libgcc.so

Probably some problem with setting LD_LIBRARY_PATH.
The libjava testsuite does not output the complete command
line it uses to invoke the executables it runs into libjava.log,
if it did it might be easier to diagnose this problem.


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

* [Bug java/11865] libjava testsuite fails to find libgcc.so
  2003-08-09  9:04 [Bug java/11865] New: libjava testsuite fails to find libgcc.so davem at gcc dot gnu dot org
@ 2003-08-09 19:17 ` tromey at gcc dot gnu dot org
  2003-08-12 15:57 ` tromey at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: tromey at gcc dot gnu dot org @ 2003-08-09 19:17 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=11865


tromey 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-08-09 19:17:47
               date|                            |


------- Additional Comments From tromey at gcc dot gnu dot org  2003-08-09 19:17 -------
I'm also seeing this problem on the trunk, at least
with --disable-static builds.


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

* [Bug java/11865] libjava testsuite fails to find libgcc.so
  2003-08-09  9:04 [Bug java/11865] New: libjava testsuite fails to find libgcc.so davem at gcc dot gnu dot org
  2003-08-09 19:17 ` [Bug java/11865] " tromey at gcc dot gnu dot org
@ 2003-08-12 15:57 ` tromey at gcc dot gnu dot org
  2003-08-23  1:15 ` dhazeghi at yahoo dot com
  2003-12-17 10:48 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: tromey at gcc dot gnu dot org @ 2003-08-12 15:57 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=11865



------- Additional Comments From tromey at gcc dot gnu dot org  2003-08-12 15:57 -------
Ok, on the trunk I'm actually seeing a different problem,
namely that the test suite can't find libgcj.so.
It finds libgcc.so just fine.

You can see more information by running dejagnu with
--verbose.  Try "--verbose --verbose" for even more information,
including some debugging info about where it is searching
for libraries.

I have a fix for the libgcj.so problem which I am testing.


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

* [Bug java/11865] libjava testsuite fails to find libgcc.so
  2003-08-09  9:04 [Bug java/11865] New: libjava testsuite fails to find libgcc.so davem at gcc dot gnu dot org
  2003-08-09 19:17 ` [Bug java/11865] " tromey at gcc dot gnu dot org
  2003-08-12 15:57 ` tromey at gcc dot gnu dot org
@ 2003-08-23  1:15 ` dhazeghi at yahoo dot com
  2003-12-17 10:48 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-08-23  1:15 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=11865


dhazeghi at yahoo dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4                         |---


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

* [Bug java/11865] libjava testsuite fails to find libgcc.so
  2003-08-09  9:04 [Bug java/11865] New: libjava testsuite fails to find libgcc.so davem at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2003-08-23  1:15 ` dhazeghi at yahoo dot com
@ 2003-12-17 10:48 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-17 10:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-17 06:08 -------
Fixed for 3.4.
Most likely by:
2003-08-12  Tom Tromey  <tromey@redhat.com>

        * lib/libjava.exp (libjava_find_lib): Search for .so file first.
        (libjava_arguments): Don't add libraries to link line explictly.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |3.4


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


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

end of thread, other threads:[~2003-12-17  6:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-09  9:04 [Bug java/11865] New: libjava testsuite fails to find libgcc.so davem at gcc dot gnu dot org
2003-08-09 19:17 ` [Bug java/11865] " tromey at gcc dot gnu dot org
2003-08-12 15:57 ` tromey at gcc dot gnu dot org
2003-08-23  1:15 ` dhazeghi at yahoo dot com
2003-12-17 10:48 ` 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).