Project

General

Profile

Actions

Bug #5039

closed

suricata 6.0.4: hard-coded linker results in errors

Added by Donald Hoskins almost 3 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
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

suricata.log (259 KB) suricata.log Build log Donald Hoskins, 02/04/2022 05:31 AM
Makefile (34.1 KB) Makefile Donald Hoskins, 02/04/2022 06:26 AM
Actions

Also available in: Atom PDF