<div dir="ltr">Hi,<div><br></div><div>While working on OpenJDK/Mobile, I had to apply a patch for Android and iOS that I believe might be broader than just the mobile platforms.</div><div>I had compile issues in</div><div>stubGenerator_aarch64.cpp:8470:13: error: use of undeclared identifier 'InlineSecondarySupersTest'</div><div><br></div><div>I noticed that InlineSecondarySupersTest is only added via c2_globals.hpp . In my branch for the mobile port, I added a check around that code [1] and now it works when I want to build a minimal or a client variant. However, when I use the same configuration on Linux or MacOSX (--with-jvm-variants=client or minimal), it fails on those platforms as well (it works fine on the server variant, as that grabs c2_globals.hpp).</div><div><br></div><div>Is this a more generic issue than just mobile?</div><div><br></div><div>Thanks,</div><div><br></div><div>- Johan</div><div><br></div><div>[1] <a href="https://github.com/openjdk/jdk/commit/47377a2ad398eadd7acb8cccf1e95703c76328fe#diff-9112056f732229b18fec48fb0b20a3fe824de49d0abd41fbdb4202cfe70ad114R8468">https://github.com/openjdk/jdk/commit/47377a2ad398eadd7acb8cccf1e95703c76328fe#diff-9112056f732229b18fec48fb0b20a3fe824de49d0abd41fbdb4202cfe70ad114R8468</a></div></div>