public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/23686] New: path embbeded using -rpath is ignored when handling System.loadLibrary()
@ 2005-09-01 20:39 swagiaal at redhat dot com
2005-09-01 20:40 ` [Bug libgcj/23686] " swagiaal at redhat dot com
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: swagiaal at redhat dot com @ 2005-09-01 20:39 UTC (permalink / raw)
To: gcc-bugs
path embbeded using -rpath is ignored when handling System.loadLibrary()
the attached test case showes a java program trying to load a dummy library and
failing even though the path to that library was set using -rpath
--
Summary: path embbeded using -rpath is ignored when handling
System.loadLibrary()
Product: gcc
Version: 4.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: swagiaal at redhat dot com
CC: fitzsim at redhat dot com,gcc-bugs at gcc dot gnu dot
org,java-prs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23686
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libgcj/23686] path embbeded using -rpath is ignored when handling System.loadLibrary()
2005-09-01 20:39 [Bug libgcj/23686] New: path embbeded using -rpath is ignored when handling System.loadLibrary() swagiaal at redhat dot com
@ 2005-09-01 20:40 ` swagiaal at redhat dot com
2005-09-01 20:53 ` fitzsim at redhat dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: swagiaal at redhat dot com @ 2005-09-01 20:40 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From swagiaal at redhat dot com 2005-09-01 20:40 -------
Created an attachment (id=9642)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9642&action=view)
testcase that produces the bug
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23686
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libgcj/23686] path embbeded using -rpath is ignored when handling System.loadLibrary()
2005-09-01 20:39 [Bug libgcj/23686] New: path embbeded using -rpath is ignored when handling System.loadLibrary() swagiaal at redhat dot com
2005-09-01 20:40 ` [Bug libgcj/23686] " swagiaal at redhat dot com
@ 2005-09-01 20:53 ` fitzsim at redhat dot com
2005-09-01 21:06 ` pinskia at gcc dot gnu dot org
2005-09-01 21:25 ` fitzsim at redhat dot com
3 siblings, 0 replies; 6+ messages in thread
From: fitzsim at redhat dot com @ 2005-09-01 20:53 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From fitzsim at redhat dot com 2005-09-01 20:53 -------
Confirmed. Run the tests like this:
LD_LIBRARY_PATH=`pwd` ./linked
LD_LIBRARY_PATH=`pwd` ./linkedjava
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23686
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libgcj/23686] path embbeded using -rpath is ignored when handling System.loadLibrary()
2005-09-01 20:39 [Bug libgcj/23686] New: path embbeded using -rpath is ignored when handling System.loadLibrary() swagiaal at redhat dot com
2005-09-01 20:40 ` [Bug libgcj/23686] " swagiaal at redhat dot com
2005-09-01 20:53 ` fitzsim at redhat dot com
@ 2005-09-01 21:06 ` pinskia at gcc dot gnu dot org
2005-09-01 21:25 ` fitzsim at redhat dot com
3 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-01 21:06 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-01 21:06 -------
I want to say this is not really a bug as -rpath should almost never be used as it cannot be overwritten
along other things. There are pages about why you should not be using -rpath.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23686
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libgcj/23686] path embbeded using -rpath is ignored when handling System.loadLibrary()
2005-09-01 20:39 [Bug libgcj/23686] New: path embbeded using -rpath is ignored when handling System.loadLibrary() swagiaal at redhat dot com
` (2 preceding siblings ...)
2005-09-01 21:06 ` pinskia at gcc dot gnu dot org
@ 2005-09-01 21:25 ` fitzsim at redhat dot com
3 siblings, 0 replies; 6+ messages in thread
From: fitzsim at redhat dot com @ 2005-09-01 21:25 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From fitzsim at redhat dot com 2005-09-01 21:25 -------
In this case we have shared libraries under /opt with the same names as
libraries under /usr/lib, and we want our program to always use the /opt
libraries without users having to set LD_LIBRARY_PATH.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23686
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libgcj/23686] path embbeded using -rpath is ignored when handling System.loadLibrary()
[not found] <bug-23686-4@http.gcc.gnu.org/bugzilla/>
@ 2012-01-11 14:25 ` rguenth at gcc dot gnu.org
0 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-01-11 14:25 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23686
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-11 14:24:39 UTC ---
This is not a bug in GCC but the dynamic loader (if it is a bug).
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-01-11 14:25 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-01 20:39 [Bug libgcj/23686] New: path embbeded using -rpath is ignored when handling System.loadLibrary() swagiaal at redhat dot com
2005-09-01 20:40 ` [Bug libgcj/23686] " swagiaal at redhat dot com
2005-09-01 20:53 ` fitzsim at redhat dot com
2005-09-01 21:06 ` pinskia at gcc dot gnu dot org
2005-09-01 21:25 ` fitzsim at redhat dot com
[not found] <bug-23686-4@http.gcc.gnu.org/bugzilla/>
2012-01-11 14:25 ` rguenth at gcc dot gnu.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).