Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 733948

Summary: dev-util/valgrind-3.16.1 : libmpiwrap.c: error: MPI_UB undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=729352
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-util:valgrind-3.16.1:20200726-012312.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-07-26 08:31:38 UTC
/usr/bin/mpicc    -I../include  -g -O -fno-omit-frame-pointer -Wall -fpic -m64 -Wno-deprecated-declarations -O2 -pipe -march=native -fno-diagnostics-color -Wformat -Werror=format-security -c -o libmpiwrap_amd64_linux_so-libmpiwrap.o `test -f 'libmpiwrap.c' || echo './'`libmpiwrap.c
libmpiwrap.c: In function ‘showTy’:
libmpiwrap.c:281:19: error: ‘MPI_UB’ undeclared (first use in this function); did you mean ‘MPI_IO’?
  281 |    else if (ty == MPI_UB)             fprintf(f,"UB");
      |                   ^~~~~~
      |                   MPI_IO

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-20200720-185100

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
clang version 10.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python3.6 (fallback)
  [5]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.45.0 *
The following VMs are available for generation-2:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sun Jul 26 12:35:24 AM UTC 2020

emerge -qpvO dev-util/valgrind
[ebuild  N    ] dev-util/valgrind-3.16.1  USE="mpi"
Comment 1 Toralf Förster gentoo-dev 2020-07-26 08:31:40 UTC
Created attachment 650798 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-07-26 08:31:43 UTC
Created attachment 650800 [details]
dev-util:valgrind-3.16.1:20200726-012312.log
Comment 3 Toralf Förster gentoo-dev 2020-07-26 08:31:46 UTC
Created attachment 650802 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-07-26 08:31:50 UTC
Created attachment 650804 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-07-26 08:31:52 UTC
Created attachment 650806 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-07-26 08:31:56 UTC
Created attachment 650808 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-07-26 08:31:59 UTC
Created attachment 650810 [details]
temp.tbz2
Comment 8 Thibaud CANALE 2020-09-18 17:43:15 UTC
Same issue than bug 683778 with >=sys-cluster/openmpi-4: MPI 1 support was drop.
Patch from https://bugs.kde.org/show_bug.cgi?id=401416#c3 works.
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-25 12:06:46 UTC Comment hidden (obsolete)
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-25 12:09:20 UTC

*** This bug has been marked as a duplicate of bug 729352 ***
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-25 12:10:16 UTC
(In reply to Thibaud "thican" CANALE from comment #8)
> Same issue than bug 683778 with >=sys-cluster/openmpi-4: MPI 1 support was
> drop.
> Patch from https://bugs.kde.org/show_bug.cgi?id=401416#c3 works.

Thanks.