Skip to content

Conversation

@cniethammer
Copy link
Contributor

Signed-off-by: Christoph Niethammer [email protected]

@jsquyres
Copy link
Member

@cniethammer I'm not entirely understanding what problem it is that you're fixing here. Yes, the free() was missing from the configure program, but why does it matter?

@cniethammer
Copy link
Contributor Author

This matters if I build Open MPI with sanitizers, e.g. configure CC=clang CFLAGS=-fsanitize=address ....
In this case configure test programs area also build with the sanitizers and will report errors resulting in configure to fail.

@jsquyres
Copy link
Member

Got it. Can you put that in the commit message and/or in a comment in the code?

If building Open MPI with sanitizers, e.g
$ configure CC=clang CFLAGS=-fsanitize=address ....
configure test programs are also build with the sanitizers and will
report errors resulting in configure to fail.

Signed-off-by: Christoph Niethammer <[email protected]>
@cniethammer
Copy link
Contributor Author

@jsquyres Updated the commit message

@jsquyres jsquyres merged commit 30ba603 into open-mpi:master Jul 21, 2020
@devreal
Copy link
Contributor

devreal commented Jul 22, 2020

Should this be backported to the release branches?

@cniethammer
Copy link
Contributor Author

Yes, would be good to have this in at least 4.1.x for testing

@jsquyres
Copy link
Member

Might as well do v4.0.x, too.

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