embench / embench-iot

The main Embench repository
https://www.embench.org/
GNU General Public License v3.0
248 stars 101 forks source link

OpenRISC port Issue #4: Conflicting .so definitions in dummy libs and OpenRISC toolchain libc #198

Closed madhu2000u closed 1 month ago

madhu2000u commented 2 months ago

Part of OpenRISC port.

Issue:

run_all.py adds dummy libs as per this line, linker returns "multiple definitions of funcitons in .so files in dummy libs and OpenRISC toolchain's libc" error. Why does this not happen for other runsets like ARM or RISC-V (I haven't run these to test it but hoping that it doesn't cause this issue as it is present in the fully tested main branch).

Current soln:

running toolchain without these dummy libs or using the -fcommon gcc flag.

I wanted your guidance on the working of this part of the tool.

madhu2000u commented 1 month ago

Depreciated Embench version.