Skip to content

Errors in SPEC2017 (omnetpp_r, gcc_r) #21

@kosterz96

Description

@kosterz96

Hello I am trying to run SPEC2017 on FPGA with Debian Linux. FPGA is built using this repo.

However, when I try running omnetpp_r I get the following error:

Running: ./omnetpp_r_base.riscv_test_input-64 -c General -r 0
OMNeT++ Discrete Event Simulation (C) 1992-2008 Andras Varga, OpenSim Ltd.
Version: 4.0, build: 090310-10709, edition: Academic Public License -- NOT FOR COMMERCIAL USE
See the license for distribution terms and warranty disclaimer

<!> Error during startup: Register_Function() or cMathFunction: attempt to register function "SPEC_HYPOT" with wrong number of arguments 2, should be 3.

End.

The runscript (run.sh):

#!/bin/bash
#This script was generated by Speckle gen_binaries.sh
echo 'Running: ./omnetpp_r_base.riscv_test_input-64 -c General -r 0'
./omnetpp_r_base.riscv_test_input-64 -c General -r 0

Moreover I get the following error when I try to run gcc_r:

t1.c:2:5: warning: conflicting types for built-in function 'printf'

The runscript:

#!/bin/bash
#This script was generated by Speckle gen_binaries.sh
echo 'Running: ./cpugcc_r_base.riscv_test_input-64 t1.c -O3 -finline-limit=50000 -o t1.opts-O3_-finline-limit_50000.s'
./cpugcc_r_base.riscv_test_input-64 t1.c -O3 -finline-limit=50000 -o t1.opts-O3_-finline-limit_50000.s

The rest of intrate benchmarks work just fine. Do you have any ideas on how to fix those errors?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions