Project

General

Profile

Actions

Bug #4204

open

rust: undefined symbol: llvm.x86.subborrow.64

Added by Uve Lokk almost 2 years ago. Updated over 1 year ago.

Status:
Assigned
Priority:
Normal
Target version:
Affected Versions:
Effort:
Difficulty:
Label:
Needs backport, Rust

Description

The compilation of Suricata 6.0.1 in Debian 10 x86_64 ends with an error:

$ ./configure
/.../
$ make clean
/.../
$ make
/.../
   Compiling x509-parser v0.6.5
   Compiling der-parser v4.1.0
error: /usr/src/suricata-6.0.1/rust/target/release/deps/libder_oid_macro-6303e17a207c2efa.so: undefined symbol: llvm.x86.subborrow.64
   --> /usr/src/suricata-6.0.1/rust/vendor/der-parser/src/lib.rs:171:9
    |
171 | pub use der_oid_macro::oid;
    |         ^^^^^^^^^^^^^

error: aborting due to previous error

error: could not compile `der-parser`.
warning: build failed, waiting for other jobs to finish...
error: build failed
make[1]: *** [Makefile:544: all-local] Error 101
make[1]: Leaving directory '/usr/src/suricata-6.0.1/rust'
make: *** [Makefile:492: all-recursive] Error 1
$/usr/src/suricata-6.0.1# ldd /usr/src/suricata-6.0.1/rust/target/release/deps/libder_oid_macro-6303e17a207c2efa.so
    linux-vdso.so.1 (0x00007ffd8c5af000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fe64e875000)
    librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fe64e86b000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fe64e84a000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fe64e830000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fe64e66f000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fe64e9de000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fe64e4ec000)
Actions

Also available in: Atom PDF