-
Notifications
You must be signed in to change notification settings - Fork 102
OpenBSD build problem #68
Comments
|
The problem is in the Here you can see the I think you can do something similar to solve the issue, see the following lines in the |
For LibDL, we should just replace There have a been multiple attempts to get Lagom libraries (and ladybird) compiling on OpenBSD, but so far none of that has been upstreamed to the serenity repository fully. I think there's an old pull request on serenity that end up going stale without the author addressing all feedback. |
this should work I suppose. Assuming I can format the commit correctly, that is 🤣 |
does the ladybird build work with the libdl commit on OpenBSD? if so we can close this issue. |
Yes, it builds just fine, but when attempting to run with
But it's (probably) not OpenBSD specific. Documentation does not mention this function: https://doc.qt.io/qt-6/qfontdatabase.html , maybe it is deprecated? |
No, that's the Serenity LibGFX font database complaining. Anyway the assertion is from AK::StackInfo How to you get the top of the stack in OpenBSD? Is it the same as FreeBSD? |
https://man.openbsd.org/pthread_stackseg_np.3
|
Is there a need to define the OpenBSD variable somewhere else, or is it provided automagically by cmake? |
The |
When building this project on OpenBSD, following the initial instructions, there is a dependency ldl, which is not needed on OpenBSD because libc already provides this functionality. The build is unsuccessful. I am able to patch the resulting build configuration in the 'Build' directory, but there must be a cleaner way, since I can't find a word 'ldl' in the initial source. I'm not proficient with CMake, so I ask here whether it is possible to add an exception for platforms that already provide ldl functionality (BSD's)? Or is this a problem with the lld linker configuration? Anyhow, here's the output of the build.
The text was updated successfully, but these errors were encountered: