public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
From: "Ralf dot Wildenhues at gmx dot de" <gcc-bugzilla@gcc.gnu.org> To: java-prs@gcc.gnu.org Subject: [Bug libgcj/17311] Wrong libgcc_s.so.1 is used by lt-gij Date: Tue, 07 Feb 2006 05:48:00 -0000 [thread overview] Message-ID: <20060207054819.1383.qmail@sourceware.org> (raw) In-Reply-To: <bug-17311-682@http.gcc.gnu.org/bugzilla/> ------- Comment #17 from Ralf dot Wildenhues at gmx dot de 2006-02-07 05:48 ------- (In reply to comment #16) > Please read the summary line: "Wrong libgcc_s.so.1 is used by lt-gij". Ld.so > will search DT_RPATH first for any shared libraries. Yes. So all that is missing is a notion in libtool to tell it "this path is to be added to the list of *uninstalled* run paths" which would be added to the relinked-for-execution executable (after all other uninstalled paths) but not the unrelinked one and not either to any uninstalled libraries (on ELF, of course). You have to have that notion anyway because otherwise there would be no way you could add the run path to libgcc_s to libtool safely at all (i.e. without ending up in installed files). In comment #8 you said: > I don't know how to do --disable-fast-install for gcc. As for --disable-fast-install, it's not optimal either. But libtool could create all libraries/programs with the uninstalled run paths (also the ones given by above new flag) and after that all other given ones. `make install' will surely have to relink all of those; but I don't see the necessity for a shell wrapper in this case either (on system where shlibpath_overrides_runpath=no). All there is missing for decent libtool support for "libtool + non-libtool libraries in one build tree" is a notion to pass uninstalled run paths and uninstalled link editor paths (-L), AFAICS. By the way, I don't see any reason why the installed run paths should not be put after the uninstalled ones (into the relinked-upon-execution executable). You have to assume anyway that incompatible libraries may be found in the default runtime linker search path, so really they are not contributing much to the problem. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17311
next prev parent reply other threads:[~2006-02-07 5:48 UTC|newest] Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-17311-682@http.gcc.gnu.org/bugzilla/> 2006-02-06 18:24 ` Ralf dot Wildenhues at gmx dot de 2006-02-06 19:03 ` hjl at lucon dot org 2006-02-07 5:48 ` Ralf dot Wildenhues at gmx dot de [this message] 2006-02-07 16:16 ` hjl at lucon dot org 2006-02-07 16:28 ` Ralf dot Wildenhues at gmx dot de 2006-02-07 16:48 ` hjl at lucon dot org 2006-02-07 17:18 ` Ralf dot Wildenhues at gmx dot de 2006-02-07 17:25 ` hjl at lucon dot org 2006-02-07 17:43 ` Ralf dot Wildenhues at gmx dot de 2006-02-07 18:45 ` hjl at lucon dot org 2006-03-01 17:39 ` hjl at gcc dot gnu dot org 2006-03-01 17:42 ` hjl at lucon dot org 2006-03-02 7:09 ` Ralf dot Wildenhues at gmx dot de 2004-09-03 20:27 [Bug libgcj/17311] New: " hjl at lucon dot org 2004-09-03 20:46 ` [Bug libgcj/17311] " mckinlay at redhat dot com 2004-09-03 20:52 ` hjl at lucon dot org 2004-09-09 3:42 ` pinskia at gcc dot gnu dot org 2004-09-09 16:25 ` hjl at lucon dot org 2004-09-14 18:42 ` hjl at lucon dot org 2004-09-16 0:11 ` hjl at lucon dot org 2004-10-11 20:13 ` tromey at gcc dot gnu dot org 2004-10-11 20:32 ` hjl at lucon dot org 2004-10-11 20:49 ` tromey at gcc dot gnu dot org 2004-10-11 21:01 ` hjl at lucon dot org 2004-10-11 21:27 ` tromey at gcc dot gnu dot org 2004-10-12 19:52 ` hjl at lucon dot org 2005-08-17 3:12 ` pinskia at gcc dot gnu dot org 2005-08-17 18:06 ` hjl at lucon dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20060207054819.1383.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=java-prs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).