Hi All,

I'm trying to make a small Alpine linux based Docker image for Mesos
0.28.0; gist is here:

https://gist.github.com/blue666man/c6ae9b19c01d813e1028898626930667

Configure gets to the point where it checks JNI and exits with the
following:

"checking whether or not we can build with JNI...
/usr/lib/gcc/x86_64-alpine-linux-musl/5.3.0/../../../../x86_64-alpine-linux-musl/bin/ld:
h_errno: TLS definition in //usr/glibc/usr/lib/libc.so.6 section .tbss
mismatches non-TLS definition in
//usr/lib/gcc/x86_64-alpine-linux-musl/5.3.0/../../../../lib/libc.so
section .bss
//usr/glibc/usr/lib/libc.so.6: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
configure: error: failed to build with JNI"

Has anyone run across linker errors using musl before (specifically
non-thread local storage for h_errno)?  Package options with Alpine are
limited; there is no glibc package to use, so I'm hoping for a work-around.

Thanks,
John

Reply via email to