Skip to content

fedora 42 compilation failure #13213

@tonycurtis

Description

@tonycurtis

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions