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
I seems that I need to run as ./configure --without-gcc-arch --disable-docs --with-pic --enable-shared=no && \
Now question is why is this not enabled by default for static lib.
This is because you are linking the static libffi code to a shared library -- the libffi code still needs to be position-independent. If you were just linking it to a static executable it wouldn't require -fPIC. I don't think I want to change this default behaviour, but if you want to suggest a change to the README via PR, that would be welcome.
System Details
Amazon Linux 2023 changed libffi version and broke our package. We want to build cffi with static libffi.
Problems Description
We get:
I saw other issue and they were fixed for other symbols (but not for ffi_type_float).
#393
The text was updated successfully, but these errors were encountered: