[webkit-dev] WebKit on OpenBSD
mjs at apple.com
Fri May 30 12:22:54 PDT 2008
On May 30, 2008, at 12:15 PM, James Turner wrote:
> On Fri, May 30, 2008 at 12:13:43PM -0700, Maciej Stachowiak wrote:
>> On May 30, 2008, at 10:37 AM, James Turner wrote:
>>> I've spent the last couple days trying to compile WebKit on OpenBSD
>>> -current. After adding the signbit function, changing isfinite to
>>> finite and adding the missing pthread_attr_get_np function, I was
>>> finally able to get it to compile.
>>> However, when I try to run the Gtk test browser or midori (another
>>> browser based on webkit), I receive or core dump whenever I click
>>> on any
>>> part of a webpage or try to navigate to another. After inspecting
>>> core dump with gdb I'm left with this:
>>> #0 0x0d501dc8 in KJS::Collector::markStackObjectsConservatively
>>> () from
>> Sounds like pthread_attr_get_np is not working as expected. It is
>> used to
>> get the stack base, for purposes of the conservative garbage
>> - Maciej
> Thanks, I'll look into my implementation and check it with people who
> actually know what they're doing!
pthread_attr_get_np is not really all that important, just any way to
get the stack base. If OpenBSD has any function at all that works for
that purpose you could just add another branch to the ifdef.
Regrettably there is no portable way to do it.
More information about the webkit-dev