Created attachment 873011 [details] build.log tesseract-5.3.x[openmp] can be built on a musl-clang-16 system but the binary won't work: $ tesseract Error relocating /usr/lib/libtesseract.so.5: __kmpc_global_thread_num: symbol not found Error relocating /usr/lib/libtesseract.so.5: __kmpc_push_num_threads: symbol not found Error relocating /usr/lib/libtesseract.so.5: __kmpc_fork_call: symbol not found Error relocating /usr/lib/libtesseract.so.5: __kmpc_for_static_init_8u: symbol not found Error relocating /usr/lib/libtesseract.so.5: __kmpc_for_static_fini: symbol not found Error relocating /usr/lib/libtesseract.so.5: __kmpc_for_static_init_4: symbol not found Error relocating /usr/lib/libtesseract.so.5: omp_get_thread_num: symbol not found Error relocating /usr/lib/libtesseract.so.5: __kmpc_serialized_parallel: symbol not found Error relocating /usr/lib/libtesseract.so.5: __kmpc_end_serialized_parallel: symbol not found Error relocating /usr/lib/libtesseract.so.5: __kmpc_for_static_init_4u: symbol not found When linked with LDFLAGS="-fuse-ld=bfd -Wl,-O1 -Wl,--as-needed" or built with USE='-openmp' the binary works just fine.
Created attachment 873012 [details] emerge --info