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 reinstalled my build system, and during the grovel step I am once again getting the no-pie error as described in issue #5.
; cc -o /root/.cache/common-lisp/sbcl-1.4.11-linux-arm/root/quicklisp/dists/quicklisp/software/cl-libusb-20200218-git/libusb-grovel__grovel-tmpNSMC798T -g -no-pie /root/.cache/common-lisp/sbcl-1.4.11-linux-arm/root/quicklisp/dists/quicklisp/software/cl-libusb-20200218-git/libusb-grovel__grovel.o
cc: error: unrecognized command line option '-no-pie'
While evaluating the form starting at line 44, column 0
The text was updated successfully, but these errors were encountered:
After an hour of arduous debugging, I found the culprit.
On certain lisps, CFFI uses cc in places that it might otherwise use ld, but it applies the same flags, despite the fact that some versions of cc will refuse to accept them.
These flags are pulled dynamically from "/usr/local/lib/sbcl/sbcl.mk".
The bottom line is: SBCL and/or CFFI has a bug that is preventing your library from loading. And there's not a huge lot you can do about it.
Personally, I will be editing sbcl.mk and removing the offending keywords system-wide.
I reinstalled my build system, and during the grovel step I am once again getting the
no-pie
error as described in issue #5.The text was updated successfully, but these errors were encountered: