All of lore.kernel.org
 help / color / mirror / Atom feed
* widevine + arm64
@ 2023-05-19 15:54 Markus Volk
  2023-05-19 16:11 ` [OE-core] " Ross Burton
  0 siblings, 1 reply; 2+ messages in thread
From: Markus Volk @ 2023-05-19 15:54 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1176 bytes --]

Finally there's a libwidevinecdm.so achievable for arm64. To make it 
usable by chromium/kodi it is required to patch glibc:

 From 85892fbc0d6f64f564f0d4c9514a7183ad8eb985 Mon Sep 17 00:00:00 2001
 From: alex <knaerzche@gmail.com>
Date: Sun, 17 Jul 2022 12:16:20 +0200
Subject: [PATCH] HACK: Don't check GLIBC_ABI_DT_RELR support for 
ChromeOS
 libwidevinecdm.so

Required starting with glibc 2.36
---
 elf/dl-version.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/elf/dl-version.c b/elf/dl-version.c
index cda0889209..058394f148 100644
--- a/elf/dl-version.c
+++ b/elf/dl-version.c
@@ -373,7 +373,8 @@ _dl_check_map_versions (struct link_map *map, int 
verbose, int trace_mode)
 	if (d->d_tag == DT_NEEDED)
 	  {
 	    const char *name = strtab + d->d_un.d_val;
-	    if (strncmp (name, "libc.so.", 8) == 0)
+	    if (strncmp (name, "libc.so.", 8) == 0 &&
+	        strstr (map->l_name, "libwidevinecdm.so") == NULL)
 	      {
 		_dl_exception_create
 		  (&exception, DSO_FILENAME (map->l_name),
-- 
2.37.1

I have tested this to work on raspberrypi4-64. Is this something that 
should be supported in oe-core or should it be added via bbappend?



[-- Attachment #2: Type: text/html, Size: 2255 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [OE-core] widevine + arm64
  2023-05-19 15:54 widevine + arm64 Markus Volk
@ 2023-05-19 16:11 ` Ross Burton
  0 siblings, 0 replies; 2+ messages in thread
From: Ross Burton @ 2023-05-19 16:11 UTC (permalink / raw)
  To: Markus Volk, OE-core

On 19 May 2023, at 16:54, Markus Volk via lists.openembedded.org <f_l_k=t-online.de@lists.openembedded.org> wrote:
> I have tested this to work on raspberrypi4-64. Is this something that should be supported in oe-core or should it be added via bbappend?

That’s pretty ugly. :)

I’m not sure I’d want to carry a patch like that in core, no.

Ross


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-05-19 16:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-19 15:54 widevine + arm64 Markus Volk
2023-05-19 16:11 ` [OE-core] " Ross Burton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.