RFR: 8311846: Resolve duplicate 'Thread' related symbols with JDK static linking
Andrew Haley
aph at openjdk.org
Mon Jan 29 09:45:37 UTC 2024
On Wed, 24 Jan 2024 22:30:38 GMT, Jiangli Zhou <jiangli at openjdk.org> wrote:
> Maybe we could live with symbol redefinition using #define (conditionally for static linking in OpenJDK, as Coleen suggested earlier) for now, until the tooling can support symbol localizing better. Then localizing symbols using tools like `objcopy` can be the longer term and cleaner solution, instead of using namespace. What's your thoughts on that?
I suppose so, but why?
Why should any of this have to work on old systems? If their binutils is broken, static linking of openjdk won't work there.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17456#issuecomment-1914316881
More information about the hotspot-dev
mailing list