Firefox and glibc 2.43
"Maurice van der Stee" ([email protected] via blfs-dev Mailing List) <[email protected]> Thu, 29 Jan 2026 09:50:29 +0100
| Newsgroups | gmane.linux.lfs.beyond.devel |
|---|---|
| Message-ID | <[email protected]> |
For what it is worth.
After installing glibc 2.43 firefox would not compile anymore.
In my case this was version 147.0.2 but it applies equally to 140.7.0
which is in the book.
I fixed this by applying the attached patch and the two seds below. I
tired to use seds instead of the patch but I couldn;t get one working
for the third hunk.
old_checksum="f8ad2b69fa472e332b50572c1b2dcc1c8a0fa783a1199aad245398d3d
f421b4b"
new_checksum="30426773c6200dc97b27b0fa10e7d31fc42bc1199369bebfd97b93cc3
74b5ef5"
sed -e "s:${old_checksum}:${new_checksum}:" -i
third_party/rust/glslopt/.cargo-checksum.json
sed -e "s:#define SYS_SECCOMP://#define SYS_SECCOMP:" \
-i
security/sandbox/chromium/sandbox/linux/system_headers/linux_seccomp.h
--
=================================================
Maurice van der Stee
--
http://lists.linuxfromscratch.org/sympa/info/blfs-dev
Unsubscribe: See the above information page
firefox-147.0.2-glibc-2.43.patch
(text/x-patch, 1009 B)
--- firefox-147.0.2/third_party/rust/glslopt/glsl-optimizer/include/c11/threads_posix.h.orig 2026-01-28 13:37:06.919242453 +0100
+++ firefox-147.0.2/third_party/rust/glslopt/glsl-optimizer/include/c11/threads_posix.h 2026-01-28 13:41:12.994280433 +0100
@@ -51,7 +51,7 @@
#include <pthread.h>
/*---------------------------- macros ----------------------------*/
-#define ONCE_FLAG_INIT PTHREAD_ONCE_INIT
+#define MOZ_ONCE_FLAG_INIT PTHREAD_ONCE_INIT
#ifdef INIT_ONCE_STATIC_INIT
#define TSS_DTOR_ITERATIONS PTHREAD_DESTRUCTOR_ITERATIONS
#else
@@ -66,7 +66,7 @@
typedef pthread_t thrd_t;
typedef pthread_key_t tss_t;
typedef pthread_mutex_t mtx_t;
-typedef pthread_once_t once_flag;
+typedef pthread_once_t moz_once_flag;
/*
@@ -91,7 +91,7 @@
/*--------------- 7.25.2 Initialization functions ---------------*/
// 7.25.2.1
static inline void
-call_once(once_flag *flag, void (*func)(void))
+moz_call_once(moz_once_flag *flag, void (*func)(void))
{
pthread_once(flag, func);
}