<!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 12.08.2010 19:31, Eliot Miranda wrote:
<blockquote
cite="mid:AANLkTim7zD-4mKN_01bjOBrCJbtEK-9PqUcd00Mp1wTp@mail.gmail.com"
type="cite"><font class="Apple-style-span" face="arial, helvetica,
sans-serif">Hi Henrik,</font>
<div><font class="Apple-style-span" face="arial, helvetica,
sans-serif"><br>
</font></div>
<div><font class="Apple-style-span" face="arial, helvetica,
sans-serif"> see the thread </font><span
class="Apple-style-span" style="font-family: arial,sans-serif;
font-size: medium; border-collapse: collapse;"><font
class="Apple-style-span" face="arial, helvetica, sans-serif"><span
class="Apple-style-span" style="font-size: small;">[Vm-dev]
Error compiling cog for MacOS 10.6 round about July 30th.</span></font>
<div>
<span id=":1bm" class="hP" style="padding-right: 10px;"><font
class="Apple-style-span" face="arial, helvetica,
sans-serif"><span class="Apple-style-span"
style="font-size: small;"><br>
</span></font></span></div>
<div><span id=":1bm" class="hP" style="padding-right: 10px;"><font
class="Apple-style-span" face="arial, helvetica,
sans-serif"><span class="Apple-style-span"
style="font-size: small;">HTH</span></font></span></div>
<div><span id=":1bm" class="hP" style="padding-right: 10px;"><font
class="Apple-style-span" face="arial, helvetica,
sans-serif"><span class="Apple-style-span"
style="font-size: small;">E</span></font><font
class="Apple-style-span" face="arial, helvetica,
sans-serif"><span class="Apple-style-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"><<a moz-do-not-send="true"
href="mailto:henrik.s.johansen@veloxit.no" target="_blank">henrik.s.johansen@veloxit.no</a>></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's deprecated and (as long as
you're not using the functions, as implied by the "to get
register defines in sys/ucontext.h" 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 moz-do-not-send="true"
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>
Ah yes, I missed your post there and just remembered the conclusion
as "Use 10.5 as platform". :/<br>
<br>
My point was, it'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>
<br>
Cheers,<br>
Henry<br>
</body>
</html>