Hi All,
This is the error, that I was getting with meta-yosys-tools/recipes-yosys/yosys/yosys_0.1.bb,
found at github.com/develone.
The strip command fails, both on raspberrypi4-64 target and during the "bitbake yosys" build.
During the do_install which returns an error.
strip: Unable to recognise the format of the input file `yosys'
This above error was happening during do_install.
Made some chgs to the Makefile
chg'ed prefix from /usr/local to /opt
added a variable
YOCTO := "--input-target=elf64-littleaarch64"
added $(YOCTO) to lines 763, 765, and 769 of yosys Makefile
Now, my build for the rpi4-64 gets to the do_package step.
NOTE: Skipping file /opt/bin/yosys-abc from yosys for already-stripped QA test
NOTE: Skipping file /opt/bin/yosys-filterlib from yosys for already-stripped QA test
ERROR: Fatal errors occurred in subprocesses:
ls tmp/work/aarch64-poky-linux/yosys/0.1+gitAUTOINC+d406f2ffd7-r0/image/opt/
bin share
Where the desired, files are located, in the /opt/bin & /opt/share/yosys folders.
I tested these files on rpi4-64 target. I am getting an error on rpi4-64 target.
/opt/bin/yosys: cannot execute binary file: Exec format error.
All help is appreciated.
Best Regards