_FILE_OFFSET_BITS=64? fwrite stops at 2gb
Replies (1)
(1-1/1)
|
_FILE_OFFSET_BITS=64? fwrite stops at 2gbAdded by Brad Parker over 1 year ago Has anyone tried building verilator with _FILE_OFFSET_BITS=64? I have a sim which generates a log file with fwrite() and it stops cold at 2Gb. I believe this is because _FILE_OFFSET_BITS != 64. As a hack, I may "#define _FILE_OFFSET_BITS 64" at the top of verilated.cpp and see what happens. Replies (1)RE: _FILE_OFFSET_BITS=64? fwrite stops at 2gb - Added by Wilson Snyder over 1 year agoI don't know of a specific trial of this, but think some -m32 distros have this as the default. Plus, Verilator works fine with -m64. If there's any issues the patches should be minor, let us know. (1-1/1) Loading...
|