How to upgrade glibc in yocto sdk V2.0

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to upgrade glibc in yocto sdk V2.0

1,974 次查看
Suraj_Prakash
Contributor II

Hi,

     We are trying to install Yuma Package for software development in our router.

  While trying to run it we get the error shown:-
   glibc library version 2.22 is required to run yuma package...
  Currently glibc library version 2.20 is installed...

 

currently the sdk which we are using has the glibc 2.20 .Can anyone please suggest how can we get the glibc 2.22 in the yocto sdk V2.0 ??

0 项奖励
回复
1 回复

1,965 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to the following section in sources/meta-freescale/conf/distro/fsl-qoriq.conf

# Set preferred toolchain version for arm targets
PREFERRED_VERSION_cross-localedef-native_qoriq-arm = "2.22%"
GCCVERSION_qoriq-arm = "linaro-4.9"
BINUVERSION_qoriq-arm = "linaro-2.25"
GLIBCVERSION_qoriq-arm = "linaro-2.20"
GDBVERSION_qoriq-arm = "7.10.1+fsl"

PREFERRED_VERSION_cross-localedef-native_qoriq-arm64 = "2.22%"
GCCVERSION_qoriq-arm64 = "linaro-4.9"
BINUVERSION_qoriq-arm64 = "linaro-2.25"
GLIBCVERSION_qoriq-arm64 = "linaro-2.20"
GDBVERSION_qoriq-arm64 = "7.10.1+fsl"

GCCVERSION_qoriq-ppc = "4.9.2"
BINUVERSION_qoriq-ppc = "2.25"
GLIBCVERSION_qoriq-ppc = "2.20"

I assume that you use PowerPC architecture processor, please do the following modification .

GLIBCVERSION_qoriq-ppc = "2.20"

=>
GLIBCVERSION_qoriq-ppc = "2.22"

Then recreate the build project to rebuild rootfs filesystem.

0 项奖励
回复