[Bug 203296] security/suricata Need to disable GCC march native
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Sep 23 20:43:09 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203296
Bug ID: 203296
Summary: security/suricata Need to disable GCC march native
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: koobs at FreeBSD.org
Reporter: olivier at cochard.me
Flags: maintainer-feedback?(koobs at FreeBSD.org)
Assignee: koobs at FreeBSD.org
suricata is build with "GCC march native" by default.
This create problem if package are build on ATOM server but installed on AMD
procs by example: suricata will simply generate an "Illegal instruction" and
refuse to start.
Adding "--disable-gccmarch-native" solve the problem:
Index: security/suricata/Makefile
===================================================================
--- security/suricata/Makefile (revision 397232)
+++ security/suricata/Makefile (working copy)
@@ -3,7 +3,7 @@
PORTNAME= suricata
PORTVERSION= 2.0.8
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= http://www.openinfosecfoundation.org/download/ \
http://mirrors.rit.edu/zi/
@@ -105,6 +105,7 @@
--with-libnet-libraries=${LOCALBASE}/lib/libnet11 \
--with-libhtp-includes=${LOCALBASE}/include/ \
--with-libhtp-libraries=${LOCALBASE}/lib \
+ --disable-gccmarch-native \
--localstatedir=/var/
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list