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

Giuseppe CONDORELLI giuseppe.condorelli at st.com
Thu Jan 17 16:59:00 UTC 2013


>-----Original Message-----
>From: Martin Jansa [mailto:martin.jansa at gmail.com]
>Sent: giovedì 17 gennaio 2013 14:46
>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 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?
>

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 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: test_for_Martin.tgz
Type: application/x-compressed
Size: 311 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130117/c6159cd0/attachment-0001.bin>


More information about the Openembedded-core mailing list