On Wed, 7 Aug 2024 15:07:51 GMT, Magnus Ihse Bursie <i...@openjdk.org> wrote:

> Are you saying that even using strip can cause lld malfunction? 

Based on the referenced discussion thread, that seems to be the case. I haven't 
tested with strip for this issue.

> Is there any chance we risk running into problems that way?

I'm not too concerned with this case for `strip` regarding the static libraries 
in JDK/VM. We had some internal discussions with tools (e.g. profiler) experts 
about debugging info with `libjvm.a` in the past. I think we would want to keep 
the debugging info in `libjvm.a` and strip the final elf binary only to 
suitably support tools' requirements (it's worth also discussing more details 
on the debugging info in JDK static libraries in our mailing list here at some 
point).  In that sense, `strip` probably is not a concern for `libjvm.a`, 
`libjava`, and etc. 

@magicus, thanks for the thoroughness in the review.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/20265#issuecomment-2274333311

Reply via email to