7152237 Linking with Java 7 libjvm.so on Linux reports unrecognized file format
Volker Simonis
volker.simonis at gmail.com
Wed Mar 27 21:24:39 UTC 2013
This may be releated to the fact that on SLES 10 the default linker
only supports anonymous version tags. As far as I know Oracle Java 7
libraries have named version tags (of the form `SUNWprivate_1.1') but
are compiled on RedHat which doesn't has this problem.
I don't have a link at hand but you can google for "Invalid version
tag EXPORTED'. Only anonymous version tag is allowed in executable" to
find more information.
The only workaround I know would be to compile and use a custom
version of binutils/ld on SLES 10 which doesn't suffer from this
problem.
Regards,
Volker
On Wed, Mar 27, 2013 at 8:24 PM, Mark Susko <mark.susko at oracle.com> wrote:
> Hi all,
>
> http://monaco.sfbay.sun.com/detail.jsp?cr=7152237
>
> I have a customer who is asking about the above bug. It seems they too
> have run into it.
> I explained about the public comment regarding fPIC that was in there and
> asked them to test different SLES builds.
> Their response is:
>
> It works on SLES11 but not 10 SP3. 6_33 works on both. When objdump is run
> manually on the .so files the error occurs, so
> I am wondering if there is some reference in the .so files that is not
> compatible with the older SLES 10 sp3 OS, ie maybe the library files
> were built on a newer system so that there are backword compatibility
> issues.
>
> Is there an explanation available?
>
> Thanks,
> Mark
>
More information about the build-dev
mailing list