Hi,<div><br></div><div>I am trying to reduce what I believe to be a miscompilation bug.</div><div><br></div><div>Running lli on my bitcode file causes a segmentation fault. </div><div><br></div><div>However, running bugpoint as</div>

<div><br></div><div>bugpoint file.bc</div><div><br></div><div>gives me the following errors,</div><div><div>/tmp/ccAdmNqH.o: In function `_ZL17bus_error_handleriP7siginfoPv':</div><div>bugpoint-test-program.bc-Vega5s.cbe.c:(.text+0x1b4e1): undefined reference to `std::cerr'</div>

<div>/tmp/ccAdmNqH.o: In function `bb_poolcheck_debug':</div><div>bugpoint-test-program.bc-Vega5s.cbe.c:(.text+0x1bdbb): undefined reference to `std::cerr'</div><div>/tmp/ccAdmNqH.o: In function `DisplayChessBoard_OC_TEST':</div>

<div>bugpoint-test-program.bc-Vega5s.cbe.c:(.text+0x3247d): undefined reference to `std::cerr'</div><div>/tmp/ccAdmNqH.o: In function `DisplayPieceBoards':</div><div>bugpoint-test-program.bc-Vega5s.cbe.c:(.text+0x3a820): undefined reference to `std::cerr'</div>

<div>bugpoint-test-program.bc-Vega5s.cbe.c:(.text+0x3a8b1): undefined reference to `std::cerr'</div></div><div><br></div><div>What is the correct options I need to pass to bugpoint?</div><div><br></div><div>Thanks,</div>

<div>Arushi</div><div><br></div>