Date: Fri, 04 Sep 2020 16:48:34 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 229708] Don't require the program header for ELF files fit in the first page Message-ID: <bug-229708-227-fQI8JLfh4y@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-229708-227@https.bugs.freebsd.org/bugzilla/> References: <bug-229708-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229708 --- Comment #2 from Alex S <iwtcex@gmail.com> --- (In reply to Konstantin Belousov from comment #1) Well, supposedly patchelf produces such executables, although reading [1] https://github.com/NixOS/patchelf/issues/153 and especially [2] gives me the impression this might have been fixed in the meantime. Another potential use case is Widevine CDM (obtainable from [3] and [4]), w= hich I intend to test with Firefox/Chromium and my glibc ABI compatibility hack ([5], think linuxpluginwrapper, but more reliable) to see how feasible that approach actually is. % env LD_PRELOAD=3D$PWD/libwidevinecdm.so true ld-elf.so.1: .../libwidevinecdm.so: program header too large % readelf -h libwidevinecdm.so=20 ... Start of program headers: 9300548 (bytes into file) Start of section headers: 9301776 (bytes into file) Since this is a proprietary closed source library, I don't know how it was built. > Also, do you want same for binaries ? Likely not. [1] https://github.com/NixOS/patchelf/issues/153 [2] https://github.com/NixOS/patchelf/issues/165#issuecomment-477084014 [3] https://dl.google.com/widevine-cdm/4.10.1582.2-linux-x64.zip [4] https://dl.google.com/widevine-cdm/4.10.1582.2-linux-ia32.zip [5] https://github.com/shkhln/nvshim --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229708-227-fQI8JLfh4y>