Your message dated Thu, 07 Jul 2011 22:32:27 +0000
with message-id <[email protected]>
and subject line Bug#629934: fixed in klibc 1.5.23-1
has caused the Debian Bug report #629934,
regarding klibc cross-build support
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
629934: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=629934
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: klibc
Version: 1.5.22-1
Severity: wishlist
Tags: patch
Hi maks,
I'm currently working on cross-building bits of Debian and klibc fails
to build. The upstream build system already supports cross-building
via Kbuild, it just needs to be told how.
Two patches here:
1. Simply set CROSS_COMPILE appropriately if we detect that we're
cross-building - easy.
2. Much more involved, due to the proliferation of patches and
versions at the moment. This interacts with markos' armhf patch and
the multi-arch work that vorlon has put in for Ubuntu, but should
be obvious I hope!
a. for the armhf cross-build support to work, I have to set
ARCH=arm too
b. multi-arch and cross build tools put headers in different
places. A sym-link is needed for building to work. For now I've
added a fallback so that things build either way, depending on
what state the m-a support is in.
Cheers,
--
Steve McIntyre
[email protected]
--- klibc-1.5.22/debian/rules.old 2011-06-09 15:39:39.723752530 +0100
+++ klibc-1.5.22/debian/rules 2011-06-09 16:08:04.227944860 +0100
@@ -32,6 +36,13 @@
DEB_MAKE_ENVVARS := INSTALLROOT=debian/tmp $(DEB_MAKE_ENVVARS)
+DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
+ DEB_MAKE_ENVVARS += CROSS_COMPILE=$(DEB_HOST_GNU_TYPE)-
+endif
+
+
# Enable this to get verbose build information
DEB_MAKE_ENVVARS += KBUILD_VERBOSE=1
--- klibc-1.5.22/debian/rules.old 2011-06-09 15:39:39.723752530 +0100
+++ klibc-1.5.22/debian/rules 2011-06-09 16:08:04.227944860 +0100
@@ -4,10 +4,14 @@
#export DH_VERBOSE=1
DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
+DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
ifeq ($(DEB_HOST_ARCH),armel)
DEB_MAKE_ENVVARS := CONFIG_AEABI=y
endif
+ifeq ($(DEB_HOST_ARCH),armhf)
+DEB_MAKE_ENVVARS := ARCH=arm CONFIG_AEABI=y CPU_ARCH=armv7-a CPU_TUNE=cortex-a8
+endif
ifeq ($(DEB_HOST_ARCH),ia64)
DEB_MAKE_ENVVARS := ARCH=ia64
endif
@@ -43,6 +54,13 @@
rm -rf linux/include; \
mkdir -p linux/include; \
ln -s /usr/include/linux linux/include; \
+ if [ -n "$(DEB_HOST_MULTIARCH)" ]; then \
+ if [ -d /usr/include/$(DEB_HOST_MULTIARCH)/asm ] ; then \
+ ln -s /usr/include/$(DEB_HOST_MULTIARCH)/asm linux/include; \
+ else \
+ ln -s /usr/$(DEB_HOST_MULTIARCH)/include/asm linux/include; \
+ fi; \
+ fi; \
for x in /usr/include/asm*; do \
ln -s $${x} linux/include; \
done \
--- End Message ---
--- Begin Message ---
Source: klibc
Source-Version: 1.5.23-1
We believe that the bug you reported is fixed in the latest version of
klibc, which is due to be installed in the Debian FTP archive:
klibc-utils-floppy-udeb_1.5.23-1_amd64.udeb
to main/k/klibc/klibc-utils-floppy-udeb_1.5.23-1_amd64.udeb
klibc-utils-udeb_1.5.23-1_amd64.udeb
to main/k/klibc/klibc-utils-udeb_1.5.23-1_amd64.udeb
klibc-utils_1.5.23-1_amd64.deb
to main/k/klibc/klibc-utils_1.5.23-1_amd64.deb
klibc_1.5.23-1.debian.tar.gz
to main/k/klibc/klibc_1.5.23-1.debian.tar.gz
klibc_1.5.23-1.dsc
to main/k/klibc/klibc_1.5.23-1.dsc
klibc_1.5.23.orig.tar.bz2
to main/k/klibc/klibc_1.5.23.orig.tar.bz2
libklibc-dev_1.5.23-1_amd64.deb
to main/k/klibc/libklibc-dev_1.5.23-1_amd64.deb
libklibc-udeb_1.5.23-1_amd64.udeb
to main/k/klibc/libklibc-udeb_1.5.23-1_amd64.udeb
libklibc_1.5.23-1_amd64.deb
to main/k/klibc/libklibc_1.5.23-1_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
maximilian attems <[email protected]> (supplier of updated klibc package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Tue, 14 Jun 2011 17:32:53 +0200
Source: klibc
Binary: libklibc-dev libklibc klibc-utils klibc-utils-udeb
klibc-utils-floppy-udeb libklibc-udeb
Architecture: source amd64
Version: 1.5.23-1
Distribution: unstable
Urgency: low
Maintainer: maximilian attems <[email protected]>
Changed-By: maximilian attems <[email protected]>
Description:
klibc-utils - small utilities built with klibc for early boot
klibc-utils-floppy-udeb - small utilities built with klibc for the boot floppy
(udeb)
klibc-utils-udeb - small utilities built with klibc for early boot (udeb)
libklibc - minimal libc subset for use with initramfs
libklibc-dev - kernel headers used during the build of klibc
libklibc-udeb - minimal libc subset for use with initramfs (udeb)
Closes: 627252 627808 629934
Changes:
klibc (1.5.23-1) unstable; urgency=low
.
* New upstream release (arm, dash sync, limits.h, ppc64)
- minimal mv in klibc-utils.
- refresh debian/patches/insmod
* Add Fix-minimal-mv-to-work-across-fs.patch (closes: #627808)
* Add armhf support. (closes: #627252)
Thanks to Konstantinos Margaritis <[email protected]>.
* Add klibc crosscompile support. (closes: #629934)
Thanks to Steve McIntyre <[email protected]>.
* debian/copyright: Add specific BSD license text to keep lintian happy.
Checksums-Sha1:
01b3c695bda5f3e49ffdb3be4c8df80732998830 1193 klibc_1.5.23-1.dsc
8fc75c8227870e13e836135a71aad21a49e16404 506362 klibc_1.5.23.orig.tar.bz2
76f7c23ec0d35d47edf4c0a406842a29bb969c22 19990 klibc_1.5.23-1.debian.tar.gz
fadf1ae39ea3c421cc47bf22c784f5bc8775f608 227250 libklibc-dev_1.5.23-1_amd64.deb
7eda0ae0df6f59ae82791c2926550f709be75c24 54852 libklibc_1.5.23-1_amd64.deb
51780013b8b9fc12fce653ec10ec4a47cb5767f0 177734 klibc-utils_1.5.23-1_amd64.deb
b71d69b1b801b76bb0677ab802b4c8922a48f69a 176420
klibc-utils-udeb_1.5.23-1_amd64.udeb
6ef6c37cf4203678c505c4e8b6e900112081e45b 24326
klibc-utils-floppy-udeb_1.5.23-1_amd64.udeb
6c76bec82b6529818c1b802121fb2da6d441c106 37044
libklibc-udeb_1.5.23-1_amd64.udeb
Checksums-Sha256:
1f1c747ecffcefe45bb4ed079a99466b90c01e98ef77a42187766b2f569affc0 1193
klibc_1.5.23-1.dsc
71741882b8323fc1ce1c22a41b1901526c7fa2b7c97845d7a9558ca9d3931ef0 506362
klibc_1.5.23.orig.tar.bz2
325785c2cf6c874f3ea5f7bfcdc727d7fcb027b794c8c9d20fc8da649e492835 19990
klibc_1.5.23-1.debian.tar.gz
191b2f9d403f9ba456c518727a0b4320079a8a15f23c789abe726dbe8ae23e93 227250
libklibc-dev_1.5.23-1_amd64.deb
ccdb2c8deca2c2e948f436f9f714976f17ee01d2699a3a515aa4b0aadbbcbc53 54852
libklibc_1.5.23-1_amd64.deb
03fef49af6d63ca46922dc85dd265b086e38c74ccad20fea4d1f6a7c0f5f6bd6 177734
klibc-utils_1.5.23-1_amd64.deb
f01dc7cd22201f4c3209b055942219bf21bf89a6452e215acf0a6b7171935080 176420
klibc-utils-udeb_1.5.23-1_amd64.udeb
f916e589b96bfd611eb63c0bd275f6df1918ef42733d5ba2cb031b184eb09c72 24326
klibc-utils-floppy-udeb_1.5.23-1_amd64.udeb
23b6300198dd713633629b2c617884a94a97cffe528b727b35a4424d4c883096 37044
libklibc-udeb_1.5.23-1_amd64.udeb
Files:
cc35679b05fff63db744f962b262f32a 1193 libs optional klibc_1.5.23-1.dsc
38a0ac99c4facd14443f4495b29aeff1 506362 libs optional klibc_1.5.23.orig.tar.bz2
d7b392be6731b189f733b4c1b1af4ff1 19990 libs optional
klibc_1.5.23-1.debian.tar.gz
c6f6fb35183e7b7ddcfab0b771376f1c 227250 libdevel optional
libklibc-dev_1.5.23-1_amd64.deb
1baef201fb1a222a7f54bd1325cb3584 54852 libs optional
libklibc_1.5.23-1_amd64.deb
314d7031031897fe24367e2bc5be5819 177734 libs optional
klibc-utils_1.5.23-1_amd64.deb
e75253070c4950be8a0d049e02f91d02 176420 debian-installer optional
klibc-utils-udeb_1.5.23-1_amd64.udeb
396c6e93bda3902fdbbdec8579d6cab3 24326 debian-installer optional
klibc-utils-floppy-udeb_1.5.23-1_amd64.udeb
cddee3875b6c5ee84b2e9de60056a3c4 37044 debian-installer optional
libklibc-udeb_1.5.23-1_amd64.udeb
Package-Type: udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk4WLj8ACgkQeW7Lc5tEHqirJwCdE3isz8qYAALGtw4yqqMSbaU/
p5IAoIj4Ba1sB2Ljoxv/0nWicxPmrTJp
=hSlw
-----END PGP SIGNATURE-----
--- End Message ---