pulp-platform / pulpissimo

This is the top-level project for the PULPissimo Platform. It instantiates a PULPissimo open-source system with a PULP SoC domain, but no cluster.
Other
389 stars 169 forks source link

There was an error in the compilation of pulp-runtime examples. Is this the problem with the gcc compiler? Or is there a problem with my Centos7 environment? #384

Closed gyx3598 closed 1 year ago

gyx3598 commented 1 year ago

There was an error in the compilation of pulp-runtime examples. Is this the problem with the gcc compiler? Or is there a problem with my Centos7 environment?

2023-02-20 11-26-29屏幕截图

bluewww commented 1 year ago

Please post the compiler version and give a link to the program you are trying to compile.

gyx3598 commented 1 year ago

请发布编译器版本并提供指向您尝试编译的程序的链接。

The compiler uses riscv-gnu-toolchain release 2.5.0, and the code is release v7.0.0

gyx3598 commented 1 year ago

请发布编译器版本并提供指向您尝试编译的程序的链接。

The compiler uses riscv-gnu-toolchain release 2.5.0, and the code is release v7.0.0

2023-02-21 16-38-28屏幕截图

bluewww commented 1 year ago

Please use the lastest commit from the master branch for pulpissimo. Also I was asking about the software you are trying to compile.

gyx3598 commented 1 year ago

Please use the lastest commit from the master branch for pulpissimo. Also I was asking about the software you are trying to compile.

I also tried the main branch code, and the phenomenon is the same

meggiman commented 1 year ago

What software? Please answer the questions asked if you want help. It is impossible for us to know why compilation fails if we don't even know what you are trying to compile. We have no clue what repository and what piece of C-code you are referring to when you mention the "main branch code".

gyx3598 commented 1 year ago

Sorry, I didn't make it clear. Under the main branch, enter the sim directory and execute “make build” and “make simc” respectively. You will find that the PC pointer is dead at 0x00000000: address. As shown below:

image