clone 625846 -1
reassign -1 autotools-dev
retitle 625846 autotools-dev: config.{guess,sub} doesn't detect armhf triplet
thanks

On Sat, May 07, 2011 at 11:59:22AM +0300, Konstantinos Margaritis wrote:
> On 6 May 2011 15:22, Aurelien Jarno <aurel...@aurel32.net> wrote:
> > Previous version has been built with the old triplet, nothing has
> > changed on the eglibc side. Please send me a patch, I'll apply it.
> 
> OK, patch works, the build was successful and the generated
> package works.
> 
> Thanks
> 
> Konstantinos
>
> diff -ruN eglibc-2.13/debian/patches/any/submitted-autotools.diff 
> eglibc-2.13.armhf//debian/patches/any/submitted-autotools.diff
> --- eglibc-2.13/debian/patches/any/submitted-autotools.diff   2011-05-07 
> 08:45:05.000000000 +0000
> +++ eglibc-2.13.armhf//debian/patches/any/submitted-autotools.diff    
> 2011-05-06 16:10:43.967298110 +0000
> @@ -140,7 +140,7 @@
>       [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
>       echo i${UNAME_MACHINE}-pc-mks
>       exit ;;
> -@@ -830,6 +852,16 @@
> +@@ -830,6 +852,21 @@
>       echo ${UNAME_MACHINE}-pc-minix
>       exit ;;
>       arm*:Linux:*:*)
> @@ -150,7 +150,12 @@
>  +    then
>  +        echo ${UNAME_MACHINE}-unknown-linux-gnu
>  +    else
> -+        echo ${UNAME_MACHINE}-unknown-linux-gnueabi
> ++        if echo __ARM_PCS_VFP__ | $CC_FOR_BUILD -E - 2>/dev/null \
> ++            | grep -q __ARM_PCS_VFP__
> ++            echo ${UNAME_MACHINE}-unknown-linux-gnueabi
> ++        else
> ++            echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
> ++        endif
>  +    fi
>  +    exit ;;
>  +    avr32*:Linux:*:*)

The submitted-autotools.diff patch simply updates config.{guess,sub} 
from a recent autotools-dev version. The latest version of autotools-dev
still has no knowledge of arm-linux-gnueabihf, so cloning and 
reassigning the bug there.

-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
aurel...@aurel32.net                 http://www.aurel32.net



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to