From: Victor Julien Date: Tue, 14 Jan 2014 12:03:43 +0000 (+0100) Subject: pool thread: undo CLS alignment X-Git-Tag: suricata-2.0rc1~200 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d280e88d04de065945b4a4b6a80272d8abd052a;p=thirdparty%2Fsuricata.git pool thread: undo CLS alignment This breaks clang on 32bit. Test PoolThreadTestGrow01 : process killed by signal 11 --- diff --git a/src/util-pool-thread.h b/src/util-pool-thread.h index c1704ce977..1d2bbd47ff 100644 --- a/src/util-pool-thread.h +++ b/src/util-pool-thread.h @@ -42,7 +42,8 @@ struct PoolThreadElement_ { SCMutex lock; /**< lock, should have low contention */ Pool *pool; /**< actual pool */ -} __attribute__((aligned(CLS))); +}; +// __attribute__((aligned(CLS))); <- VJ: breaks on clang 32bit, segv in PoolThreadTestGrow01 typedef struct PoolThreadElement_ PoolThreadElement;