[Bug 697229] Re: openmpi link failure with ld --as-needed
Clint Byrum
clint at fewbar.com
Tue Oct 11 19:52:08 UTC 2011
Hello Matthias, or anyone else affected,
Accepted binutils into oneiric-proposed, the package will build now and
be available in a few hours. Please test and give feedback here. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Thank you in advance!
** Changed in: binutils (Ubuntu Oneiric)
Status: Confirmed => Fix Committed
** Tags added: verification-needed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/697229
Title:
openmpi link failure with ld --as-needed
Status in binutils:
Fix Released
Status in “binutils” package in Ubuntu:
Fix Committed
Status in “openmpi” package in Ubuntu:
Invalid
Status in “binutils” source package in Oneiric:
Fix Committed
Status in “openmpi” source package in Oneiric:
Invalid
Status in “binutils” source package in Precise:
Confirmed
Status in “openmpi” source package in Precise:
Invalid
Status in “openmpi” package in Debian:
Fix Released
Bug description:
$ cat test.F
program main
include 'mpif.h'
integer ierr
call mpi_init(ierr)
end
$ mpif90 test.F -Wl,--as-needed -Wall -Wno-unused-variable -g -I/usr/lib/openmpi/include -I/usr/lib/openmpi/lib -L/usr/lib/openmpi/lib -L/usr/lib/gcc/i686-linux-gnu/4.5.2 -ldl -lmpi -lopen-rte -lopen-pal -lnsl -lutil -lgcc_s -lpthread -ldl /usr/bin/ld: /tmp/cccq3IWF.o(.debug_info+0x48d): unresolvable R_X86_64_64 relocation against symbol `mpi_fortran_argv_null_'
/usr/bin/ld: /tmp/cccq3IWF.o(.debug_info+0x4a7): unresolvable R_X86_64_64 relocation against symbol `mpi_fortran_argv_null_'
/usr/bin/ld: /tmp/cccq3IWF.o(.debug_info+0x511): unresolvable R_X86_64_64 relocation against symbol `mpi_fortran_errcodes_ignore_'
/usr/bin/ld: /tmp/cccq3IWF.o(.debug_info+0x52b): unresolvable R_X86_64_64 relocation against symbol `mpi_fortran_errcodes_ignore_'
works with --no-as-needed.
To manage notifications about this bug go to:
https://bugs.launchpad.net/binutils/+bug/697229/+subscriptions
More information about the foundations-bugs
mailing list