surnaik commented on issue #10502:
URL:
https://github.com/apache/incubator-gluten/issues/10502#issuecomment-3209097978
I did some investigation and I feel like this could be the root cause:
Temurin/Azul/Microsoft JDK is built with static libstdcxx:
```
root@sparkdev:/usr/lib/jvm/temurin-11-jdk-amd64/lib/server# ldd libjvm.so
linux-vdso.so.1 (0x00007f0b61614000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f0b61600000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007f0b615fb000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f0b5ff20000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f0b5fd3f000)
/lib64/ld-linux-x86-64.so.2 (0x00007f0b61616000)
```
Whereas OpenJDK 11 is dynamically linked:
```
root@sparkdev:/usr/lib/jvm/java-11-openjdk-amd64/lib/server# ldd libjvm.so
linux-vdso.so.1 (0x00007fbea3858000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fbea25a2000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007fbea259d000)
libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6
(0x00007fbea2383000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fbea22a3000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1
(0x00007fbea2283000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fbea20a0000)
/lib64/ld-linux-x86-64.so.2 (0x00007fbea385a000)
```
But not sure how to fix it properly, since we use Debian 12, OpenJDK 11 is
not available by default in the Debian 12 package manager, I had to get it from
Debian 11 package manager and install it, this is not something we intend to do
in production since the JDK will be coming from an older Debian package manager
and could run into some incompatibility issue, hence we use temurin JDK 11, I
have also tried every other JDK available to Debian 12, but runs into same
issue. This issue is present even with JDK 17.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]