library itself?
David
Best Regards,
Vladimir.
[1] https://github.com/vpa1977/linksample
On Tue, May 7, 2024 at 10:36 PM Magnus Ihse Bursie
wrote:
Undefined symbols in libjvm.so is no good, and it should not be allowed.
However, I am unsure about your analysis. This flag only affect linking
long as it does not use any of the undefined symbols. I
have made a small sample[1] to illustrate the point.
Best Regards,
Vladimir.
[1] https://github.com/vpa1977/linksample
On Tue, May 7, 2024 at 10:36 PM Magnus Ihse Bursie
wrote:
>
> Undefined symbols in libjvm.so is no good, and it shou
Undefined symbols in libjvm.so is no good, and it should not be allowed.
However, I am unsure about your analysis. This flag only affect linking
of executables, not shared libraries. We do set "-Wl,-z,defs" when
linking shared libraries, and this should complain about undefin
Hi,
I have recently encountered bugs caused by undefined symbols in
libjvm.so[1][2]. The root cause of those issues is the expression in
make/autoconf/flags-ldflags.m4:
---
if test "x$TOOLCHAIN_TYPE" = xgcc; then
EXECUTABLE_LDFLAGS="$EXECUTABLE_LDFLAGS -Wl,--allow-