[OE-core] [PATCH] eglibc: fix as and ld check in libc dir

Martin Jansa martin.jansa at gmail.com
Thu Jan 17 13:46:19 UTC 2013


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 at jama ~ $ ld.bfd --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'
2.23.1
martin at 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 at 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 at 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 at 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 at 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 at 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 at 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 at jama ~ $ echo 2.19   | egrep "2.1[0-9]*|2.[2-9][0-9]*|[3-9].*|[1-9][0-9]*"
2.19
martin at 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?

Cheers,

> >-----Original Message-----
> >From: Martin Jansa [mailto:martin.jansa at gmail.com]
> >Sent: giovedì 17 gennaio 2013 13:42
> >To: Giuseppe Condorelli
> >Cc: Giuseppe CONDORELLI; openembedded-core at 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 <martin.jansa at gmail.com>
> >>
> >> > 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 at gmail.com
> 

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130117/eb052828/attachment-0002.sig>


More information about the Openembedded-core mailing list