Skip to content

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

Closed
vstinner wants to merge 1 commit into
python:masterfrom
vstinner:profile_opt_ldflags
Closed

bpo-35499: Fix LDFLAGS in "make build_all_generate_profile"#11219
vstinner wants to merge 1 commit into
python:masterfrom
vstinner:profile_opt_ldflags

Conversation

@vstinner

@vstinner vstinner commented Dec 18, 2018

Copy link
Copy Markdown
Member

"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

vstinner commented Dec 18, 2018

Copy link
Copy Markdown
Member Author

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

@vstinner

Copy link
Copy Markdown
Member Author

cc @stratakis

@vstinner

Copy link
Copy Markdown
Member Author

cc @serge-sans-paille

@gpshead

gpshead commented Dec 19, 2018

Copy link
Copy Markdown
Member

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
Copy Markdown
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