[New-bugs-announce] [issue32931] Python 3.70b1 specifies non-existent compiler gcc++

Marc Culler report at bugs.python.org
Fri Feb 23 23:03:24 EST 2018


New submission from Marc Culler <culler at math.uic.edu>:

Compiling an external module in the 3.7.0b1 prerelease on macOS High Sierra failed for me because a compiler named "gcc++" was not found.  As far as I can tell there is no such compiler in the current XCode release.  I don't know if there ever was one.  The culprit file is:

/Library/Frameworks/Python.framework//Versions/3.7/lib/python3.7/_sysconfigdata_m_darwin_darwin.py

The following patch fixed the problem for me:

38c38
<  'CXX': 'gcc++',
---
>  'CXX': 'g++',
484c484
<  'LDCXXSHARED': 'gcc++ -bundle -undefined dynamic_lookup',
---
>  'LDCXXSHARED': 'g++ -bundle -undefined dynamic_lookup',

----------
components: macOS
messages: 312697
nosy: culler, ned.deily, ronaldoussoren
priority: normal
severity: normal
status: open
title: Python 3.70b1 specifies non-existent compiler gcc++
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32931>
_______________________________________


More information about the New-bugs-announce mailing list