jdk9/hs/hotspot make native libs for test build failure both on x86 and aarch64
Derek.White at cavium.com
Fri Nov 4 17:54:40 UTC 2016
This is a build-time linking error. The link command does include -ldl, the libraries do exist in the expect places. So I don't understand exactly what the issue is.
But Yang's fix follows some internet wisdom that include this claim:
"Apparently it has something to do with recent versions of gcc/ld default to linking with -- as-needed."
I haven't had time to track down a fuller explanation.
From: Andrew Haley [mailto:aph at redhat.com]
Sent: Friday, November 04, 2016 1:24 PM
To: White, Derek <Derek.White at cavium.com>; Yang Zhang <yang.zhang at linaro.org>; hotspot-dev at openjdk.java.net
Subject: Re: jdk9/hs/hotspot make native libs for test build failure both on x86 and aarch64
On 04/11/16 17:07, White, Derek wrote:
> The reason is that dl library isn't found. I think the following change could fix that:
But why isn't it found? It should be on your system at /lib/aarch64-linux-gnu/libdl.so.2 or somesuch. Or your system wouldn't work.
More information about the hotspot-dev