python / cpython

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

2.1a Mac OSX build fails on "-lm" switch #33786

Closed 1f758259-2d8b-450e-8266-8bfd902bdc65 closed 23 years ago

1f758259-2d8b-450e-8266-8bfd902bdc65 commented 23 years ago
BPO 229832
Nosy @akuchling

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/akuchling' closed_at = created_at = labels = ['build'] title = '2.1a Mac OSX build fails on "-lm" switch' updated_at = user = 'https://bugs.python.org/sdm7g' ``` bugs.python.org fields: ```python activity = actor = 'akuchling' assignee = 'akuchling' closed = True closed_date = None closer = None components = ['Build'] creation = creator = 'sdm7g' dependencies = [] files = [] hgrepos = [] issue_num = 229832 keywords = [] message_count = 2.0 messages = ['3054', '3055'] nosy_count = 2.0 nosy_names = ['akuchling', 'sdm7g'] pr_nums = [] priority = 'normal' resolution = 'duplicate' stage = None status = 'closed' superseder = None type = None url = 'https://bugs.python.org/issue229832' versions = [] ```

1f758259-2d8b-450e-8266-8bfd902bdc65 commented 23 years ago

The new setup.py system hardwires the -lm switch with "libraries=['m']" in several places (rather than getting switches from a config file)

This breaks the Mac OSX/Darwin build as that system has no libm -- those functions are folded into the system framework. ( There's been some discussion on the Darwin dev. list of putting fake stub libraries into /usr/lib to solve this, but if it happens, it won't happen for a while. )

akuchling commented 23 years ago

Duplicate of bpo-129833; closing.