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
error: linking with `cc` failed: exit code: 1
[...]
note: /usr/bin/ld: /home/travis/build/est31/rcgen/target/debug/deps/libbotan_sys-59cd180e5db8bbbc.rlib(ffi.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/home/travis/build/est31/rcgen/target/debug/deps/libbotan_sys-59cd180e5db8bbbc.rlib: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
It works locally on my machine.
The text was updated successfully, but these errors were encountered:
Interesting. Botan always compiles with PIC even for a static library only target, to support linking the library into an .so or a PIE executable. So I'm not sure how this could happen.
randombit
changed the title
Linking failure
Linking failure when using vendored feature
Sep 28, 2020
There seems to be a linking failure on travis when I test the new botan feature to vendor sources.
Link to a failed build: https://travis-ci.com/github/est31/rcgen/jobs/391529962
Excerpt from the logs:
It works locally on my machine.
The text was updated successfully, but these errors were encountered: