scripts: bundle-libraries: prevent loading host locales (FS#1803)
authorJo-Philipp Wich <jo@mein.io>
Sat, 25 Aug 2018 12:46:57 +0000 (14:46 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 30 Aug 2018 11:11:42 +0000 (13:11 +0200)
commit6e8f1c387892b845fddf052fb8e612d4f26ffdd3
treeccfb3dd4df9dafac7738f5b6d078fffda7ca8b24
parentf712db9df6320b296849378030a66372255ffca2
scripts: bundle-libraries: prevent loading host locales (FS#1803)

Binary patch the bundled glibc library to inhibit loading of host locale
archives in order to avoid triggering internal libc assertions when
invoking shipped, bundled executables.

The problem has been solved with upstream Glibc commit
0062ace229 ("Gracefully handle incompatible locale data") but we still
need to deal with older Glibc binaries for some time to come.

Fixes FS#1803
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 9030a78a716b0a2eeed4510d4a314393262255c2)
scripts/bundle-libraries.sh