public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/28175] New: libgcj install tree should be relocatable
@ 2006-06-26 23:52 fitzsim at redhat dot com
2006-06-29 18:10 ` [Bug libgcj/28175] " mckinlay at redhat dot com
0 siblings, 1 reply; 2+ messages in thread
From: fitzsim at redhat dot com @ 2006-06-26 23:52 UTC (permalink / raw)
To: java-prs
Ideally, libgcj's install tree would be relocatable. Currently though, there
are places where we hard-code full paths, such as the -rpath values in gij. It
would be nice if someone went through all such references and turned them into
relative paths. On Linux-based systems one could use /proc/self/exe to look up
the bin prefix. Other platforms would require their own tricks.
--
Summary: libgcj install tree should be relocatable
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: fitzsim at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28175
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug libgcj/28175] libgcj install tree should be relocatable
2006-06-26 23:52 [Bug libgcj/28175] New: libgcj install tree should be relocatable fitzsim at redhat dot com
@ 2006-06-29 18:10 ` mckinlay at redhat dot com
0 siblings, 0 replies; 2+ messages in thread
From: mckinlay at redhat dot com @ 2006-06-29 18:10 UTC (permalink / raw)
To: java-prs
------- Comment #1 from mckinlay at redhat dot com 2006-06-29 18:10 -------
Using /proc/self/exe would only work for "gij" - we'd want a solution that can
work for native binaries as well, so figuring out the prefix based on
libgcj.so's location is probably better.
On Linux, this can be found with dl_iterate_phdr().
--
mckinlay at redhat dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mckinlay at redhat dot com
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-06-29 18:10:01
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28175
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-06-29 18:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-26 23:52 [Bug libgcj/28175] New: libgcj install tree should be relocatable fitzsim at redhat dot com
2006-06-29 18:10 ` [Bug libgcj/28175] " mckinlay at redhat dot com
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).