Date: Wed, 23 Sep 2015 20:43:08 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 203296] security/suricata Need to disable GCC march native Message-ID: <bug-203296-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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@FreeBSD.org Reporter: olivier@cochard.me Flags: maintainer-feedback?(koobs@FreeBSD.org) Assignee: koobs@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203296-13>