Skip to content

fedora 42 compilation failure #13213

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
tonycurtis opened this issue Apr 26, 2025 · 1 comment
Closed

fedora 42 compilation failure #13213

tonycurtis opened this issue Apr 26, 2025 · 1 comment

Comments

@tonycurtis
Copy link

Thank you for taking the time to submit an issue!

Background information

Compilation failure on Fedora 42

What version of Open MPI are you using? (e.g., v4.1.6, v5.0.1, git branch name and hash, etc.)

5.0.7

Describe how Open MPI was installed (e.g., from a source/distribution tarball, from a git clone, from an operating system distribution package, etc.)

tarball

Please describe the system on which you are running

  • Operating system/version: Fedora 42
  • Computer hardware: x86_64
  • Network type: eth

Details of the problem

Making all in mca/sshmem
make[2]: Entering directory '/home/tc/src/openmpi/build/oshmem/mca/sshmem'
depbase=`echo base/sshmem_base_open.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../openmpi-5.0.7/oshmem/mca/sshmem -I../../../opal/include -I../../../ompi/include -I../../../oshmem/include -I../../../ompi/mpiext/cuda/c -I../../../ompi/mpiext/rocm/c   -iquote../../../../openmpi-5.0.7 -iquote../../.. -iquote../../../../openmpi-5.0.7/opal/include -iquote../../../../openmpi-5.0.7/ompi/include -iquote../../../../openmpi-5.0.7/oshmem/include  -I/home/tc/src/openmpi/build/3rd-party/libevent-2.1.12-stable-ompi -I/home/tc/src/openmpi/build/3rd-party/libevent-2.1.12-stable-ompi/include -I/home/tc/src/openmpi/build/3rd-party/hwloc-2.7.1/include -I/home/tc/src/openmpi/openmpi-5.0.7/3rd-party/hwloc-2.7.1/include -I/home/tc/src/openmpi/build/3rd-party/openpmix/include -I/home/tc/src/openmpi/openmpi-5.0.7/3rd-party/openpmix/include -I/home/tc/src/openmpi/build/3rd-party/openpmix/ -I/home/tc/src/openmpi/openmpi-5.0.7/3rd-party/openpmix/  -O3 -DNDEBUG  -finline-functions -mcx16 -MT base/sshmem_base_open.lo -MD -MP -MF $depbase.Tpo -c -o base/sshmem_base_open.lo ../../../../openmpi-5.0.7/oshmem/mca/sshmem/base/sshmem_base_open.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../openmpi-5.0.7/oshmem/mca/sshmem -I../../../opal/include -I../../../ompi/include -I../../../oshmem/include -I../../../ompi/mpiext/cuda/c -I../../../ompi/mpiext/rocm/c -iquote../../../../openmpi-5.0.7 -iquote../../.. -iquote../../../../openmpi-5.0.7/opal/include -iquote../../../../openmpi-5.0.7/ompi/include -iquote../../../../openmpi-5.0.7/oshmem/include -I/home/tc/src/openmpi/build/3rd-party/libevent-2.1.12-stable-ompi -I/home/tc/src/openmpi/build/3rd-party/libevent-2.1.12-stable-ompi/include -I/home/tc/src/openmpi/build/3rd-party/hwloc-2.7.1/include -I/home/tc/src/openmpi/openmpi-5.0.7/3rd-party/hwloc-2.7.1/include -I/home/tc/src/openmpi/build/3rd-party/openpmix/include -I/home/tc/src/openmpi/openmpi-5.0.7/3rd-party/openpmix/include -I/home/tc/src/openmpi/build/3rd-party/openpmix/ -I/home/tc/src/openmpi/openmpi-5.0.7/3rd-party/openpmix/ -O3 -DNDEBUG -finline-functions -mcx16 -MT base/sshmem_base_open.lo -MD -MP -MF base/.deps/sshmem_base_open.Tpo -c ../../../../openmpi-5.0.7/oshmem/mca/sshmem/base/sshmem_base_open.c  -fPIC -DPIC -o base/.libs/sshmem_base_open.o
../../../../openmpi-5.0.7/oshmem/mca/sshmem/base/sshmem_base_open.c:34:39: error: initialization of ‘void *’ from ‘long unsigned int’ makes pointer from integer without a cast [-Wint-conversion]
   34 | void *mca_sshmem_base_start_address = UINTPTR_MAX;
      |                                       ^~~~~~~~~~~
make[2]: *** [Makefile:1513: base/sshmem_base_open.lo] Error 1
make[2]: Leaving directory '/home/tc/src/openmpi/build/oshmem/mca/sshmem'
make[1]: *** [Makefile:1924: all-recursive] Error 1
make[1]: Leaving directory '/home/tc/src/openmpi/build/oshmem'
make: *** [Makefile:1539: all-recursive] Error 1
$ gcc --version
gcc (GCC) 15.0.1 20250329 (Red Hat 15.0.1-0)
Copyright (C) 2025 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
@jsquyres
Copy link
Member

jsquyres commented May 3, 2025

@tonycurtis Thanks for reporting! This is actually a dup of #13103, and was fixed in d10e976. It will be included in the upcoming v5.0.8 release.

If you need a build now, it should be available in the v5.0.x nightly builds: https://www.open-mpi.org/nightly/v5.0.x/

@jsquyres jsquyres closed this as completed May 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants