>-----Original Message----- >From: Martin Jansa [mailto:martin.jansa@gmail.com] >Sent: giovedì 17 gennaio 2013 14:46 >To: Giuseppe CONDORELLI >Cc: 'Giuseppe Condorelli'; openembedded-core@lists.openembedded.org >Subject: Re: [OE-core] [PATCH] eglibc: fix as and ld check in libc dir > >On Thu, Jan 17, 2013 at 02:30:55PM +0100, Giuseppe CONDORELLI wrote: >> Hi Martin, >> >> Do you mean applying the patch you highlighted in libc/configure? > >I was expecting you're trying to fix ld --version detection when ld is gold. But >after few experiments I don't see what you're trying to fix: > >martin@jama ~ $ ld.bfd --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0- >9]*\.[0-9.]*\).*$/\1/p' >2.23.1 >martin@jama ~ $ ld.gold --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0- >9]*\.[0-9.]*\).*$/\1/p' >nothing -> ld.gold still unsupported > >old: >martin@jama ~ $ echo 2.23.1 | egrep "2.1[0-9][0-9]*|2.[2-9][0-9]*|[3-9].*|[1- >9][0-9]*" >2.23.1 >martin@jama ~ $ echo 2.19.1 | egrep "2.1[0-9][0-9]*|2.[2-9][0-9]*|[3-9].*|[1- >9][0-9]*" >2.19.1 >martin@jama ~ $ echo 2.19 | egrep "2.1[0-9][0-9]*|2.[2-9][0-9]*|[3-9].*|[1- >9][0-9]*" >2.19 >martin@jama ~ $ echo 2.1 | egrep "2.1[0-9][0-9]*|2.[2-9][0-9]*|[3-9].*|[1- >9][0-9]*" >2.1 > >new: >martin@jama ~ $ echo 2.19.1 | egrep "2.1[0-9]*|2.[2-9][0-9]*|[3-9].*|[1-9][0- >9]*" >2.19.1 >martin@jama ~ $ echo 2.23.1 | egrep "2.1[0-9]*|2.[2-9][0-9]*|[3-9].*|[1-9][0- >9]*" >2.23.1 >martin@jama ~ $ echo 2.19 | egrep "2.1[0-9]*|2.[2-9][0-9]*|[3-9].*|[1-9][0- >9]*" >2.19 >martin@jama ~ $ echo 2.1 | egrep "2.1[0-9]*|2.[2-9][0-9]*|[3-9].*|[1-9][0- >9]*" >2.1 > >Can you show some example version your patch is fixing? > Hi Martin, Please untar the attachment and run the test I sent you. It reproduces the same scenario as in the libc/configure eglibc file. Cheers, Giuseppe >Cheers, > >> >-----Original Message----- >> >From: Martin Jansa [mailto:martin.jansa@gmail.com] >> >Sent: giovedì 17 gennaio 2013 13:42 >> >To: Giuseppe Condorelli >> >Cc: Giuseppe CONDORELLI; openembedded- >core@lists.openembedded.org >> >Subject: Re: [OE-core] [PATCH] eglibc: fix as and ld check in libc >> >dir >> > >> >On Wed, Jan 16, 2013 at 04:07:39PM +0100, Giuseppe Condorelli wrote: >> >> 2013/1/16 Martin Jansa >> >> >> >> > On Wed, Jan 16, 2013 at 03:14:07PM +0100, Giuseppe CONDORELLI >wrote: >> >> > > Fix routine to check as and ld version check in the configure, >> >> > > to >> allow >> >> > system >> >> > > to correctly check for version 2.1x. >> >> > >> >> > Does it build with gold now? >> >> > >> >> > http://lists.linuxtogo.org/pipermail/openembedded-core/2012- >> >March/020310.html >> > >> >does it? >> > >> >-- >> >Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com >> > >-- >Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com