Bug 2303465

Summary: intel-mpi-benchmarks 2021.8 does not build on 32bit
Product: [Fedora] Fedora Reporter: Michal Schmidt <mschmidt>
Component: intel-mpi-benchmarksAssignee: Michal Schmidt <mschmidt>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: kheib, mschmidt
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-08-07 14:18:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 179258    

Description Michal Schmidt 2024-08-07 14:18:42 UTC
The current upstream version of intel-mpi-benchmarks does not build on x86:

make[1]: Entering directory '/builddir/build/BUILD/intel-mpi-benchmarks-2021.8-build/mpi-benchmarks-IMB-v2021.8/build-mpich-i386/src_c/P2P'
mpicc -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 -O3 -Wall -Wextra -Werror -c -o imb_p2p.o imb_p2p.c
imb_p2p.c: In function ‘imb_p2p_alloc_mem’:
imb_p2p.c:69:23: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
   69 |         fprintf(unit, "[%d] MPI_Alloc_mem(%" PRIu64 ") error %d, ptr=%p\n",
      |                       ^~~~~~~~~~~~~~~~~~~~~~
   70 |                 imb_p2p_config.rank, size, mpi_error, ptr);
      |                                      ~~~~
      |                                      |
      |                                      size_t {aka unsigned int}

Reproducible: Always