[Bug 697229] Re: openmpi link failure with ld --as-needed
Launchpad Bug Tracker
697229 at bugs.launchpad.net
Thu Oct 13 15:07:40 UTC 2011
This bug was fixed in the package binutils - 2.21.90.20111004-2ubuntu1
---------------
binutils (2.21.90.20111004-2ubuntu1) oneiric; urgency=low
* Merge with Debian.
binutils (2.21.90.20111004-2) unstable; urgency=low
* Fix PR ld/13250, preserve the maximum alignment and size for common
symbols (H.J. Lu). Closes: #608901. LP: #697229.
binutils (2.21.90.20111004-1) unstable; urgency=medium
* Snapshot, taken from the binutils-2_22-branch 20111004.
* Fix PR ld/13195, taken from the trunk. Closes: #643858, #644183.
binutils (2.21.53.20110922-1) unstable; urgency=low
* Snapshot, taken from the binutils-2_22-branch 20110924.
binutils (2.21.53.20110910-1) unstable; urgency=low
* Snapshot, taken from the trunk 20110910.
- Fix PR gas/13024. Closes: #635592.
* Build with proposed patch for PR ld/12965.
* Don't ship .la files in the cross binutils packages.
* For native builds, add the multiarch directories to the default
search path.
binutils (2.21.53.20110823-3) unstable; urgency=low
* Revert the last change:
- Default to --hash-style=both in ld.bfd and ld.gold.
binutils (2.21.53.20110823-2) unstable; urgency=low
* Default to --hash-style=both in ld.bfd and ld.gold.
* Fix s390x build (Aurelian Jarno). Closes: #635167.
binutils (2.21.53.20110823-1) unstable; urgency=low
* Snapshot, taken from the trunk 20110823.
- ld --no-copy-dt-needed-entries/--no-add-needed is now the default.
binutils (2.21.53.20110810-0ubuntu4) oneiric-proposed; urgency=low
* Fix PR ld/13250, preserve the maximum alignment and size for common
symbols (H.J. Lu). Closes: #608901. LP: #697229.
-- Matthias Klose <doko at ubuntu.com> Tue, 11 Oct 2011 12:36:33 +0200
** Changed in: binutils (Ubuntu Precise)
Status: Confirmed => Fix Released
--
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 Released
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:
Fix Released
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