[oe] Compiling glibc-2.6.1 failed

Khem Raj raj.khem at gmail.com
Wed Dec 23 22:29:00 UTC 2009


On Tue, Dec 22, 2009 at 10:25 PM, Guo Hongruan <camelguo at gmail.com> wrote:
> That's what I think. I tried to apply the patch and configure/compile glibc.
> the configuring process works OK but the compilation failed. I think the
> patch is not the only one cause of the error.

Could be and we would not know more unless you give more details about
the next errors.

>
> 在 Wed, 23 Dec 2009 14:20:21 +0800,Khem Raj <raj.khem at gmail.com> 写道:
>
>> On Tue, Dec 22, 2009 at 9:09 PM, Guo Hongruan <camelguo at gmail.com> wrote:
>>>
>>> Hi guys,
>>>   When compiling glibc,  I meet the following error information. You can
>>> reproduce it as the following:
>>> DISTRO = "minimal"
>>> MACHINE = "qemux86"
>>> bitbake helloworld-image
>>>
>>>  By the way, when using eglibc, it works OK.  Anyone can give me some
>>> hints?
>>>
>>> Thanks a lot.
>>>
>>> | checking whether
>>>
>>> /media/work-disk/workdir/oe-mini-glibc-bug/cross/i686/lib/gcc/i686-oe-linux/4.4.2/../../../../i686-oe-linux/bin/ld
>>> is GNU ld... yes
>>> | checking for
>>>
>>> /media/work-disk/workdir/oe-mini-glibc-bug/cross/i686/lib/gcc/i686-oe-linux/4.4.2/../../../../i686-oe-linux/bin/as...
>>>
>>> /media/work-disk/workdir/oe-mini-glibc-bug/cross/i686/lib/gcc/i686-oe-linux/4.4.2/../../../../i686-oe-linux/bin/as
>>> | checking version of
>>>
>>> /media/work-disk/workdir/oe-mini-glibc-bug/cross/i686/lib/gcc/i686-oe-linux/4.4.2/../../../../i686-oe-linux/bin/as...
>>> 2.20, bad
>>> | checking for
>>>
>>> /media/work-disk/workdir/oe-mini-glibc-bug/cross/i686/lib/gcc/i686-oe-linux/4.4.2/../../../../i686-oe-linux/bin/ld...
>>>
>>> /media/work-disk/workdir/oe-mini-glibc-bug/cross/i686/lib/gcc/i686-oe-linux/4.4.2/../../../../i686-oe-linux/bin/ld
>>> | checking version of
>>>
>>> /media/work-disk/workdir/oe-mini-glibc-bug/cross/i686/lib/gcc/i686-oe-linux/4.4.2/../../../../i686-oe-linux/bin/ld...
>>> 2.20, bad
>>
>> here lies the problem. I think the sed expression is not
>> able to comprehend that 2.20 version of ld is newer
>>
>> you need to backport glibc-2.9/glibc-2.9-enable-binutils-2.2.patch
>>
>> to 2.6.1
>>
>> Thx
>>
>> -Khem
>>
>>
>>
>>> | checking for pwd...
>>> /media/work-disk/workdir/oe-mini-glibc-bug/staging/i686-linux/usr/bin/pwd
>>> | checking for i686-oe-linux-gcc... (cached) ccache i686-oe-linux-gcc
>>> -march=pentiumpro
>>> | checking version of ccache i686-oe-linux-gcc -march=pentiumpro...
>>> 4.4.2,
>>> ok
>>> | checking for gnumake... make
>>> | checking version of make... 3.81, ok
>>> | checking for gnumsgfmt... no
>>> | checking for gmsgfmt... no
>>> | checking for msgfmt... msgfmt
>>> | checking version of msgfmt... 0.17, ok
>>> | checking for makeinfo... makeinfo
>>> | checking version of makeinfo... 4.11, ok
>>> | checking for sed... sed
>>> | checking version of sed... 4.1.5, ok
>>> | checking for autoconf... autoconf
>>> | checking whether autoconf works... yes
>>> | configure: error:
>>> | *** These critical programs are missing or too old: as ld
>>> | *** Check the INSTALL file for required versions.
>>> | FATAL: oe_runconf failed
>>>
>>>
>>>
>>> --
>>> Guo Hongruan, Embedded Linux Consultant
>>> Mobile: +86-0-13484056007
>>> Skype: camelguo
>>> Twitter: camelguo
>>> http://www.gulessoft.com
>>> _______________________________________________
>>> Openembedded-devel mailing list
>>> Openembedded-devel at lists.openembedded.org
>>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>>
>>>
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel at lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
>
> --
> Guo Hongruan, Embedded Linux Consultant
> Mobile: +86-0-13484056007
> Skype: camelguo
> Twitter: camelguo
> http://www.gulessoft.com
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>




More information about the Openembedded-devel mailing list