Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-35257: fix broken BLDSHARED - needs LDFLAGS too #11297

Merged
merged 1 commit into from Dec 23, 2018

Conversation

@ned-deily
Copy link
Member

ned-deily commented Dec 23, 2018

BLDSHARED needs to have both LDFLAGS and LDFLAGS_NODIST, not just LDFLAGS_NODIST; PY_CORE_LDFLAGS provides both. For example, as it stands now with just LDFLAGS_NODIST, macOS universal builds are broken as the necessary -arch flags are no longer passed to the standard library extension module link step from setup.py resulting in extension modules being single architecture only.

https://bugs.python.org/issue35257

@miss-islington

This comment has been minimized.

Copy link

miss-islington commented Dec 23, 2018

@ned-deily: Status check is done, and it's a success .

@miss-islington miss-islington merged commit 44a3ee0 into python:master Dec 23, 2018
5 checks passed
5 checks passed
Azure Pipelines PR #20181223.23 succeeded
Details
bedevere/issue-number Issue number 35257 found
Details
bedevere/news "skip news" label found
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@miss-islington

This comment has been minimized.

Copy link

miss-islington commented Dec 23, 2018

Thanks @ned-deily for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6, 3.7.
🐍🍒🤖

@bedevere-bot

This comment has been minimized.

Copy link

bedevere-bot commented Dec 23, 2018

GH-11298 is a backport of this pull request to the 3.7 branch.

miss-islington added a commit to miss-islington/cpython that referenced this pull request Dec 23, 2018
`BLDSHARED` needs to have both `LDFLAGS` and `LDFLAGS_NODIST`, not just `LDFLAGS_NODIST`; `PY_CORE_LDFLAGS` provides both.  For example, as it stands now with just `LDFLAGS_NODIST`, macOS universal builds are broken as the necessary `-arch` flags are no longer passed to the standard library extension module link step from `setup.py` resulting in extension modules being single architecture only.

https://bugs.python.org/issue35257
(cherry picked from commit 44a3ee0)

Co-authored-by: Ned Deily <nad@python.org>
@bedevere-bot

This comment has been minimized.

Copy link

bedevere-bot commented Dec 23, 2018

GH-11299 is a backport of this pull request to the 3.6 branch.

miss-islington added a commit to miss-islington/cpython that referenced this pull request Dec 23, 2018
`BLDSHARED` needs to have both `LDFLAGS` and `LDFLAGS_NODIST`, not just `LDFLAGS_NODIST`; `PY_CORE_LDFLAGS` provides both.  For example, as it stands now with just `LDFLAGS_NODIST`, macOS universal builds are broken as the necessary `-arch` flags are no longer passed to the standard library extension module link step from `setup.py` resulting in extension modules being single architecture only.

https://bugs.python.org/issue35257
(cherry picked from commit 44a3ee0)

Co-authored-by: Ned Deily <nad@python.org>
miss-islington added a commit that referenced this pull request Dec 23, 2018
`BLDSHARED` needs to have both `LDFLAGS` and `LDFLAGS_NODIST`, not just `LDFLAGS_NODIST`; `PY_CORE_LDFLAGS` provides both.  For example, as it stands now with just `LDFLAGS_NODIST`, macOS universal builds are broken as the necessary `-arch` flags are no longer passed to the standard library extension module link step from `setup.py` resulting in extension modules being single architecture only.

https://bugs.python.org/issue35257
(cherry picked from commit 44a3ee0)

Co-authored-by: Ned Deily <nad@python.org>
ned-deily added a commit that referenced this pull request Dec 23, 2018
)

`BLDSHARED` needs to have both `LDFLAGS` and `LDFLAGS_NODIST`, not just `LDFLAGS_NODIST`; `PY_CORE_LDFLAGS` provides both.  For example, as it stands now with just `LDFLAGS_NODIST`, macOS universal builds are broken as the necessary `-arch` flags are no longer passed to the standard library extension module link step from `setup.py` resulting in extension modules being single architecture only.

https://bugs.python.org/issue35257
(cherry picked from commit 44a3ee0)

Co-authored-by: Ned Deily <nad@python.org>
ned-deily added a commit to ned-deily/cpython that referenced this pull request Dec 23, 2018
`BLDSHARED` needs to have both `LDFLAGS` and `LDFLAGS_NODIST`, not just `LDFLAGS_NODIST`; `PY_CORE_LDFLAGS` provides both.  For example, as it stands now with just `LDFLAGS_NODIST`, macOS universal builds are broken as the necessary `-arch` flags are no longer passed to the standard library extension module link step from `setup.py` resulting in extension modules being single architecture only.

https://bugs.python.org/issue35257
(cherry picked from commit 44a3ee0)

Co-authored-by: Ned Deily <nad@python.org>
@ned-deily ned-deily deleted the ned-deily:bpo-35257-bldshared branch Dec 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.