Opened 11 months ago
Last modified 9 months ago
#68837 assigned defect
openmpi-gcc13 fails to build
Reported by: | rhaas80 (Roland Haas) | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | JJHelly, matsbn (Mats Bentsen) | |
Port: | openmpi-gcc13 |
Description
Hello all,
On my Apple M1 Mac macOS 14.0 23A344 I get build failures in opnempi-gcc13 from this command (freshly installed macpors, XCode App and XCode command line utilities):
sudo port -N install pkgconfig gcc13 openmpi-gcc13 fftw-3 gsl zlib openssl subversion ld64 hdf5 +fortran +gfortran
The error message is:
info:build pget_elements_x.c: In function 'PMPI_Get_elements_x': :info:build pget_elements_x.c:79:63: error: 'SSIZE_MAX' undeclared (first use in this function); did you mean 'RSIZE_MAX'? :info:build 79 | if (OMPI_SUCCESS == ret && internal_count <= (size_t) SSIZE_MAX) { :info:build | ^~~~~~~~~ :info:build | RSIZE_MAX :info:build pget_elements_x.c:79:63: note: each undeclared identifier is reported only once for each function it appears in :info:build make[3]: *** [pget_elements_x.lo] Error 1
Seems like ssize_max
(or so) is being used without correct header files being included.
Log file attached.
Attachments (1)
Change History (5)
Changed 11 months ago by rhaas80 (Roland Haas)
comment:1 Changed 11 months ago by jmroot (Joshua Root)
Keywords: | openmpi gcc13 removed |
---|---|
Owner: | set to mascguy |
Status: | new → assigned |
comment:2 Changed 11 months ago by JJHelly
Cc: | JJHelly added |
---|
comment:3 Changed 10 months ago by matsbn (Mats Bentsen)
Cc: | matsbn added |
---|
comment:4 Changed 9 months ago by michaellass (Michael Lass)
This should be fixed in OpenMPI 5.0.2 via
- https://github.com/open-mpi/ompi/commit/9bd6041576d7452f8170173bd101bbc5295a5eaa
- https://github.com/open-mpi/ompi/commit/34506e0169b57e4fb0d2366e7560c6fb4b6d63f0
- https://github.com/open-mpi/ompi/commit/08f21fd8b82c9e4280a013a91a9c835c210d4124
- https://github.com/open-mpi/ompi/commit/8270814cd4970c4972a6c63fed13c6ad80ceeb08
Note: See
TracTickets for help on using
tickets.
main log file