Actions
Bug #5039
closed
DH
suricata 6.0.4: hard-coded linker results in errors
Bug #5039:
suricata 6.0.4: hard-coded linker results in errors
Affected Versions:
Effort:
Difficulty:
Label:
Description
As outlined here (https://forum.suricata.io/t/suricata-6-0-4-usr-bin-ld-error-adding-symbols-file-in-wrong-format/2179), I am cross-compiling suricata under the OpenWrt
While autorun.sh and configure successfully find the correct toolchain bins (including the linker), the suricata build system seems to hard-link to `/usr/bin/ld` to do it's linking. This makes cross-compiling impossible as the `/usr/bin/ld` for the build system is different from the build HOST (or the TARGET).
I've attached the build log, and I call configure with `--with-sysroot`.
Files
Actions