This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xzcvczx
Recipients ned.deily, ronaldoussoren, xzcvczx
Date 2018-10-11.18:11:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1539281481.26.0.788709270274.issue34960@psf.upfronthosting.co.za>
In-reply-to
Content
if you didn't build python as a framework it adds sysconfig.get_config_vars('LINKFORSHARED') when you run 'python-config --ldflags' this resolves to

>>> sysconfig.get_config_var('LINKFORSHARED')
'-Wl,-stack_size,1000000  -framework CoreFoundation /usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/Python'

the '-Wl,-stack_size' ldflag causes issues for clang with the error

"ld: -stack_size option can only be used when linking a main executable"
History
Date User Action Args
2018-10-11 18:11:21xzcvczxsetrecipients: + xzcvczx, ronaldoussoren, ned.deily
2018-10-11 18:11:21xzcvczxsetmessageid: <1539281481.26.0.788709270274.issue34960@psf.upfronthosting.co.za>
2018-10-11 18:11:21xzcvczxlinkissue34960 messages
2018-10-11 18:11:21xzcvczxcreate