<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 5/3/11 11:12 AM, Arushi Aggarwal wrote:
<blockquote
cite="mid:BANLkTikzFTKq_-EwA2V5OuauR6-om57y3g@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
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>
</blockquote>
<br>
I think you need to tell bugpoint to link in libstdc++. I think you
can do that using the -Xlinker option.<br>
<br>
-- John T.<br>
<br>
<blockquote
cite="mid:BANLkTikzFTKq_-EwA2V5OuauR6-om57y3g@mail.gmail.com"
type="cite">
<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>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a class="moz-txt-link-freetext" href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a>
</pre>
</blockquote>
<br>
</body>
</html>