Could these changes break Wine? Fwd: gcc in natty now passes --as-needed by default to the linker
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(a)ubuntu.com> Reply-To: ubuntu-devel-discuss(a)lists.ubuntu.com To: ubuntu-devel <ubuntu-devel-announce(a)lists.ubuntu.com>, ubuntu-devel <ubuntu-devel(a)lists.ubuntu.com> There is a second change to the linking in natty; as announced in [1], --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 [2] for implications (runtime failures) and a list of packages which might be affected. 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). Matthias [1] https://lists.ubuntu.com/archives/ubuntu-devel-announce/2010-October/000772.... [2] http://wiki.debian.org/ToolChain/DSOLinking#Onlylinkwithneededlibraries
On 27.11.2010 09:19, Marcus Meissner wrote:
On Fri, Nov 26, 2010 at 04:08:53PM -0800, Scott Ritchie wrote:
Trying to head off a problem before it's a problem...
openSUSE is building all packages by default with --as-needed since the last release and so far no Wine issues have been reported.
Mandriva has also built all packages with --as-needed by default since 2008, with no wine related issues with it as far as I know. -- Anssi Hannula
participants (3)
-
Anssi Hannula -
Marcus Meissner -
Scott Ritchie