python / cpython

The Python programming language
https://www.python.org/
Other
59.71k stars 28.94k forks source link

Build broken in Mac OS X #35324

Closed 50eff062-408a-4098-b1b2-8222303b9d0c closed 22 years ago

50eff062-408a-4098-b1b2-8222303b9d0c commented 22 years ago
BPO 470781
Nosy @loewis

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 = [] ```

3772858d-27d8-44b0-a664-d68674859f36 commented 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

61337411-43fc-4a9c-b8d5-4060aede66d0 commented 22 years ago

Logged In: YES user_id=21627

What Python version?

61337411-43fc-4a9c-b8d5-4060aede66d0 commented 22 years ago

Logged In: YES user_id=21627

Fixed in configure.in 1.268; configure 1.260.

61337411-43fc-4a9c-b8d5-4060aede66d0 commented 22 years ago

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