Commit graph

100 commits

Author SHA1 Message Date
Demetris Ierokipides
f8b643342b Merge Upstream LE 2023-03-18 19:46:40 +02:00
CvH
69e28bf866
Merge pull request #7582 from heitbaum/toolchain
toolchain updates and glibc 2.37
2023-03-10 11:20:47 +01:00
Rudi Heitbaum
f2269b4ff4 glibc: update to 2.37 2023-03-10 09:08:41 +00:00
Matthias Reichl
ca01cd88b8 glibc: use widevine patches also on aarch64
Signed-off-by: Matthias Reichl <hias@horus.com>
2023-03-09 20:46:13 +01:00
CvH
d2c170f838
Merge pull request #7115 from heitbaum/make44
Update make to 4.4.1
2023-03-05 21:38:22 +01:00
Peter Vicman
1328fa1e45 glibc: Makerules: fix MAKEFLAGS assignment for make-4.4 2023-02-27 10:45:03 +00:00
Tomáš Kelemen (vudiq)
1ad6e3c3a0
Merge branch 'LibreELEC.tv/master' 2023-02-11 02:25:33 +01:00
Aman Gupta Karmani
41ca86881d glibc: clarify behavior without dl_determine_tlsoffset patch 2023-02-09 21:24:23 -08:00
Aman Gupta Karmani
c795e20743 glibc: clarify RELR patch requirements 2023-02-09 21:24:16 -08:00
Tomáš Kelemen (vudiq)
7714f9c468
glibc: fix for Odin 2023-01-26 22:50:49 +01:00
Tomáš Kelemen (vudiq)
ffd8d6f9a7
glibc: fix for L4T/Switch 2023-01-22 21:43:37 +01:00
GavinDarkglider
c16def7032
Lakka-v5.x Switch Support Fixes (#1753)
* Switch: it builds

* Switch: Use udev to finalize usb gadget to save from systemd looping service restart until cable connected.

* Switch: Update kernel stuff again

* Switch: Downgrade Alsa packages to version in 4.x tree

* Joycond: Update Switch version

* Switch: Minor fixes

* LibreELEC: Fix a few broken files from upstream pull

* Switch: Fix LibreELEC build.

* Switch: Update bootloader stuff

* L4T: FFMPEG: Add support for nvv4l2 decoder/encoder

* FFMPEG: Add back encoder support for game recording in retroarch

* FFMPEG: revert a few changes, and add support for vulkan.
2023-01-21 18:40:08 +01:00
Tomáš Kelemen (vudiq)
33e9e1eaaa
Merge branch 'LibreELEC.tv/master' into Lakka-LE-master 2023-01-18 11:15:04 +01:00
Rudi Heitbaum
a1bced6681 glibc: update enable-kernel=6.1.0 2023-01-16 08:41:26 +00:00
Rudi Heitbaum
71935bd463 glibc: update enable-kernel=6.0.0 2022-12-24 23:46:11 +00:00
Matthias Reichl
889f3d8a5a Revert "glibc: dont build target with _TIME_BITS or _FILE_OFFSET_BITS for arm32 userland builds"
This reverts commit ddd8e1e336.

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-12-04 23:44:26 +01:00
Matthias Reichl
dee40cb196 Revert "glibc: Makerules: fix MAKEFLAGS assignment for make-4.4"
This reverts commit 3ade176450.
2022-11-11 00:03:10 +01:00
Peter Vicman
3ade176450 glibc: Makerules: fix MAKEFLAGS assignment for make-4.4 2022-10-31 23:42:28 +00:00
Matthias Reichl
87b07a816a glibc: set preferred linker to bfd
glibc has minimal dependencies so only bfd and gold linkers from
binutils are available.

As glibc doesn't link with gold set bfd as the preferred linker
to prevent linking with gold or any other linker.

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-09-27 23:46:42 +02:00
Peter Vicman
76758c6d23 glibc: fix QA issues 2022-08-12 15:02:49 +02:00
alex
7a63b917ad glibc: add workaround for GLIBC_ABI_DT_RELR check for ChromeOS libwidevine 2022-08-02 08:28:02 +00:00
Rudi Heitbaum
bce83e9836 glibc: update to 2.36 2022-08-02 08:27:49 +00:00
Rudi Heitbaum
c1e42790f8 glibc: drop now upstreamed DT_RELR patch which is included in 2.36
Support for DT_RELR relative relocation format has been added to
glibc.  This is a new ELF dynamic tag that improves the size of
relative relocations in shared object files and position independent
executables (PIE).  DT_RELR generation requires linker support for
-z pack-relative-relocs option, which is supported for some targets
in recent binutils versions.  Lazy binding doesn't apply to DT_RELR.

further information:
- https://maskray.me/blog/2021-10-31-relative-relocations-and-relr#glibc
2022-08-02 08:27:49 +00:00
Rudi Heitbaum
ddd8e1e336 glibc: dont build target with _TIME_BITS or _FILE_OFFSET_BITS for arm32 userland builds 2022-07-22 07:25:46 +00:00
Rudi Heitbaum
cb2b5c4095 glibc: update support for SHT_RELR patch for 2.35
update of this support is at:
- https://maskray.me/blog/2021-10-31-relative-relocations-and-relr#glibc
- https://sourceware.org/pipermail/libc-alpha/2021-October/132029.html

This commit rebases the current SHT_RELR patch to support glibc 2.35.
Future updates should look at using the updated patch though binutils
updates maybe required.
2022-06-19 07:26:25 +00:00
heitbaum
b3e6fc48d6 glibc: update to 2.35
fixes for 2.35
- linux: Fix missing __convert_scm_timestamps (BZ #28860)
2022-06-19 07:26:25 +00:00
heitbaum
185a00db16 glibc: elf/cache.c not compiling with -Werror 2022-06-19 07:26:25 +00:00
Tomáš Kelemen (vudiq)
d901413d8a
Merge 'libreelec/master'
pull updates from upstream
2022-04-23 21:44:57 +02:00
Matthias Reichl
5072f7b855 glibc: drop broken ld.so symlinks
These are relics of an ancient past and are no longer needed
nowadays - thus no one noticed the ld.so symlink was broken,
pointing to 'ld-*.so'.

So let's just get rid of it.

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-04-14 14:13:32 +02:00
Tomáš Kelemen (vudiq)
8069eb0a09
Merge changes from LibreELEC master 2022-04-12 18:24:10 +02:00
Ian Leonard
3824066715 glibc: update to 2.34
Refresh patches.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-12-25 21:28:35 +00:00
Ian Leonard
fc06d0807c glibc: update to 2.33
Drop --enable-lock-elision. Always enabled since 2017.

Disable building with Werror. Building currently generates
warnings that instead halt the build.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-12-25 21:28:35 +00:00
GavinDarkglider
c03d8024fb
Add support for Nintendo Switch (#1536) 2021-10-27 13:36:27 +02:00
Ian Leonard
185fa1c200 glibc: update minimum kernel to 5.10.0
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-10-17 21:58:45 +00:00
heitbaum
fc1ccb3710 glibc: dont run aclocal and autoconf on target build
required to address following error:

aclocal.m4:6: error: Exactly version 2.69 of Autoconf is required but you have 2.71
aclocal.m4:6: the top level
autom4te: error: toolchain/bin/m4 failed with exit status: 63
2021-09-12 00:26:01 +10:00
CvH
82e29f9e54
Merge pull request #5361 from vpeter4/utf8
glibc: include C.UTF-8 locale in image
2021-08-11 13:23:09 +02:00
Portisch
5ce550c354
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 19:50:56 +00:00
kszaq
7fa2987e4e glibc: add support for SHT_RELR sections
The patch is used only for ARM targets, allows to
load blobs from ChromeOS using SHT_RELR

Source: d5bc21e0f0/sys-libs/glibc/files/local/glibc-2.32/0004-sys-libs-glibc-add-support-for-SHT_RELR-sections.patch
2021-05-22 14:19:46 +02:00
Peter
a963782b40 glibc: include C.UTF-8 locale in image
Normally locale addon must be installed but users don't know that. Simplify this with adding default C.UTF-8 locale in image. Users can still install addon to use some other locale.

fixes Python3 error
UnicodeEncodeError: 'ascii' codec can't encode characters in position 40-41: ordinal not in range(128)

like
https://github.com/croneter/PlexKodiConnect/issues/1447
https://forum.libreelec.tv/thread/23116-pvr-recorder-unsuppored-locale/?postID=147453

from Kodi Python
  before
    sys.getdefaultencoding(): utf-8
    sys.getfilesystemencoding(): ascii
  after
    sys.getdefaultencoding(): utf-8
    sys.getfilesystemencoding(): utf-8

from SSH console
  before
    # locale
    LANG=
    LC_CTYPE="POSIX"
    LC_NUMERIC="POSIX"
    LC_TIME="POSIX"
    LC_COLLATE="POSIX"
    LC_MONETARY="POSIX"
    LC_MESSAGES="POSIX"
    LC_PAPER="POSIX"
    LC_NAME="POSIX"
    LC_ADDRESS="POSIX"
    LC_TELEPHONE="POSIX"
    LC_MEASUREMENT="POSIX"
    LC_IDENTIFICATION="POSIX"
    LC_ALL=

  after
    # locale
    LANG=C.UTF-8
    LC_CTYPE="C.UTF-8"
    LC_NUMERIC="C.UTF-8"
    LC_TIME="C.UTF-8"
    LC_COLLATE="C.UTF-8"
    LC_MONETARY="C.UTF-8"
    LC_MESSAGES="C.UTF-8"
    LC_PAPER="C.UTF-8"
    LC_NAME="C.UTF-8"
    LC_ADDRESS="C.UTF-8"
    LC_TELEPHONE="C.UTF-8"
    LC_MEASUREMENT="C.UTF-8"
    LC_IDENTIFICATION="C.UTF-8"
    LC_ALL=
2021-05-09 19:26:18 +02:00
Ian Leonard
78440702f1 devel: automated code cleanup
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-01-19 19:33:48 +00:00
heitbaum
63f0e11dcd glibc: update to 2.32 2020-11-26 06:14:32 +00:00
Jernej Skrabec
5f0bee8ac1 glibc: Fix build with -fno-common 2020-06-24 20:56:40 +02:00
Ian Leonard
ffdd2317b2 glibc: raise minimum compatible kernel for binaries to 5.4.0
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-06-07 19:52:02 +00:00
dhewg
52eca6fda6
Merge pull request #4160 from MilhouseVH/le10_bump-devel-packages
packages: bump devel packages
2020-02-20 00:18:42 +01:00
Andre Heider
c5b5df0266 locale: Use get_install_dir() instead of get_build_dir() 2020-02-10 08:53:39 +01:00
MilhouseVH
612d12edef glibc: update to glibc-2.31 2020-02-04 23:14:28 +00:00
MilhouseVH
01f276e05e glibc: ensure it uses our $TOOLCHAIN/bin/python3 2020-01-14 00:36:35 +00:00
MilhouseVH
56cbf64de4 glibc: use safe_remove 2019-08-02 01:43:08 +01:00
MilhouseVH
b07086af48 glibc: update to glibc-2.30 2019-08-02 01:31:05 +01:00
MilhouseVH
d048fdc3dd glibc: use pigz when compressing charmap 2019-06-26 20:04:08 +01:00