Compare commits

...

10 Commits

Author SHA1 Message Date
Matthias Reichl
7280f307c4 Merge pull request #5489 from matthuisman/ia_bump
inputstream.adaptive: bump to 2.4.8-Leia
2021-07-12 22:55:32 +02:00
Matt Huisman
4b7b3781d6 inputstream.adaptive: bump to 2.4.8-Leia 2021-07-13 08:50:37 +12:00
CvH
2282c381ee Merge pull request #5455 from dtechsrv/libc-widevine-le92
[LE 9.2] add LIBC_WIDEVINE_PATCHLEVEL to kodi config and fix aarch64 patchload from arm
2021-07-03 19:37:25 +02:00
Gábor Deé
e4d6559bfd glibc: Fix to load patches from arm directory for aarch64 as well 2021-07-01 19:33:59 +02:00
Gábor Deé
4a47e8f060 kodi-config: add LIBC_WIDEVINE_PATCHLEVEL for arm*/aarch64 2021-07-01 19:18:30 +02:00
CvH
16921614dc Merge pull request #5423 from wagnerch/wv-cleanup-le92
[LE 9.2] Remove gperftools workaround in favor of TLS alignment patch to solve Widevine 4.10.2252.0 stability issues
2021-06-08 12:30:49 +02:00
Portisch
9b4b7c7a75 glibc: add patch to increase TLS alignment to stay compatible with newer Widevine CDM modules Since 4.10.2252.0 a TLS alignment of 64 bytes is used but glibc dlopen is limited to 16 and will end up with: 'cannot allocate memory in static TLS block' 2021-06-05 20:05:36 +00:00
Chad Wagner
fae592ce2a Revert "gperftools: fix for release files"
Revert "kodi: preload libtcmalloc_minimal.so if present"
Revert "virtual/libc: buid tcmalloc_minimal for ARM"
Revert "gperftools: add package providing tcmalloc_minimal"

This reverts commits:
68ee7158df
817f2bfa69
0bd162f15d
9ca7acaa1a
2021-06-05 20:04:52 +00:00
CvH
b3a1583e67 Merge pull request #5408 from chewitt/docs92
documentation: update Freenode references to Libera.Chat
2021-05-30 18:11:54 +02:00
Christian Hewitt
1e5e3e6427 documentation: update Freenode references to Libera.Chat 2021-05-30 15:23:41 +00:00
8 changed files with 44 additions and 20 deletions

View File

@@ -1,7 +1,7 @@
### Questions about LibreELEC? ### Questions about LibreELEC?
To get your questions answered, please ask in the LibreELEC [Forum], on IRC: To get your questions answered, please ask in the LibreELEC [Forum], on IRC:
\#libreelec on freenode.net. \#libreelec on Libera.Chat.
Do not open an issue. Do not open an issue.

View File

@@ -4,7 +4,7 @@ LibreELEC is a 'Just enough OS' Linux distribution for running the award-winning
**Issues & Support** **Issues & Support**
Please report issues via the [LibreELEC forum: Bug Reports](https://forum.libreelec.tv/forum-35.html). Please ask support questions in the [LibreELEC forum: Help & Support](https://forum.libreelec.tv/forum-3.html) or ask a member of project staff in the #libreelec IRC channel on Freenode. Please report issues via the [LibreELEC forum: Bug Reports](https://forum.libreelec.tv/forum-35.html). Please ask support questions in the [LibreELEC forum: Help & Support](https://forum.libreelec.tv/forum-3.html) or ask a member of project staff in the #libreelec IRC channel on Libera.Chat.
**Donations** **Donations**

View File

@@ -35,6 +35,11 @@ PKG_CONFIGURE_OPTS_TARGET="BASH_SHELL=/bin/sh \
--enable-lock-elision \ --enable-lock-elision \
--disable-timezone-tools" --disable-timezone-tools"
# workaround to use arm patches for aarch64
if [ "${TARGET_PATCH_ARCH}" = "aarch64" ]; then
PKG_PATCH_DIRS="arm"
fi
# busybox:init needs it # busybox:init needs it
# testcase: boot with /storage as nfs-share (set cmdline.txt -> "ip=dhcp boot=UUID=2407-5145 disk=NFS=[nfs-share] quiet") # testcase: boot with /storage as nfs-share (set cmdline.txt -> "ip=dhcp boot=UUID=2407-5145 disk=NFS=[nfs-share] quiet")
PKG_CONFIGURE_OPTS_TARGET+=" --enable-obsolete-rpc" PKG_CONFIGURE_OPTS_TARGET+=" --enable-obsolete-rpc"

View File

@@ -0,0 +1,31 @@
From 61b3b546450ae0a70cb4a57fbb0e0fc47b331370 Mon Sep 17 00:00:00 2001
From: Portisch <hugo.portisch@yahoo.de>
Date: Sat, 5 Jun 2021 19:41:25 +0200
Subject: [PATCH] tls: libwidevinecdm.so: since 4.10.2252.0 has TLS with
64-byte alignment Change the max_align to 64U instead 16 to make it possible
to use dlopen again. Tests by changing TLS_TCB_ALIGN directly showed up some
random crashes. Reverence: https://lkml.org/lkml/2020/7/3/754
---
elf/dl-tls.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/elf/dl-tls.c b/elf/dl-tls.c
index 9fa62f5d..d8f2f740 100644
--- a/elf/dl-tls.c
+++ b/elf/dl-tls.c
@@ -213,6 +213,11 @@ void
_dl_determine_tlsoffset (void)
{
size_t max_align = TLS_TCB_ALIGN;
+ /* libwidevinecdm.so: since 4.10.2252.0 has TLS with 64-byte alignment.
+ Since TLS is initialized before audit modules are loaded and slotinfo
+ information is available, this is not taken into account below in
+ the audit case. */
+ max_align = MAX (max_align, 64U);
size_t freetop = 0;
size_t freebottom = 0;
--
2.31.1

View File

@@ -1,13 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2021-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="gperftools"
PKG_VERSION="2.9.1"
PKG_SHA256="ea566e528605befb830671e359118c2da718f721c27225cbbc93858c7520fee3"
PKG_LICENSE="BSD"
PKG_SITE="https://github.com/gperftools/gperftools"
PKG_URL="https://github.com/gperftools/gperftools/releases/download/gperftools-${PKG_VERSION}/gperftools-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="Google Performance Tools"
PKG_CONFIGURE_OPTS_TARGET="--enable-minimal --disable-debugalloc --disable-static"

View File

@@ -2,8 +2,8 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv) # Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="inputstream.adaptive" PKG_NAME="inputstream.adaptive"
PKG_VERSION="2.4.7-Leia" PKG_VERSION="2.4.8-Leia"
PKG_SHA256="07d4f89d64a88da8ec6682ad85da097e2ecb782c7ea622efd161c65a65d59e63" PKG_SHA256="d9d051a481aa832bf0447f5500075eb5d4ae0181b21d6daf74547634b0c9eb15"
PKG_REV="1" PKG_REV="1"
PKG_ARCH="any" PKG_ARCH="any"
PKG_LICENSE="GPL" PKG_LICENSE="GPL"

View File

@@ -43,8 +43,9 @@ else #arm
echo "MALLOC_MMAP_THRESHOLD_=8192" >> /run/libreelec/kodi.conf echo "MALLOC_MMAP_THRESHOLD_=8192" >> /run/libreelec/kodi.conf
fi fi
if [ -f /usr/lib/libtcmalloc_minimal.so ] ; then # required for inputstreamhelper to detect TLS 64-bytes support
echo "LD_PRELOAD=/usr/lib/libtcmalloc_minimal.so" >> /run/libreelec/kodi.conf if [ -n "$(uname -m | grep arm)" ] || [ "$(uname -m)" == "aarch64" ]; then
echo "LIBC_WIDEVINE_PATCHLEVEL=1" >> /run/libreelec/kodi.conf
fi fi
if [ -f /storage/.config/kodi.conf ] ; then if [ -f /storage/.config/kodi.conf ] ; then

View File

@@ -13,6 +13,6 @@ PKG_SECTION="virtual"
PKG_LONGDESC="Meta package for installing various tools and libs needed for libc" PKG_LONGDESC="Meta package for installing various tools and libs needed for libc"
if [ "${TARGET_ARCH}" = "arm" ]; then if [ "${TARGET_ARCH}" = "arm" ]; then
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET arm-mem gperftools" PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET arm-mem"
PKG_DEPENDS_INIT="$PKG_DEPENDS_INIT arm-mem:init" PKG_DEPENDS_INIT="$PKG_DEPENDS_INIT arm-mem:init"
fi fi