Closed 50eff062-408a-4098-b1b2-8222303b9d0c closed 22 years ago
./configure --with-suffix=.exe make
generates a warning for every file: cc: unrecognized option `-Kpthread'
and then terminates with an error:
cc -Kpthread -flatnamespace -u \_dummy -u
_PyMac_Error -framework System -framework
Carbon -framework Foundation -o python.exe \
Modules/python.o \
libpython2.2.a
cc: unrecognized option `-Kpthread'
/usr/bin/ld: Undefined symbols:
_pthread_sigmask
make: *** [python.exe] Error 1
Logged In: YES user_id=21627
What Python version?
Logged In: YES user_id=21627
Fixed in configure.in 1.268; configure 1.260.
Logged In: YES user_id=21627
The previous patch only arranged to not use -Kpthread anymore. The pthread_sigmask problem was unrelated; this is fixed with
pyconfig.h.in 1.15 configure 1.261 configure.in 1.269 thread_pthread.h 2.34
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields: ```python assignee = 'https://github.com/loewis' closed_at =
created_at =
labels = ['OS-mac']
title = 'Build broken in Mac OS X'
updated_at =
user = 'https://bugs.python.org/anonymous'
```
bugs.python.org fields:
```python
activity =
actor = 'loewis'
assignee = 'loewis'
closed = True
closed_date = None
closer = None
components = ['macOS']
creation =
creator = 'anonymous'
dependencies = []
files = []
hgrepos = []
issue_num = 470781
keywords = []
message_count = 4.0
messages = ['6917', '6918', '6919', '6920']
nosy_count = 1.0
nosy_names = ['loewis']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue470781'
versions = []
```