Skip to content
This repository was archived by the owner on Sep 30, 2022. It is now read-only.

Conversation

@hjelmn
Copy link
Member

@hjelmn hjelmn commented Sep 23, 2015

ROMIO configure looks for lstat in wrong header

The ROMIO configure script checks for a declaration of lstat in
unistd.h, but, at least on the Linux machines I checked, lstat is in
sys/stat.h. (The detection failure led to a linker error when building
ROMIO as part of OpenMPI on one of my admittedly strangely configured
machines, somehow.) It appears from the man page that either location
is possible, so check both.

(cherry picked from mpich/mpich@7b8bd055dfdeb)
(cherry picked from open-mpi/ompi@80bb41a)

Signed-off-by: Rob Latham robl@mcs.anl.gov
Signed-off-by: Nathan Hjelm hjelmn@lanl.gov

ROMIO configure looks for lstat in wrong header

The ROMIO configure script checks for a declaration of lstat in
unistd.h, but, at least on the Linux machines I checked, lstat is in
sys/stat.h.  (The detection failure led to a linker error when building
ROMIO as part of OpenMPI on one of my admittedly strangely configured
machines, somehow.)  It appears from the man page that either location
is possible, so check both.

(cherry picked from mpich/mpich@7b8bd055dfdeb)
(cherry picked from open-mpi/ompi@80bb41a)

Signed-off-by: Rob Latham <robl@mcs.anl.gov>
Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
@hjelmn
Copy link
Member Author

hjelmn commented Sep 23, 2015

:bot:assign: @jsquyres
:bot🏷️bug
:bot:milestone:v1.10.1

@mellanox-github
Copy link

@jsquyres
Copy link
Member

Per open-mpi/ompi#895, can you add a NEWS item citing @wthrowe for finding the issue and submitting it upstream?

@jsquyres
Copy link
Member

Per open-mpi/ompi#895 (comment), the commit is from @wthrowe

👍

rhc54 pushed a commit that referenced this pull request Sep 24, 2015
ROMIO configure looks for lstat in wrong header
@rhc54 rhc54 merged commit f0758ba into open-mpi:v1.10 Sep 24, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants