Skip to content

std:length_error while testing the FPGA examples #2

Description

@halalboro

Hi,

I was testing the FPGA NIC examples (nfchain.c, test.c) and the compiler fails with a std::length_error related to string creation. The terminal log is as follows:

...
Min-cut failed for __handler_NET_RECV_process_packet
Finish table cut: tol=1.000000e-01 sourceWeight=5.000000e-01 Valid: 1
Searching Pipeline size: 1
__handler_NET_RECV_process_packet Result Latency: 1
Result Mapping: 
Function: __handler_NET_RECV_process_packet Unit: vcu0 vcu1 vcu2 
terminate called after throwing an instance of 'std::length_error'
  what():  basic_string::_M_create
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.	Program arguments: ./build/bin/ep2c-opt --ep2-pipeline-canon=inline-table=true -ep2-global-to-partition fpga_out/cut.mlir -o fpga_out/mapped.mlir
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  ep2c-opt       0x00000000005adcac
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions