This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[ping] Re: [patch] link java tools with -rpath $(dbexecdir)


Matthias Klose schrieb:
> When installing two different gcj versions under the same prefix, the
> libgcj_bc.so.1 symlink is overwritten. Assume that you install 4.3.0 first, then
> reinstall an older version (having the libgcj_bc.so.1 symlink), java programs
> cannot be run anymore, because you get an ABI mismatch. This affects all java
> tools, including ecj1. It would be nice to make an installation more robust:
> 
>  - Install a copy of libgcj_bc.so.1 into $(dbexecdir)
>  - Link the java tools with -rpath $(dbexecdir)
> 
> The attached patch does this for ecj1 and gcj-dbtool; gij already is linked in
> this way. Other tools could be extended in the same way.
> 
>   Matthias
> 
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]