Unverified Commit b35ab02a authored by eric-xtang1008's avatar eric-xtang1008 Committed by GitHub
Browse files

Fix a link error when compiled without optimization option "-O2" (#844)



Error log:
  libriscv.a(processor.o): In function `state_t::reset(processor_t*, unsigned long)':
  .../_build/../riscv/processor.cc:509: undefined reference to `state_t::num_triggers'
  collect2: error: ld returned 1 exit status
  Makefile:349: recipe for target 'spike-log-parser' failed

Signed-off-by: default avatarEric Tang <tangxingxin1008@gmail.com>
parent 51e4202c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment