How to make the customized toolchain work with Ltib

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

How to make the customized toolchain work with Ltib

ソリューションへジャンプ
1,567件の閲覧回数
junsun
Contributor II

Hello all ,

 

I met a strange problem when i use Ltib and customized linaro tool chain to build my project.

To my project, i need to use newer linaro toolchain to replace the gcc-4.6.2 (glibc2.13).

After i modify the configure option [ Toolchain , ToolchainPath and CFLAGS) and rebuild my project, i found the compile process is halted at .Processing: base_libs. Before that, the linux kernel is compiled successfully.

 

Processing: base_libs

=======================

Build path taken because: no prebuilt rpm,

....

....

....

sudo /opt/freescale/ltib/usr/bin/rpm --root /home/cyabc/ltib/rootfs --dbpath /var/lib/rpm -e --allmatches --nodeps --define '_tmppath /tmp/ltib' base_libs 2>/dev/null
sudo /opt/freescale/ltib/usr/bin/rpm --root /home/cyabc/ltib/rootfs --dbpath /var/lib/rpm --prefix / --ignorearch -ivh --force --excludedocs --define '_tmppath /tmp/ltib' /home/cyabc/ltib/rpm/RPMS/arm/base_libs-1.2-1.arm.rpm
error: failed dependencies:
ld-linux.so.3(GLIBC_2.4)   is needed by base_libs-1.2-1


f_buildrpms() returned an error, exiting
traceback:
main:572


Started: Fri Jun 14 20:57:47 2013
Ended:   Fri Jun 14 21:17:12 2013
Elapsed: 1165 seconds


Build Failed

 

 

 

 

I have attched the error log in attachment file. Could anyone can help to resolve this problem


Original Attachment has been moved to: ltib_build_logt.txt.zip

0 件の賞賛
1 解決策
863件の閲覧回数
lily_zhang
NXP Employee
NXP Employee

Please refer to the link http://sourceware.org/ml/crossgcc/2012-09/msg00069.html. It maybe helpful for you to resolve the problem.

元の投稿で解決策を見る

0 件の賞賛
6 返答(返信)
863件の閲覧回数
xiexp
Contributor I

are you solver this problem?

0 件の賞賛
864件の閲覧回数
lily_zhang
NXP Employee
NXP Employee

Please refer to the link http://sourceware.org/ml/crossgcc/2012-09/msg00069.html. It maybe helpful for you to resolve the problem.

0 件の賞賛
863件の閲覧回数
junsun
Contributor II

platform is i.mx6

os is linux3.0.35


0 件の賞賛
863件の閲覧回数
YixingKong
Senior Contributor IV

Jun Sun, please click Correct Answer/Helpful Answer if your question had been answered.

Thanks,

Yixing

0 件の賞賛
863件の閲覧回数
YixingKong
Senior Contributor IV

Dear Jun Sun, Freescale does not support other toochain and you may need to get help from somewhere else.

Thanks,

Yixing

0 件の賞賛
863件の閲覧回数
YixingKong
Senior Contributor IV

Jun Sun, please specify which platform you are working on?

Thanks,

Yixing

0 件の賞賛