Skip to content

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