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-34449: HP aCC complains about invalid -fPIC on HP-UX #8847

Merged
merged 4 commits into from May 19, 2022

Conversation

michael-o
Copy link
Contributor

@michael-o michael-o commented Aug 21, 2018

-fPIC is code generation option and not a link option. At compile time '+z' is
already properly used with HP aCC and shared libraries are correctly linked
with '+b'. This switch can safely be dropped.

Patch by Michael Osipov.

https://bugs.python.org/issue34449

-fPIC is code generation option and not a link option. At compile time '+z' is
already properly used with HP aCC and shared libraries are correctly linked
with '+b'. This switch can safely be dropped.

Patch by Michael Osipov.
@cpython-cla-bot
Copy link

@cpython-cla-bot cpython-cla-bot bot commented May 19, 2022

All commit authors signed the Contributor License Agreement.
CLA signed

@erlend-aasland
Copy link
Contributor

@erlend-aasland erlend-aasland commented May 19, 2022

@michael-o, can you please sign the CLA?

@michael-o
Copy link
Contributor Author

@michael-o michael-o commented May 19, 2022

@erlend-aasland I am certain that I already did because other PRs from me have been absorbed into Python already. See here: https://github.com/python/cpython/commits?author=michael-o

@michael-o
Copy link
Contributor Author

@michael-o michael-o commented May 19, 2022

Ah, it was a different email address. This I can change.

@erlend-aasland
Copy link
Contributor

@erlend-aasland erlend-aasland commented May 19, 2022

FYI, CLA is still failing. We cannot merge without it.

@michael-o
Copy link
Contributor Author

@michael-o michael-o commented May 19, 2022

@erlend-aasland Just signed. Please check.

@erlend-aasland
Copy link
Contributor

@erlend-aasland erlend-aasland commented May 19, 2022

@tiran, what do you think of this? IMO, it is nice to slim down setup.py, even though its just a couple of lines. OTOH, most of this code will probably go soon anyway (gh-90005). But, having less stuff to think about for gh-90005 is also a good thing. So I'm +1 :)

tiran
tiran approved these changes May 19, 2022
Copy link
Member

@tiran tiran left a comment

SGTM

@michael-o
Copy link
Contributor Author

@michael-o michael-o commented May 19, 2022

SGTM

Awesome, 4 years of patience payed out. GCC has been dead for a very long time on HP-UX.

@erlend-aasland erlend-aasland self-assigned this May 19, 2022
@erlend-aasland erlend-aasland merged commit 09be18a into python:main May 19, 2022
13 checks passed
@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented May 19, 2022

Thanks @michael-o for the PR, and @erlend-aasland for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this issue May 19, 2022
…ythonGH-8847)

At compile time, '+z' is already properly used with HP aCC, and shared
libraries are correctly linked with '+b'. The '-fPIC' switch can safely be
dropped.
(cherry picked from commit 09be18a)

Co-authored-by: Michael Osipov <michael.osipov@siemens.com>
@bedevere-bot
Copy link

@bedevere-bot bedevere-bot commented May 19, 2022

GH-92977 is a backport of this pull request to the 3.11 branch.

miss-islington added a commit that referenced this issue May 19, 2022
At compile time, '+z' is already properly used with HP aCC, and shared
libraries are correctly linked with '+b'. The '-fPIC' switch can safely be
dropped.
(cherry picked from commit 09be18a)

Co-authored-by: Michael Osipov <michael.osipov@siemens.com>
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.

None yet

6 participants