You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And with that the tests builds and runs and passes!
I think it would make sense to move out the gcc vs clang, and hardcoded CC, and system header include CFLAGS out of the Makefile and make them easier to override, and set the proper overrides in .github/workflow/
The text was updated successfully, but these errors were encountered:
ncopa
linked a pull request
Oct 3, 2024
that will
close
this issue
Running tests fails miserable on Alpine Linux:
The Makefile assumes you have a
../x86_64-linux-musl-native/bin/gcc
compiler available and fails if you don't.Also If I use the system gcc by setting
CC=gcc
:Part of the problem is that the Alpine Linux gcc enables fortify-headers by default. There are warnings like:
This can be worked around by setting
-U_FORTIFY_SOURCE
:I see that for
clang
there are-nostdinc
to avoid it mess up with system headers. We can do something similar forgcc
on Alpine:And with that the tests builds and runs and passes!
I think it would make sense to move out the gcc vs clang, and hardcoded CC, and system header include CFLAGS out of the Makefile and make them easier to override, and set the proper overrides in
.github/workflow/
The text was updated successfully, but these errors were encountered: