Bug 2307721 - osu-micro-benchmarks does not build on 32bit
Summary: osu-micro-benchmarks does not build on 32bit
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: osu-micro-benchmarks
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Michal Schmidt
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: FE-ExcludeArch-x86, F-ExcludeArch-x86
TreeView+ depends on / blocked
 
Reported: 2024-08-24 14:06 UTC by Michal Schmidt
Modified: 2024-08-24 14:08 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-08-24 14:08:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michal Schmidt 2024-08-24 14:06:59 UTC
osu-micro-benchmarks does not build on x86:

Making all in blocking
make[4]: Entering directory '/builddir/build/BUILD/osu-micro-benchmarks-7.4/build-mpich-i386/c/mpi/collective/blocking'
mpicc -DPACKAGE_NAME=\"OSU-Micro-Benchmarks\" -DPACKAGE_TARNAME=\"osu-micro-benchmarks\" -DPACKAGE_VERSION=\"7.4\" -DPACKAGE_STRING=\"OSU-Micro-Benchmarks\ 7.4\" -DPACKAGE_BUGREPORT=\"mvapich-discuss.edu\" -DPACKAGE_URL=\"\" -DPACKAGE=\"osu-micro-benchmarks\" -DVERSION=\"7.4\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MATH_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MEMSET=1 -DHAVE_SQRT=1 -D_ENABLE_MPI4_=1 -DFIELD_WIDTH=18 -DFLOAT_PRECISION=2 -I. -I../../../../../c/mpi/collective/blocking    -I../../../../../c/util  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -c -o ../../../util/osu_util_validation.o ../../../../../c/mpi/collective/blocking/../../../util/osu_util_validation.c
make[4]: Leaving directory '/builddir/build/BUILD/osu-micro-benchmarks-7.4/build-mpich-i386/c/mpi/collective/blocking'
../../../../../c/mpi/collective/blocking/../../../util/osu_util_validation.c: In function ‘atom_binary_compare’:
../../../../../c/mpi/collective/blocking/../../../util/osu_util_validation.c:311:36: error: ‘__int128_t’ undeclared (first use in this function); did you mean ‘__int128__’?
  311 |             return COMPARE_AS_TYPE(__int128_t, a, b);
      |                                    ^~~~~~~~~~
../../../../../c/mpi/collective/blocking/../../../util/osu_util_validation.c:287:41: note: in definition of macro ‘COMPARE_AS_TYPE’
  287 | #define COMPARE_AS_TYPE(c_type, a, b) *(c_type *)(a) == *(c_type *)(b)
      |                                         ^~~~~~
../../../../../c/mpi/collective/blocking/../../../util/osu_util_validation.c:311:36: note: each undeclared identifier is reported only once for each function it appears in
  311 |             return COMPARE_AS_TYPE(__int128_t, a, b);
      |                                    ^~~~~~~~~~
../../../../../c/mpi/collective/blocking/../../../util/osu_util_validation.c:287:41: note: in definition of macro ‘COMPARE_AS_TYPE’
  287 | #define COMPARE_AS_TYPE(c_type, a, b) *(c_type *)(a) == *(c_type *)(b)
      |                                         ^~~~~~
../../../../../c/mpi/collective/blocking/../../../util/osu_util_validation.c:287:49: error: expected expression before ‘)’ token
  287 | #define COMPARE_AS_TYPE(c_type, a, b) *(c_type *)(a) == *(c_type *)(b)
      |                                                 ^
../../../../../c/mpi/collective/blocking/../../../util/osu_util_validation.c:311:20: note: in expansion of macro ‘COMPARE_AS_TYPE’
  311 |             return COMPARE_AS_TYPE(__int128_t, a, b);
      |                    ^~~~~~~~~~~~~~~
make[4]: *** [Makefile:737: ../../../util/osu_util_validation.o] Error 1


Reproducible: Always


Note You need to log in before you can comment on or make changes to this bug.