ucLibc missing from ltib-cflinux-20111026

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ucLibc missing from ltib-cflinux-20111026

624 Views
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?

Labels (1)
0 Kudos
Reply
1 Reply

434 Views
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 Kudos
Reply