Skip to content

bpo-35499: Fix LDFLAGS in "make build_all_generate_profile" #11219

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

Closed
wants to merge 1 commit into from
Closed

bpo-35499: Fix LDFLAGS in "make build_all_generate_profile" #11219

wants to merge 1 commit into from

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Dec 18, 2018

"make build_all_generate_profile" doesn't add PGO_PROF_GEN_FLAG flags
to LDFLAGS anymore.

Remove also LDFLAGS="$(LDFLAGS)" from "make profile-opt".

https://bugs.python.org/issue35499

"make build_all_generate_profile" doesn't add PGO_PROF_GEN_FLAG flags
to LDFLAGS anymore.

Remove also LDFLAGS="$(LDFLAGS)" from "make profile-opt".
@vstinner
Copy link
Member Author

vstinner commented Dec 18, 2018

@gpshead: Follow-up of PR #11164. What do you think of this change? Does it look good to you?

@vstinner
Copy link
Member Author

cc @stratakis

@vstinner
Copy link
Member Author

cc @serge-sans-paille

@gpshead
Copy link
Member

gpshead commented Dec 19, 2018

responded on the issue, the linker needs the pgo flags for the profile generation build. it is only used for the instrumented build, not the final build.

@vstinner
Copy link
Member Author

This PR simply breaks PGO compilation: https://bugs.python.org/issue35499#msg332134 I close it.

@vstinner vstinner closed this Dec 19, 2018
@vstinner vstinner deleted the profile_opt_ldflags branch December 19, 2018 12:22
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