[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
pthread fails with OpenBSD 4.6 and 5.0.
From: |
Mats Erik Andersson |
Subject: |
pthread fails with OpenBSD 4.6 and 5.0. |
Date: |
Wed, 29 May 2013 17:29:00 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Hello there,
I have discovered that some fairly recent change to either
of the modules 'regex' or 'pthread', is messing unduly with
OpenBSD 4.6 and 5.0. For sure, I know that the problem
were not present at the beginning of April.
/* config.h */
#define HAVE_PTHREAD_H 1
/* #undef HAVE_PTHREAD_SPINLOCK_T */
#define HAVE_PTHREAD_T 1
/* #undef HAVE_RAW_DECL_PTHREAD_SIGMASK */
The issue is that 'regex.o' is being linked against 'pthread.o',
but the makefile is not told about this need. In fact, a manual
intervention
/* talkd/Makefile */
- LIBS =
+ LIBS = $(LIB_PTHREAD)
achieves the final linking, but I do not believe this linking
should be there at all for OpenBSD. Correct me if I am wrong.
Best regards,
Mats Erik Andersson, on behalf of GNU Inetutils.
- pthread fails with OpenBSD 4.6 and 5.0.,
Mats Erik Andersson <=