Skip to content

Conversation

@ned-deily
Copy link
Member

@ned-deily 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
Copy link
Contributor

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

@miss-islington miss-islington merged commit 44a3ee0 into python:master Dec 23, 2018
@miss-islington
Copy link
Contributor

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

@bedevere-bot
Copy link

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

miss-islington pushed 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 <[email protected]>
@bedevere-bot
Copy link

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

miss-islington pushed 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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
@ned-deily ned-deily deleted the bpo-35257-bldshared branch December 23, 2018 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants