Bug#606829: FTBFS with linker flag --as-needed

Stefan Potyra sistpoty at ubuntu.com
Sun Dec 12 01:29:40 UTC 2010


Package: libmpc
Version: 2:0.1~r459-1
Severity: wishlist
Tags: patch

Hi,

libmpc fails to build if --as-needed is used as linker flag, as this enforces
strict ordering of the libraries (symbol users before symbol definitions),
see [1,2].

Attached is a patch which corrects the linking order.

Cheers,
   Stefan.

[1]:
<http://people.ubuntuwire.org/~lucas/ubuntu-nbs/64/libmpc_2:0.1~r459-1_lubuntu64.buildlog>
[2]:
<http://people.ubuntuwire.org/~lucas/ubuntu-nbs/32/libmpc_2:0.1~r459-1_lubuntu32.buildlog>

-- System Information:
Debian Release: squeeze/sid
  APT prefers natty-updates
  APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-7-generic (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 04_link-order.patch
Type: text/x-diff
Size: 1610 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20101212/d77b33c9/attachment.patch>


More information about the pkg-multimedia-maintainers mailing list