Skip to content

build fails on AIX 7.1 due to thread-local storage #1287

@infrastation

Description

@infrastation

Commit b10eefd seems to be the breaking change.

Using Autoconf and XL C 12.1:

$ make -s CFLAGS=-qhalt=w
"./pcap.c", line 3428.16: 1506-731 (S) The '__thread' keyword is not supported on the target platform.  The keyword is ignored.
"./pcap.c", line 3694.16: 1506-731 (S) The '__thread' keyword is not supported on the target platform.  The keyword is ignored.
"./etherent.c", line 92.16: 1506-731 (S) The '__thread' keyword is not supported on the target platform.  The keyword is ignored.
make: 1254-004 The error code from the last command is 1.

Using Autoconf and GCC 8.3.0:

$ make -s CFLAGS=-Werror
config.status: creating libpcap.pc.tmp
config.status: creating pcap-config.tmp
ld: 0711-317 ERROR: Undefined symbol: __get_tpointer
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: error: ld returned 8 exit status
make: 1254-004 The error code from the last command is 1.

(The only description of __get_tpointer I managed to find is this and it seems to be 32-bit specific, which looks wrong.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions