Bug 2303465 - intel-mpi-benchmarks 2021.8 does not build on 32bit
Summary: intel-mpi-benchmarks 2021.8 does not build on 32bit
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: intel-mpi-benchmarks
Version: rawhide
Hardware: i686
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Michal Schmidt
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: FE-ExcludeArch-x86, F-ExcludeArch-x86
TreeView+ depends on / blocked
 
Reported: 2024-08-07 14:18 UTC by Michal Schmidt
Modified: 2024-08-07 14:19 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-07 14:18:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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


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