On Fri, 22 Mar 2024 12:42:04 GMT, Magnus Ihse Bursie <i...@openjdk.org> wrote:
> > Ah, it'll only be the redirect library that's compiled with > > -march=armv8-a+sve Forget that. > > But that raises an interesting question. What happens if you try to load a > library compiled with `-march=armv8-a+sve` on a non-SVE system? Is the ELF > flagged to require SVE so it will fail to load? I'm hoping this is the case > -- if so, everything will work as it should in this PR, but I honestly don't > know. (After spending like 10 years working with building, I still discover > things I need to learn...). I think we can handle it, when a jdk built with sve support runs on a non-sve machine, the sve related code will not be executed with the protection of UseSVE vm flag which is detected at runtime startup. ------------- PR Comment: https://git.openjdk.org/jdk/pull/18294#issuecomment-2015348458