BewareMyPower commented on issue #23717:
URL: https://github.com/apache/pulsar/issues/23717#issuecomment-2537871642

   Yes, it's a bug of Netty but I'm not sure if it's the same issue. It should 
be an issue with the JNI library of netty-tcnative-boringssl-static.
   
   It can be verified by executing the following command after you start a 
container:
   
   ```bash
   cd /tmp
   unzip -q /pulsar/lib/io.netty-netty-tcnative-boringssl-static-*-aarch_64.jar 
   ldd META-INF/native/libnetty_tcnative_linux_aarch_64.so 
   ```
   
   With 4.0.0, the JAR version is 2.0.66 and the link is good:
   
   ```
        /lib/ld-musl-aarch64.so.1 (0xffff8670a000)
        librt.so.1 => /lib/ld-musl-aarch64.so.1 (0xffff8670a000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0xffff864da000)
        libdl.so.2 => /lib/ld-musl-aarch64.so.1 (0xffff8670a000)
        libc.so.6 => /lib/ld-musl-aarch64.so.1 (0xffff8670a000)
        libucontext.so.1 => /lib/libucontext.so.1 (0xffff864b9000)
        libobstack.so.1 => /usr/lib/libobstack.so.1 (0xffff86498000)
   ```
   
   However, with 4.0.1, the JAR version is 2.0.69 and the link is broken so it 
crashes on musl Linux:
   
   ```
        /lib/ld-musl-aarch64.so.1 (0xffffb161c000)
        librt.so.1 => /lib/ld-musl-aarch64.so.1 (0xffffb161c000)
        libdl.so.2 => /lib/ld-musl-aarch64.so.1 (0xffffb161c000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xffffb13bc000)
        libc.so.6 => /lib/ld-musl-aarch64.so.1 (0xffffb161c000)
   Error relocating META-INF/native/libnetty_tcnative_linux_aarch_64.so: 
__getauxval: symbol not found
   ```


-- 
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]

Reply via email to