S32G Yocto Build Issue: critical programs are missing or too old: GNU ld

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

S32G Yocto Build Issue: critical programs are missing or too old: GNU ld

1,358 Views
deepika_t
Contributor IV

Hi,

I am working on Ubuntu 18.04. I am following the document S32G274A_LinuxBSP28.0.0_User_Manual.pdf for building Yocto BSP For S32G274A.

I have installed all the packages required for YOcto build.I am getting following error.

 

| checking version of gawk... 4.1.4, ok
| checking for bison... bison
| checking version of bison... 3.7.2, ok
| checking if aarch64-fsl-linux-gcc --sysroot=/home/deepika/fsl-auto-yocto-bsp/build_s32g274aevb/tmp/work/aarch64-fsl-linux/glibc/2.32-r0/recipe-sysroot is sufficient to build libc... yes
| checking for aarch64-fsl-linux-nm... aarch64-fsl-linux-nm
| checking for python3... python3
| checking version of python3... 3.6.9, ok
| configure: error:
| *** These critical programs are missing or too old: GNU ld
| *** Check the INSTALL file for required versions.
| WARNING: /home/deepika/fsl-auto-yocto-bsp/build_s32g274aevb/tmp/work/aarch64-fsl-linux/glibc/2.32-r0/temp/run.do_configure.24760:211 exit 1 from 'exit 1'
| WARNING: Backtrace (BB generated script):
| #1: bbfatal_log, /home/deepika/fsl-auto-yocto-bsp/build_s32g274aevb/tmp/work/aarch64-fsl-linux/glibc/2.32-r0/temp/run.do_configure.24760, line 211
| #2: oe_runconf, /home/deepika/fsl-auto-yocto-bsp/build_s32g274aevb/tmp/work/aarch64-fsl-linux/glibc/2.32-r0/temp/run.do_configure.24760, line 173
| #3: do_configure, /home/deepika/fsl-auto-yocto-bsp/build_s32g274aevb/tmp/work/aarch64-fsl-linux/glibc/2.32-r0/temp/run.do_configure.24760, line 160
| #4: main, /home/deepika/fsl-auto-yocto-bsp/build_s32g274aevb/tmp/work/aarch64-fsl-linux/glibc/2.32-r0/temp/run.do_configure.24760, line 215
|
| Backtrace (metadata-relative locations):
| #1: bbfatal_log, /home/deepika/fsl-auto-yocto-bsp/sources/poky/meta/classes/logging.bbclass, line 72
| #2: oe_runconf, /home/deepika/fsl-auto-yocto-bsp/sources/poky/meta/classes/autotools.bbclass, line 96
| #3: do_configure, /home/deepika/fsl-auto-yocto-bsp/sources/poky/meta/recipes-core/glibc/glibc_2.32.bb, line 101
ERROR: Task (/home/deepika/fsl-auto-yocto-bsp/sources/poky/meta/recipes-core/glibc/glibc_2.32.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1680 tasks of which 1374 didn't need to be rerun and 1 failed.

From the logs it looks like GNU ld version can be one problem.I installed binutils 2.28 in the host machine.But problem persists. 

Please suggest any solution.

 

Thanks,

Deepika

0 Kudos
1 Reply

1,335 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello deepika_t,

You probably miss some installation packages of the host, because it is working perfectly on my design, the GCC is not the issue maybe some package itself.

https://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html

 

Regards

 

0 Kudos