Dear Renesas Team,
I have enabled GCC in RZ/Five and RZ/G2L smarc board, in RZ/G2L it is working fine, but in RZ/Five it is trowing an error not able to build anything, it is showing segmentation fault.
please find the below config file in local.conf
IMAGE_FEATURES += "tools-sdk"IMAGE_INSTALL_append = " gcc binutils"
please find the below picture of the segmentation fault.
Please help us to sort out this issue.
Thanks & Regards
Mahesh R
What does the command
file riscv-oe-linux-gcc
report?
Hi MicBis,
If give riscv-oe-linux-gcc followed by -v it gives me an error, please check the below image.
if i try to compile any program it pops an error saying Illegal instruction
also find the attached screenshot.
file /usr/bin/gcc
Please find the attached image.
file /wherever/is/located/riscv-oe-linux-gcc
OK, this is probably a known issue, or anyway very similar to a known issue.
Anyway, do you really need to build something directly on the target board?Isn't a better idea to cross-build?
Yes i need to install GCC on the target board, because i need to install few other packages that requires GCC dependency, also there is no docker feature released for RZ/FIVE, its mandatory to install gcc on the target board to meet the customer requirement.
Which version of the BSP do you use?
The issue should not be present on the latest one: VLP/F v3.0.2-update1
if i build VLP/F v3.0.2-update1 will the gcc issue will be sorted out?
If it is what I am thinking of, yes.
In general it's not recommend to use the old BSP version 1.
Will check and let you know the update ASAP
Thanks for the support now able to build gcc in RZ/Five and able to compile the sample program.
when i install wirepas_gateway package i shows me an error.
please find the attached image image.
Can you clarify what are the steps to reproduce that error?
i was trying to build wirepas-gateway package i.e, i was using the below command
pip3 install wirepas-gateway