Snort seems to have some alignment problems on ARM. Soon after startup I received a bus error (in IPHdrTests of decode.c). Turning off opt as done for sparc64 didn't help here. I'm not especially interested in running it on this arch, maybe it should be NOT_FOR_ARCHS=arm unless someone has a particular interest or it's easy to workaround?
[...] ,,_ -*> Snort! <*- o" )~ Version 2.6.0.2 (Build 85) '''' By Martin Roesch & The Snort Team: http://www.snort.org/team.html (C) Copyright 1998-2006 Sourcefire Inc., et al. Rules Engine: SF_SNORT_DETECTION_ENGINE Version 1.5 <Build 10> Preprocessor Object: SF_SMTP Version 1.0 <Build 6> Preprocessor Object: SF_FTPTELNET Version 1.0 <Build 8> Preprocessor Object: SF_DNS Version 1.0 <Build 1> Not Using PCAP_FRAMES Bus error (core dumped) sthen:150$ gdb ./snort snort.core GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "arm-unknown-openbsd4.0"... Core was generated by `snort'. Program terminated with signal 10, Bus error. Reading symbols from /usr/local/lib/libpcre.so.1.0...done. Loaded symbols for /usr/local/lib/libpcre.so.1.0 Reading symbols from /usr/lib/libpcap.so.5.0...done. Loaded symbols for /usr/lib/libpcap.so.5.0 Reading symbols from /usr/lib/libm.so.2.3...done. Loaded symbols for /usr/lib/libm.so.2.3 Reading symbols from /usr/lib/libc.so.40.2...done. Loaded symbols for /usr/lib/libc.so.40.2 Reading symbols from /usr/libexec/ld.so...done. Loaded symbols for /usr/libexec/ld.so Reading symbols from /usr/local/lib/snort_dynamicengine/libsf_engine.so.0.0...done. Loaded symbols for /usr/local/lib/snort_dynamicengine/libsf_engine.so.0.0 Reading symbols from /usr/local/lib/snort_dynamicpreprocessor/libsf_dns_preproc.so.0.0...done. Loaded symbols for /usr/local/lib/snort_dynamicpreprocessor/libsf_dns_preproc.so.0.0 Reading symbols from /usr/local/lib/snort_dynamicpreprocessor/libsf_ftptelnet_preproc.so.0.0...done. Loaded symbols for /usr/local/lib/snort_dynamicpreprocessor/libsf_ftptelnet_preproc.so.0.0 Reading symbols from /usr/local/lib/snort_dynamicpreprocessor/libsf_smtp_preproc.so.0.0...done. Loaded symbols for /usr/local/lib/snort_dynamicpreprocessor/libsf_smtp_preproc.so.0.0 #0 0x0000d34c in IPHdrTests (p=0xbffd3b68) at /usr/ports/net/snort/w-snort-2.6.0.2p1/snort-2.6.0.2/src/decode.c:2044 2044 if( p->iph->ip_src.s_addr == p->iph->ip_dst.s_addr )
