musl-gcc: goldilocks_gen_tables
is not a statically linked executable when --enable-static
and --disable-shared
is passed to ./configure
#13
Milestone
Hello.
Due to
goldilocks_gen_tables
being a dynamically linked executable, it cannot be executed when compiled withmusl-gcc
:Result:
The solution is adding
-static
to create a statically linked executable instead of a dynamically linked one:It seems to be the case that if we append
-static
, everything seems to work, the executable can be executed (it cannot if we omit-static
,ldd
shows invalid ELF header), and all tests pass.The issue arises only when
CC
is set tomusl-gcc
. It works withgcc
.I apologize for the long title, I could not come up with a shorter one that summarizes the issue. :/
The text was updated successfully, but these errors were encountered: