Could these changes break Wine? Fwd: gcc in natty now passes --as-needed by default to the linker
scott at open-vote.org
Fri Nov 26 18:08:53 CST 2010
Trying to head off a problem before it's a problem...
-------- Original Message --------
Subject: gcc in natty now passes --as-needed by default to the linker
Date: Mon, 15 Nov 2010 12:26:27 +0100
From: Matthias Klose <doko at ubuntu.com>
Reply-To: ubuntu-devel-discuss at lists.ubuntu.com
To: ubuntu-devel <ubuntu-devel-announce at lists.ubuntu.com>, ubuntu-devel
<ubuntu-devel at lists.ubuntu.com>
There is a second change to the linking in natty; as announced in ,
--no-add-needed/--no-copy-dt-needed-entries is passed by default, with
the current gcc in natty, --as-needed is passed as well. Please see 
for implications (runtime failures) and a list of packages which might
To revert this change on a per package basis, pass --no-as-needed to the
linker (-Wl,--no-as-needed in LDFLAGS). To add an explicit dependency
on a library use --no-as-needed -lfoo --as-needed.
Please tag bug reports with `as-needed' if you see runtime failures
caused by this change (mostly unresolvable symbols referenced by plugins
and ldopened objects).
More information about the wine-devel