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)

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

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

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)

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

(cherry picked from open-mpi/ompi@80bb41a)
@hjelmn
Copy link
Member Author

hjelmn commented Sep 23, 2015

:bot:assign: @jsquyres
:bot🏷️bug
:bot:milestone:v2.0.0

@ompiteam-bot ompiteam-bot added this to the v2.0.0 milestone Sep 23, 2015
@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

👍

hppritcha added a commit that referenced this pull request Sep 28, 2015
ROMIO configure looks for lstat in wrong header
@hppritcha hppritcha merged commit a552c08 into open-mpi:v2.x Sep 28, 2015
alex-mikheev pushed a commit to alex-mikheev/ompi-release that referenced this pull request Nov 11, 2015
opal/crs: clean up parsing code to fix coverity issues
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