[Pkg-uml-pkgs] Bug#570617: Filtering -Wl, -Bsymbolic-functions out of LDFLAGS

Loïc Minier lool at dooz.org
Sat Feb 20 09:17:33 UTC 2010


Package: user-mode-linux
Version: 2.6.32-1um-3
Severity: wishlist
Tags: patch

        Hi there,

 Thanks for packaging user-mode-linux in Debian!  We were copying the
 package automatically in Ubuntu unmodified and it was failing to build
 due to Ubuntu changes to dpkg-dev to set
 LDFLAGS=-Wl,-Bsymbolic-functions by default (in dpkg-buildpackage).

 Usually, kernel packages have very different constraints on
 CFLAGS/LDFLAGS than userspace packages, so in the Ubuntu kernel
 packages we "unexport CFLAGS LDFLAGS" in the rules.

 I fixed the amd64 build of user-mode-linux by applying the attached
 patch which will strip -Wl,-Bsymbolic-functions from LDFLAGS, would you
 mind applying that to the Debian package?  Or perhaps use the unexport
 recipe, whatever you find best.

   Thanks!
-- 
Loïc Minier
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uml-ldflags.diff
Type: text/x-diff
Size: 1078 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-uml-pkgs/attachments/20100220/76e9b682/attachment.diff>


More information about the Pkg-uml-pkgs mailing list