#1730 Fix build on latest FreeBSD stable (12.2)

Closed
opened 3 months ago by OlCe1 · 1 comments
OlCe1 commented 3 months ago

New FreeBSD versions have introduced RTLD_DEEPBIND (see dlopen(3)), which
triggers a provoked build error to be on the “safe” side. But this error is not relevant. See commit message in the PR to be added soon.

New FreeBSD versions have introduced RTLD_DEEPBIND (see dlopen(3)), which triggers a provoked build error to be on the "safe" side. But this error is not relevant. See commit message in the PR to be added soon.
OlCe1 commented 3 months ago
Poster

Two other fixes:

  1. Inclusion of a harfbuzz patch (some #define _POSIX_C_SOURCE is harmful). Protected by an #ifdef __FreeBSD__ (I suspect the problematic #define could be removed for all platforms, but cannot test that, so limiting the scope).
  2. Exclude a line of code in jemalloc.c concerning the non-existant init_lock. FreeBSD-only. Should have been part of issue #1699, but was missed because of the last minute revert added to it.
Two other fixes: 1. Inclusion of a harfbuzz patch (some `#define _POSIX_C_SOURCE` is harmful). Protected by an `#ifdef __FreeBSD__` (I suspect the problematic `#define` could be removed for all platforms, but cannot test that, so limiting the scope). 2. Exclude a line of code in `jemalloc.c` concerning the non-existant `init_lock`. FreeBSD-only. Should have been part of issue #1699, but was missed because of the last minute revert added to it.
Moonchild closed this issue 3 months ago
Moonchild added the
OS: Other
label 3 months ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.