akash-akya / exile

Alternative to ports for running external programs. It provides back-pressure, non-blocking io, and solves port related issues
Apache License 2.0
142 stars 12 forks source link

Remove UB sanitizer for linux to fix compilation for Alpine linux #29

Closed akash-akya closed 1 year ago

akash-akya commented 1 year ago

Alpine linux does not ship with -lubsan by default, which is needed for the compilation with -fsanitize=undefined flag.

A proper fix would be to dynamically check if the library exists and enabling the flag. See: https://github.com/Snaipe/alpine-qemu-execve/blob/alpine-3.10/configure

Fixes: #28