<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Since you mention the Shake script, should we assume you're using
Hadrian, or the Make build system?<br>
</p>
<div class="moz-cite-prefix">On 11/07/2019 11:19, Siddharth Bhat
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAPipc=1H+KBfYSSbBBdwQ5c-gnGzmuwXZXR31C5UfgXquEcSiA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Hello all,</div>
<div><br>
</div>
<div>I was interested in building the GHC RTS with GCC's
AddressSanitizer and Ubsan enabled. <br>
</div>
<div><br>
</div>
<div>What I want to do very specifically is to pass <span
class="gmail-pl-smi">"<span class="gmail-pl-smi">-<span
style="font-family:courier new,monospace">fsanitize</span></span><span
style="font-family:courier new,monospace">=address
-fsanitize=undefined</span>" when compiling the RTS. <br>
</span></div>
<div><span class="gmail-pl-smi"><br>
</span></div>
<div><span class="gmail-pl-smi">What's the "correct" way to set
this up in the build system? Is there a configure flag? Do I
need to change the Shake script? </span></div>
<div><span class="gmail-pl-smi">Thanks,</span></div>
<div><span class="gmail-pl-smi">~Siddharth<br>
</span></div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
ghc-devs mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a>
<a class="moz-txt-link-freetext" href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Alp Mestanogullari, Haskell Consultant
Well-Typed LLP, <a class="moz-txt-link-freetext" href="https://www.well-typed.com/">https://www.well-typed.com/</a>
Registered in England and Wales, OC335890
118 Wymering Mansions, Wymering Road, London, W9 2NF, England</pre>
</body>
</html>