86 Commits

Author SHA1 Message Date
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
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 ddd8e1e3366f93e6621df619e80c87ebc3175ff6.

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 3ade176450dad019a80b824194acb410c117c5f9.
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
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
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
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
Ian Leonard
0867c3b660 glibc: raise minimum kernel supported to 4.4.0
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2019-05-19 22:13:59 +00:00
MilhouseVH
b135c7ead9 packages: add missing dependencies 2019-02-08 17:17:43 +00:00
MilhouseVH
95eb619468 glibc: update to glibc-2.29 2019-02-01 20:42:55 +00:00
MilhouseVH
b518bbf4e7 packages: implement late variable binding
Move variable assignments into configure_package() if the assignments
depend on variables initialised after the package is sourced, ie.
$PKG_BUILD, $PKG_SOURCE_NAME etc.
2018-12-18 03:43:28 +00:00
CvH
85e5b4dc1f cleanup: PKG_SHORTDESC 2018-10-22 15:06:12 +02:00
CvH
4cffa5fe6f cleanup: remove PKG_ARCH="any" 2018-10-22 15:06:12 +02:00
CvH
4317bc5002 cleanup: remove PKG_SECTION 2018-10-22 15:06:11 +02:00
MilhouseVH
a6e13696a3 glibc: update to glibc-2.28 2018-08-01 23:40:03 +01:00
Sascha Kuehndel (InuSasha)
07420cb3c3
busybox: temporary fix for nfs based boot 2018-07-24 22:51:40 +02:00
CvH
8e09fadb5b spdx: packages/devel 2018-07-17 23:58:50 +02:00
Sascha Kuehndel (InuSasha)
c194afd66f
glibc: do not build obsolete code 2018-07-05 07:36:10 +02:00
Sascha Kuehndel (InuSasha)
0a4dd829a5
glibc: addition cflags for gcc8 2018-06-04 20:07:06 +02:00
Matthias Reichl
16f29e9546 glibc: drop lto build flag
Signed-off-by: Matthias Reichl <hias@horus.com>
2018-06-04 19:54:29 +02:00
MilhouseVH
d6626b2f48 glibc: install localedef because the installer needs it
Looks like I cocked this up first with #1616 and then #1686.
2018-05-16 06:30:24 +01:00