Project

General

Profile

Actions

Bug #2992

closed

Build failure on m68k with uclibc

Added by Fabrice Fontaine over 5 years ago. Updated about 5 years ago.

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

Description

uclibc on m68k defines _POSIX_SPIN_LOCKS but does not define
pthread_spin_unlock as a result build faisl ont buildroot autobuilders:
- http://autobuild.buildroot.org/results/ed923bcc1454ce90444b8dac7c064b5f4ea4a0a5

To fix this, a check for this function must be added before using
pthread_spin_xxx functions, see https://github.com/OISF/suricata/pull/3816

Actions

Also available in: Atom PDF