<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="" dir="auto"><font face="Helvetica" class="">Hi,</font><div class=""><div class=""><font face="Helvetica" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>I built Suricata using option "disable-gccmarch-native” in VM host A (cpu instruction should be newer) which supporting AVX2 and then run suricata in host B. The Suricata has crashed for for illegal instruction (see coredump information). </font></div></div><div class=""><font face="Helvetica" class=""> Also, tried the same way in Physical host C with the newer cpu instruction and it can run well on Host B.</font></div><div class=""><font face="Helvetica" class=""> </font></div><div class=""><font face="Helvetica" class=""> So, I think the configure option “disable-gccmarch-native” doesn’t work well on VM. Could some one take a look at this.</font></div><div class=""><font face="Helvetica" class=""><br class=""></font></div><div class=""><div style="margin: 0px; line-height: normal;" class=""><font face="Helvetica" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">root:</span><span style="font-variant-ligatures: no-common-ligatures; color: #afad24" class="">1.212</span><span style="font-variant-ligatures: no-common-ligatures" class="">@</span><span style="font-variant-ligatures: no-common-ligatures; color: #d53bd3" class="">work</span><span style="font-variant-ligatures: no-common-ligatures" class="">$ /usr/local/bin/suricata --build-info</span></font></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class="">This is Suricata version 3.2dev</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class="">Features: PCAP_SET_BUFF LIBPCAP_VERSION_MAJOR=1 AF_PACKET HAVE_PACKET_FANOUT LIBCAP_NG HAVE_HTP_URI_NORMALIZE_HOOK PCRE_JIT HAVE_NSS HAVE_LUA TLS MAGIC </font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class="">SIMD support: none</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class="">Atomic intrisics: 1 2 4 8 byte(s)</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class="">64-bits, Little-endian architecture</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class="">GCC version 4.8.5 20150623 (Red Hat 4.8.5-11), C version 199901</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class="">compiled with _FORTIFY_SOURCE=0</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class="">L1 cache line size (CLS)=64</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class="">thread local storage method: __thread</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class="">compiled with LibHTP v0.5.23, linked against LibHTP v0.5.23</font></span></div><div style="margin: 0px; line-height: normal; min-height: 17px;" class=""><font face="Helvetica" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></font></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class="">Suricata Configuration:</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> AF_PACKET support: yes</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> PF_RING support: no</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> NFQueue support: no</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> NFLOG support: no</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> IPFW support: no</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> Netmap support: no</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> DAG enabled: no</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> Napatech enabled: no</font></span></div><div style="margin: 0px; line-height: normal; min-height: 17px;" class=""><font face="Helvetica" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></font></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> Unix socket enabled: no</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> Detection enabled: yes</font></span></div><div style="margin: 0px; line-height: normal; min-height: 17px;" class=""><font face="Helvetica" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></font></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> Libmagic support: yes</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> libnss support: yes</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> libnspr support: yes</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> libjansson support: no</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> hiredis support: yes</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> Prelude support: no</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> PCRE jit: yes</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> LUA support: yes</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> libluajit: no</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> libgeoip: no</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> Non-bundled htp: yes</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> Old barnyard2 support: no</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> CUDA enabled: no</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> Hyperscan support: yes</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> Libnet support: no</font></span></div><div style="margin: 0px; line-height: normal; min-height: 17px;" class=""><font face="Helvetica" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></font></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> Suricatasc install: yes</font></span></div><div style="margin: 0px; line-height: normal; min-height: 17px;" class=""><font face="Helvetica" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></font></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> Profiling enabled: no</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> Profiling locks enabled: no</font></span></div><div style="margin: 0px; line-height: normal; min-height: 17px;" class=""><font face="Helvetica" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></font></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class="">Development settings:</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> Coccinelle / spatch: no</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> Unit tests enabled: no</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> Debug output enabled: no</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> Debug validation enabled: no</font></span></div><div style="margin: 0px; line-height: normal; min-height: 17px;" class=""><font face="Helvetica" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></font></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class="">Generic build parameters:</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> Installation prefix: /usr/local/</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> Configuration directory: /usr/local/etc/suricata/</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> Log directory: /usr/local/var/log/suricata/</font></span></div><div style="margin: 0px; line-height: normal; min-height: 17px;" class=""><font face="Helvetica" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></font></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> --prefix /usr/local/</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> --sysconfdir /usr/local/etc</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> --localstatedir /usr/local/var</font></span></div><div style="margin: 0px; line-height: normal; min-height: 17px;" class=""><font face="Helvetica" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></font></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> Host: x86_64-unknown-linux-gnu</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> Compiler: gcc (exec name) / gcc (real)</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> GCC Protect enabled: no</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> GCC march native enabled: no</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> GCC Profile enabled: no</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> Position Independent Executable enabled: no</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> CFLAGS -g -O2</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> PCAP_CFLAGS -I/usr/local/deps/include</font></span></div><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""> SECCFLAGS </font></span></div></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><font face="Helvetica" class=""><br class=""></font></span></div><div class=""><font face="Helvetica" class="">Here is the coredump information, its cored at strtod</font></div><div class=""><font face="Helvetica" class=""><br class=""></font></div><div class=""><font face="Helvetica" class=""><object apple-inline="yes" id="BA08BE9B-82BF-4E27-9AEA-AC02AD6EB3BE" height="410" width="816" apple-width="yes" apple-height="yes" class="" data="cid:50211A4B-AC47-4E37-B5FD-FAEEBA70D42E@lan" type="application/x-apple-msg-attachment"></object></font></div></body></html>