<div dir="ltr">Hello,<div> I'm trying to compile Suricata 1.4.6 on OS X with --enable-profiling on. But, I'm getting the following error.</div><div><br></div><div><br></div><div><div>gcc -DHAVE_CONFIG_H -I. -I.. -I../libhtp -I/opt/local/include -DLOCAL_STATE_DIR=\"/usr/local/var\" -DRELEASE -Wextra -Werror-implicit-function-declaration -fno-tree-pre -Wall -fno-strict-aliasing -Wno-unused-parameter -std=gnu99 -DOS_DARWIN -DPROFILING -DHAVE_LIBNET11 -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBPCAP_VERSION_MAJOR=1 -DHAVE_PCAP_SET_BUFF -MT suricata.o -MD -MP -MF .deps/suricata.Tpo -c -o suricata.o suricata.c</div>
<div>In file included from suricata.c:163:</div><div>util-profiling.h:35: error: thread-local storage not supported for this target</div><div>make[3]: *** [suricata.o] Error 1</div><div>make[2]: *** [all] Error 2</div><div>
make[1]: *** [all-recursive] Error 1</div><div>make: *** [all] Error 2</div></div><div><br></div><div><br></div><div>The line output from running './configure --enable-profiling' shows profiling has been successfully enabled.</div>
<div><br></div><div>Thanks,</div><div> Harley</div></div>