Skip to content

Conversation

@wthrowe
Copy link
Contributor

@wthrowe wthrowe commented Sep 14, 2015

According to the Linux man page, both sys/stat.h and unistd.h are
supposed to be included before using lstat, and, at least on some
machines, sys/stat.h is actually the necessary one.

This fixes a strange linking failure on one of my systems for reasons that I'm not completely clear on.

According to the Linux man page, both sys/stat.h and unistd.h are
supposed to be included before using lstat, and, at least on some
machines, sys/stat.h is actually the necessary one.
@hjelmn
Copy link
Member

hjelmn commented Sep 14, 2015

Has this been fixed upstream?

@wthrowe
Copy link
Contributor Author

wthrowe commented Sep 14, 2015

Probably not. Where is upstream?

@hjelmn
Copy link
Member

hjelmn commented Sep 14, 2015

mpich is the upstream source. https://www.mpich.org/

In general we pull romio changes directly from mpich.

@wthrowe
Copy link
Contributor Author

wthrowe commented Sep 14, 2015

I will go report it there, then. I don't consider this to be a high priority patch, as I seem to be the only one this causes problems for, so I'm just going to close this and let the fix get pulled into OpenMPI by whatever your usual merging procedure is.

@wthrowe wthrowe closed this Sep 14, 2015
@hjelmn
Copy link
Member

hjelmn commented Sep 14, 2015

Thanks. Once they have fixed it up stream please let us know and we will pull the appropriate commit and PR it to the affected release branches.

@wthrowe
Copy link
Contributor Author

wthrowe commented Sep 21, 2015

@jsquyres
Copy link
Member

@hjelmn You want to pull that from ROMIO's upstream?

@hjelmn
Copy link
Member

hjelmn commented Sep 23, 2015

Will merge the upstream commit once jenkins finishes.

@jsquyres
Copy link
Member

@hjelmn Thanks for committing. However, I see that @wthrowe was not cited in the commit message -- can you please be sure that he is cited in NEWS? His name appears to be William Throwe. Thanks.

@hjelmn
Copy link
Member

hjelmn commented Sep 24, 2015

The commit appears with his name and email address. Is that not sufficient?

@jsquyres
Copy link
Member

Doh, I totally missed that. (we'll still cite him in NEWS, too)

@hjelmn
Copy link
Member

hjelmn commented Sep 24, 2015

I agree on the NEWS.

BTW, to get the upstream patch I downloaded the email version from mpich then changed all the paths to point at where romio is in Open MPI and updated the commit message to indicate the original commit. This patch then was applied using git am. This preserved not only the original author but also the signed off by line.

jsquyres pushed a commit to jsquyres/ompi that referenced this pull request Aug 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants