<br><br><div class="gmail_quote">On Thu, Aug 12, 2010 at 10:52 AM, Henrik Sperre Johansen <span dir="ltr">&lt;<a href="mailto:henrik.s.johansen@veloxit.no">henrik.s.johansen@veloxit.no</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


  
    
  
  <div bgcolor="#ffffff" text="#000000"><div><div></div><div class="h5">
    On 12.08.2010 19:31, Eliot Miranda wrote:
    <blockquote type="cite"><font face="arial, helvetica,
        sans-serif">Hi Henrik,</font>
      <div><font face="arial, helvetica,
          sans-serif"><br>
        </font></div>
      <div><font face="arial, helvetica,
          sans-serif">    see the thread </font><span style="font-family:arial,sans-serif;font-size:medium;border-collapse:collapse"><font face="arial, helvetica, sans-serif"><span style="font-size:small">[Vm-dev]
              Error compiling cog for MacOS 10.6 round about July 30th.</span></font>
          <div>
            <span style="padding-right:10px"><font face="arial, helvetica,
                sans-serif"><span style="font-size:small"><br>
                </span></font></span></div>
          <div><span style="padding-right:10px"><font face="arial, helvetica,
                sans-serif"><span style="font-size:small">HTH</span></font></span></div>
          <div><span style="padding-right:10px"><font face="arial, helvetica,
                sans-serif"><span style="font-size:small">E</span></font><font face="arial, helvetica,
                sans-serif"><span style="font-size:small">liot</span></font></span></div>
        </span><br>
        <div class="gmail_quote">On Thu, Aug 12, 2010 at 7:29 AM, Henrik
          Johansen <span dir="ltr">&lt;<a href="mailto:henrik.s.johansen@veloxit.no" target="_blank">henrik.s.johansen@veloxit.no</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">In sqUnixVMProfile.c, it fails on
            include of ucontext.h , it&#39;s deprecated and (as long as
            you&#39;re not using the functions, as implied by the &quot;to get
            register defines in sys/ucontext.h&quot; comment) sys/ucontext.h
            should be included instead.<br>
            <br>
            Googled a bit, and it seems RedHat 7.3 throws a fit instead
            if you do that though...<br>
            <a href="http://code.google.com/p/google-perftools/issues/detail?id=218" target="_blank">http://code.google.com/p/google-perftools/issues/detail?id=218</a><br>
            <br>
            Any change of a workaround? ;)<br>
            <br>
            Cheers,<br>
            Henry</blockquote>
        </div>
        <br>
      </div>
    </blockquote></div></div>
    Ah yes, I missed your post there and just remembered the conclusion
    as &quot;Use 10.5 as platform&quot;. :/<br>
    <br>
    My point was, it&#39;s just the context manipulation functions
    (get/set/make/swap) in ucontext.h which are deprecated.<br>
    The ucontext struct and its fields, defined in sys/ucontext.h (and
    used in histogramSIGPROFhandler), is not.<br>
    <br>
    Thus I fail to see why one would have to find an entirely new way to
    do this on OSX (or if one even exists), instead of changing the
    include.<br></div></blockquote><div><br></div><div>Does changing the include to sys/ucontext.h work?  If so, mail me the patched file and I&#39;ll integrate it.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#ffffff" text="#000000">
    <br>
    Cheers,<br>
    Henry<br>
  </div>

</blockquote></div><br>