Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 779589 - sci-mathematics/msieve-1.53-r1 - demo.c:(<snip>) undefined reference to MPI_Init_thread
Summary: sci-mathematics/msieve-1.53-r1 - demo.c:(<snip>) undefined reference to MPI_I...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 585314 646918 (view as bug list)
Depends on:
Blocks: openmpi-4
  Show dependency tree
 
Reported: 2021-03-31 20:15 UTC by Toralf Förster
Modified: 2022-01-29 00:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.75 KB, text/plain)
2021-03-31 20:15 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,45.86 KB, text/plain)
2021-03-31 20:15 UTC, Toralf Förster
Details
environment (environment,52.90 KB, text/plain)
2021-03-31 20:15 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,11.84 KB, application/x-bzip)
2021-03-31 20:15 UTC, Toralf Förster
Details
sci-mathematics:msieve-1.53-r1:20210331-194442.log (sci-mathematics:msieve-1.53-r1:20210331-194442.log,112.34 KB, text/plain)
2021-03-31 20:15 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,21.85 KB, application/x-bzip)
2021-03-31 20:15 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-03-31 20:15:08 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: libmsieve.a(lanczos_io.o): warning: relocation against `ompi_mpi_int' in read-only section `.text'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sci-mathematics/msieve-1.53-r1/temp/ccVYRidx.o: in function `main':
demo.c:(.text.startup+0xa9): undefined reference to `MPI_Init_thread'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: demo.c:(.text.startup+0x435): undefined reference to `ompi_mpi_comm_world'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: demo.c:(.text.startup+0x43a): undefined reference to `MPI_Abort'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: demo.c:(.text.startup+0x54c): undefined reference to `MPI_Finalize'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-20210329-195642

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.1.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.1.0
Python 3.8.8
Available Rust versions:
  [1]   rust-1.50.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.282_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm


  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed Mar 31 19:07:42 UTC 2021

emerge -qpvO sci-mathematics/msieve
[ebuild  N    ] sci-mathematics/msieve-1.53-r1  USE="ecm mpi zlib"
Comment 1 Toralf Förster gentoo-dev 2021-03-31 20:15:09 UTC
Created attachment 696555 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-03-31 20:15:10 UTC
Created attachment 696558 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-03-31 20:15:12 UTC
Created attachment 696561 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-03-31 20:15:13 UTC
Created attachment 696564 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-03-31 20:15:14 UTC
Created attachment 696567 [details]
sci-mathematics:msieve-1.53-r1:20210331-194442.log
Comment 6 Toralf Förster gentoo-dev 2021-03-31 20:15:16 UTC
Created attachment 696570 [details]
temp.tar.bz2
Comment 7 orbea 2021-04-08 16:29:26 UTC
I can't reproduce this and the build does not use libtool at all.
Comment 8 David Seifert gentoo-dev 2022-01-28 22:50:24 UTC
*** Bug 585314 has been marked as a duplicate of this bug. ***
Comment 9 David Seifert gentoo-dev 2022-01-28 22:50:30 UTC
*** Bug 646918 has been marked as a duplicate of this bug. ***
Comment 10 Larry the Git Cow gentoo-dev 2022-01-29 00:00:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dad58a7d48705b0fca67da25cbe8636e960800fa

commit dad58a7d48705b0fca67da25cbe8636e960800fa
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2022-01-29 00:00:16 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2022-01-29 00:00:16 +0000

    sci-mathematics/msieve: fix build system
    
    Closes: https://bugs.gentoo.org/725592
    Closes: https://bugs.gentoo.org/779589
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../msieve/files/msieve-1.51-reduce-printf.patch   |  15 ++-
 .../msieve/files/msieve-1.53-fix-version.patch     |   4 -
 .../msieve/files/msieve-1.53-makefile.patch        | 108 +++++++++++++++++++++
 sci-mathematics/msieve/msieve-1.53-r1.ebuild       |  30 +++---
 4 files changed, 128 insertions(+), 29 deletions(-)