Here is a patch to make klibc build with new linux-libc-dev
(multiarched) package

klibc uses -nostdinc before specifying include paths, thus stopping the
normal compiler system paths being searched. This is (probably) correct
behaviour for a c-library, although it may be possible to build it
correctly without using -nostdinc in which case this fix would not be
necessary.

Because the normal paths are not being searched but klibc still needs
the kernel headers, the Debian packaging makes symlinks to
/usr/include/linux and /usr/include/asm-generic. This patch adds
/usr/include/$(DEB_HOST_MULTIARCH)/asm to the set of links maintained.
It works correctly if switching architectures. I haven't tested cross-
building yet.

** Patch added: "klibc-1.5.20-multiarch-libc-dev.patch"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/750585/+attachment/1988155/+files/klibc-1.5.20-multiarch-libc-dev.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/750585

Title:
  [FFe] support for making linux-libc-dev coinstallable under multiarch

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to