ucLibc missing from ltib-cflinux-20111026

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

ucLibc missing from ltib-cflinux-20111026

911件の閲覧回数
zinger
Contributor I

Looks like uClibc-r18301.tar.bz2 is missing in the iso CFLINUX_20111031_ltib.iso

 

./ltib --preconfig ./config/platform/cflinux/m54455evb-flash.defconfig -m scdeploy -p uclibc

Fails with error:

error: File /home/[me]/freescale/ltib-cflinux-20111026/rpm/SOURCES/uClibc-r18301.tar.bz2: No such file or directory

 

this file is nowhere on the iso image either, and does not seem to be a standard release.

Any idea where this file is?

ラベル(1)
0 件の賞賛
返信
1 返信

721件の閲覧回数
zinger
Contributor I

Looking into this more, it seems that the support for uClibc in ltib-cflinux-20111026 might have been removed for a reason. looking into the ltib spec file for the uclibc, it looks like they build uclibc as a static library then fake out libc.so to use this STATIC library. 

 

ltib-cflinux-20111026/dist/lfs-5.1/uclibc/uclibc.spec

 

The line

perl -i.orig -p -e 's,/lib/libc.so.0,../../lib/libc.so.0,; s,/usr/lib/uclibc_nonshared.a,./uclibc_nonshared.a,' libc.so

 

Seems to be replacing paths to the libs so with the uclibc static library.

 

This would defeat the purpose of uclibc (smaller image size). I guess the tlib developers realized this and did not completely remove it from the configuration.

 

Anyone know where I can get a toolchain for coldfire that supports uclibc?

0 件の賞賛
返信