Become a leader in the IoT community!

New DevHeads get a 320-point leaderboard boost when joining the DevHeads IoT Integration Community. In addition to learning and advising, active community leaders are rewarded with community recognition and free tech stuff. Start your Legendary Collaboration now!

Step 1 of 5

CREATE YOUR PROFILE *Required

Change Email
OR
Step 2 of 5

WHAT BRINGS YOU TO DEVHEADS? *Choose 1 or more

Collaboration & Work 🤝
Learn & Grow 📚
Contribute Experience & Expertise 🔧
Step 3 of 5

WHAT'S YOUR INTEREST OR EXPERTISE? *Choose 1 or more

Hardware & Design 💡
Embedded Software 💻
Edge Networking
Step 4 of 5

Personalize your profile

Step 5 of 5

Read & agree to our COMMUNITY RULES

  1. We want this server to be a welcoming space! Treat everyone with respect. Absolutely no harassment, witch hunting, sexism, racism, or hate speech will be tolerated.
  2. If you see something against the rules or something that makes you feel unsafe, let staff know by messaging @admin in the "support-tickets" tab in the Live DevChat menu.
  3. No age-restricted, obscene or NSFW content. This includes text, images, or links featuring nudity, sex, hard violence, or other graphically disturbing content.
  4. No spam. This includes DMing fellow members.
  5. You must be over the age of 18 years old to participate in our community.
  6. Our community uses Answer Overflow to index content on the web. By posting in this channel your messages will be indexed on the worldwide web to help others find answers.
  7. You agree to our Terms of Service (https://www.devheads.io/terms-of-service/) and Privacy Policy (https://www.devheads.io/privacy-policy)
By clicking "Finish", you have read and agreed to the our Terms of Service and Privacy Policy.

Error Compiling Binutils in Yocto Build for RZ Platform

Hello @eLinux Lead 🐧 ,
I have some problem related to building my yocto image

I’m working on a Yocto build for the RZ platform and encountered an error during the compilation of `binutils-cross_debian.bb`. Here’s the relevant error message:

| ERROR: Execution of '/home/melta101/Documents/RZ/test-yocto/iwg56-release-bsp/build-iwg56m/tmp/work/x86_64-linux/lib32-binutils-cross-arm/2.31.1-r0/temp/run.do_compile.788774' failed with exit code 1
ERROR: Task (virtual:multilib:lib32:/home/melta101/Documents/RZ/test-yocto/iwg56-release-bsp/build-iwg56m/../sources/meta-renesas/meta-rz-common/recipes-debian/buster/binutils/binutils-cross_debian.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 957 tasks of which 933 didn't need to be rerun and 3 failed.

Summary: 3 tasks failed:
  virtual:native:/home/melta101/Documents/RZ/test-yocto/iwg56-release-bsp/build-iwg56m/../sources/meta-renesas/meta-rz-common/recipes-debian/buster/binutils/binutils_debian.bb:do_compile
  /home/melta101/Documents/RZ/test-yocto/iwg56-release-bsp/build-iwg56m/../sources/meta-renesas/meta-rz-common/recipes-debian/buster/binutils/binutils-cross_debian.bb:do_compile
  virtual:multilib:lib32:/home/melta101/Documents/RZ/test-yocto/iwg56-release-bsp/build-iwg56m/../sources/meta-renesas/meta-rz-common/recipes-debian/buster/binutils/binutils-cross_debian.bb:do_compile
Summary: There were 4 WARNING messages shown.
Summary: There were 6 ERROR messages shown, returning a non-zero exit code.

while running bitbake core-image-weston

Would you be able to help me diagnose this issue? Let me know if you need more logs or details.

  1. ming_58391#0000

    My first suspicion would be the version of Linux you are using to build.
    If you are using the meta-renesas that is only supported on the Dunfell release of Yocto.

    1. What version of Poky (the main Yocto release) are you using? This is just to check everything matches
    2. What version of Linux (distribution and release) of Linux are you using to build?

  2. melta101#0000

    I recently updated it,
    Will let you know

  3. melta101#0000

    1. yocto-3.1.31(dunfell)
    2. ubuntu 24.04

  4. ming_58391#0000

    These are incompatible ☹️
    You will need to run an older version of Ubuntu.
    I can’t remember the supported versions offhand, but you should be getting a warning and a list of supported distributions when you run BitBake

  5. melta101#0000

    yep,
    it is last compatible with 22.04
    hmmm

  6. melta101#0000

    thought i could ignore the warning

  7. melta101#0000

    never thought it would be this serious

  8. ming_58391#0000

    Unfortunately not

  9. ming_58391#0000

    I use docker containers to get around this issue

  10. melta101#0000

    right!,
    Will try it again over a docker container and let you knwo

  11. ming_58391#0000

    Check out CROPS for Yocto containers

  12. melta101#0000

CONTRIBUTE TO THIS THREAD

Browse other questions tagged