RFR: 8311661: Resolve duplicate symbol of StringTable::StringTable with JDK static linking [v2]
Jiangli Zhou
jiangli at openjdk.org
Tue Jul 11 05:13:20 UTC 2023
On Tue, 11 Jul 2023 04:23:08 GMT, Ioi Lam <iklam at openjdk.org> wrote:
> If there are only 3 problematic symbols, wouldn't it be easier to configure the JDK with
>
> ```
> bash configure --with-extra-cxxflags='-DStringTable=HotSpotStringTable -DThread=HotSpotThread -DProfileData=HotSpotProfileData'
> ```
>
> That way, you don't need to submit a new PR every time there's a new conflict.
Thanks, I haven't explored that option. Seems to be a useful quick fix when experimenting with JDK static linking. As we are working towards a longer term and more general solution, resolving the issues in hotspot code seems to be better.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14808#issuecomment-1630130242
More information about the hotspot-dev
mailing list