Project

General

Profile

Actions

Bug #948

closed

apple ppc64 build broken: thread-local storage not supported for this target

Added by Victor Julien about 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

gcc -DHAVE_CONFIG_H -I. -I..   -I./../libhtp/  -I/opt/local/include -DLOCAL_STATE_DIR=\"/opt/suricata-git/var\" -arch ppc64 -Wextra -Werror-implicit-function-declaration -fno-tree-pre -Wall -fno-strict-aliasing -Wno-unused-parameter -std=gnu99 -DOS_DARWIN -DUNITTESTS -DDEBUG  -I/opt/local/include -DLIBPCAP_VERSION_MAJOR=1 -DHAVE_PCAP_SET_BUFF -DREVISION="49dcb0c" -MT util-time.o -MD -MP -MF .deps/util-time.Tpo -c -o util-time.o util-time.c
util-time.c:152: error: thread-local storage not supported for this target
util-time.c:153: error: thread-local storage not supported for this target
util-time.c:154: error: thread-local storage not supported for this target
util-time.c:155: error: thread-local storage not supported for this target
util-time.c:159: error: thread-local storage not supported for this target
util-time.c:160: error: thread-local storage not supported for this target
util-time.c:161: error: thread-local storage not supported for this target
make[3]: *** [util-time.o] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/util-threshold-config.Tpo .deps/util-threshold-config.Po
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Actions #2

Updated by Victor Julien about 11 years ago

The AX_TLS macro is licensed GPLv3+, and I've not been able to figure out if that is a problem for us. The closest answer I found was this:

One of the most common concerns (and I received several mails on this topic)
is that the code is GPLv3+ and people often want to incorporate boost.m4 in
software with more restrictive (read: incompatible) licensing terms. I was
originally waiting for the FSF to release official clauses for GPLv3+
exceptions to re-use them in boost.m4. Unfortunately, the FSF lawyers have
been working on this issue for months now and it looks like it's still going
to take some time.

From http://repo.or.cz/w/boost.m4.git

Actions #3

Updated by Victor Julien about 11 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

Added my own test. Fix confirmed.

commit 900918a5d136c4a937991f733f3b51a1687e02c5
Author: Victor Julien <victor@inliniac.net>
Date:   Tue Sep 10 10:57:24 2013 +0200

    Bug #948: detect thread local storage support
Actions

Also available in: Atom PDF