Skip to content

Conversation

@bertwesarg
Copy link
Member

--enable-mem-debug #defines realloc/free as macros, though macros
are also matched if they appear in references to members. Rename the
members to avoid this matching.

See #6995

@devreal
Copy link
Contributor

devreal commented Jul 13, 2020

@bertwesarg We posted similar fixes. You are missing at least one place in the UCX backend, see https://github.com/open-mpi/ompi/pull/7927/files#diff-ae1fde1f4c92b725fdcf638c9bd2b73bR101

@ibm-ompi
Copy link

The IBM CI (GNU/Scale) build failed! Please review the log, linked below.

Gist: https://gist.github.com/d320d8698a93bc0c86aeaac867ccb6a4

@ibm-ompi
Copy link

The IBM CI (XL) build failed! Please review the log, linked below.

Gist: https://gist.github.com/8eccf19eaaee76904a277167da37f0d8

@ibm-ompi
Copy link

The IBM CI (PGI) build failed! Please review the log, linked below.

Gist: https://gist.github.com/e80a71467c7be5ee4be2da1bcaf4731b

`--enable-mem-debug` `#define`s `realloc`/`free` as macros, though macros
are also matched if they appear in references to members. Rename the
members to avoid this matching.

See open-mpi#6995

Signed-off-by: Bert Wesarg <[email protected]>
@jsquyres
Copy link
Member

@bertwesarg @devreal Can you guys figure out which of this PR and #7927 should get merged? They're fairly straightforward and have been sitting around forever. Thanks!

@devreal
Copy link
Contributor

devreal commented Oct 19, 2020

Not sure why the build checker failed, can someone restart them please? I'd favor this PR over #7927 because the sa_ prefix reduces the chance for future conflicts.

@bwbarrett
Copy link
Member

bot:retest

@devreal
Copy link
Contributor

devreal commented Oct 20, 2020

The signed-off checker seems to be stuck. Other than that this PR is good to go

@awlauria
Copy link
Contributor

bot:ompi:retest

@awlauria awlauria linked an issue Oct 20, 2020 that may be closed by this pull request
@awlauria
Copy link
Contributor

hung again :/

@bwbarrett
Copy link
Member

The bot: commands do not cause the signed-off-by checker to run again. This is a long-standing issue with GitHub that @jsquyres has been trying to figure out for some time. The only solution is to re-force push to cause the checker to refire.

@devreal
Copy link
Contributor

devreal commented Oct 20, 2020

I asked @bertwesarg but he seems to be on vacation until the end of the week.

@jsquyres
Copy link
Member

Well this was an unanticipated side effect...

Since @bertwesarg is out, and I apparently don't have write perms on the branch for this PR in his fork, I created #8107 to replace this PR (i.e., trigger all the CI again, including the signed-off-by-checker). The intent was to "just get this done" -- close out this PR and replace it with #8107.

Amusingly, Github was smarter than that: Github triggered all the CI on the new PR #8107, but since the git hash on this PR is identical to the git hash on #8107, all the CI tests -- including the signed off by checker -- updated over here, too.

So when CI finishes, we can just merge this PR (because there's another issue linked to it), which will also auto-close #8107.

@jsquyres
Copy link
Member

bot:aws:recheck

@jsquyres
Copy link
Member

bot:ompi:retest

@jsquyres jsquyres merged commit 8f3b2d2 into open-mpi:master Oct 20, 2020
@bertwesarg bertwesarg deleted the fix-mem-debug-build branch December 16, 2020 07:42
@bertwesarg
Copy link
Member Author

Looks like, this missed the 4.1.0 release.

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.

UCX: compile errors with --enable-timing and --enable-mem-debug

7 participants