DTrace for FreeBSD - Status Update

Peter Jeremy peterjeremy at optushome.com.au
Sun Jun 18 09:58:20 UTC 2006


On Thu, 2006-May-25 19:53:46 +0000, John Birrell wrote:
>On the build side, the CTF tools are threaded and I am building them as 
>bootstrap tools because they are required to add the CTF data to objects
>and programs during a buildworld.

ctfmerge uses an undefined function getpagesizes().  This appears to
be hidden if you don't have CFLAGS=-O because the function calling
getpagesizes() - bigheap() - is itself static and only referenced via
"#pragma init(bigheap)" which doesn't appear to be supported by gcc.

bigheap()'s only purpose appears to be to align the heap to the largest
page size.  I'm not sure why this is being done and the side-effect of
failing to do so.

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20060618/123664f2/attachment.pgp


More information about the freebsd-current mailing list