Skip to content

v3.1.x: Make sure MPIR_Breakpoint() is compiled without CFLAGS. #8432

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

Merged
merged 1 commit into from
Feb 2, 2021

Conversation

awlauria
Copy link
Contributor

@awlauria awlauria commented Feb 1, 2021

In optimized builds, CFLAGS contains various optimizations such as -O3,
and is propogated by automake to all files. To work-around this,
isolate MPIR_Breakpoint() and other MPIR_* symbols into its own library
built with debugger specific CFLAGS.

To prevent CFLAGS from being polluted elsewhere in the make tree, build
this in its own tiny stand-alone makefile.

Fixes #7757

Signed-off-by: Austen Lauria [email protected]
(cherry picked from commit 6d82003)

In optimized builds, CFLAGS contains various optimizations such as -O3,
and is propogated by automake to all files. To work-around this,
isolate MPIR_Breakpoint() and other MPIR_* symbols into its own library
built with debugger specific CFLAGS.

To prevent CFLAGS from being polluted elsewhere in the make tree, build
this in its own tiny stand-alone makefile.

Fixes open-mpi#7757

Signed-off-by: Austen Lauria <[email protected]>
(cherry picked from commit 6d82003)
@awlauria awlauria changed the title Make sure MPIR_Breakpoint() is compiled without CFLAGS. v3.1.x: Make sure MPIR_Breakpoint() is compiled without CFLAGS. Feb 1, 2021
@jjhursey jjhursey added this to the v3.1.7 milestone Feb 1, 2021
@jsquyres
Copy link
Member

jsquyres commented Feb 2, 2021

Per discussion today, we'll merge this into the v3.1.x branch, but we will not be creating a new release for it. A new nightly snapshot tarball should be emitted tonight at https://www.open-mpi.org/nightly/v3.1.x/.

@jsquyres jsquyres merged commit b161e78 into open-mpi:v3.1.x Feb 2, 2021
@awlauria awlauria deleted the mpir_v3.1.x branch February 2, 2021 00:47
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.

3 participants