How to upgrade glibc in yocto sdk V2.0

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

How to upgrade glibc in yocto sdk V2.0

1,971件の閲覧回数
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,962件の閲覧回数
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 件の賞賛
返信