maximilian attems
2011-May-19 10:08 UTC
[klibc] Bug#627252: klibc: please add armhf support
hello, On Thu, 19 May 2011, Konstantinos Margaritis wrote:> klibc currently fails to build on armhf, but there is a -slightly older- > patched version in unreleased/debian-ports.org. The attached patch > enables the build for armhf (which uses -mfloat-abi=hard by default) > > Please consider enabling support for armhf. > > Thanks > > Konstantinos> diff -ruN klibc-1.5.21/debian/rules klibc-1.5.21.armhf//debian/rules > --- klibc-1.5.21/debian/rules 2010-08-25 13:58:44.000000000 +0300 > +++ klibc-1.5.21.armhf//debian/rules 2011-05-07 19:56:51.907308113 +0300 > @@ -8,6 +8,9 @@ > ifeq ($(DEB_HOST_ARCH),armel) > DEB_MAKE_ENVVARS := CONFIG_AEABI=y > endif > +ifeq ($(DEB_HOST_ARCH),armhf) > +DEB_MAKE_ENVVARS := CONFIG_AEABI=y CPU_ARCH=armv7-a CPU_TUNE=cortex-a8 > +endif > ifeq ($(DEB_HOST_ARCH),ia64) > DEB_MAKE_ENVVARS := ARCH=ia64 > endifthis bit will land in next upload of klibc in debian presumably 1.5.23-1.> diff -ruN klibc-1.5.21/usr/klibc/arch/arm/MCONFIG klibc-1.5.21.armhf//usr/klibc/arch/arm/MCONFIG > --- klibc-1.5.21/usr/klibc/arch/arm/MCONFIG 2011-01-25 23:46:53.000000000 +0200 > +++ klibc-1.5.21.armhf//usr/klibc/arch/arm/MCONFIG 2011-05-07 19:53:36.487308741 +0300 > @@ -7,8 +7,8 @@ > # accordingly. > # > > -CPU_ARCH := armv4 > -CPU_TUNE := strongarm > +CPU_ARCH ?= armv4 > +CPU_TUNE ?= strongarm > > KLIBCOPTFLAGS += -Os -march=$(CPU_ARCH) -mtune=$(CPU_TUNE) > KLIBCBITSIZE = 32fixed upstream, just pushed out in klibc git, should appear shortly on the kernel.org mirrors: http://git.kernel.org/?p=libs/klibc/klibc.git;a=summary thank you. -- maks