git: a339b4223a4f - main - linux: bump the default version from 3.10.0 to 3.17.0
Edward Tomasz Napierala
trasz at FreeBSD.org
Wed Jan 13 10:02:29 UTC 2021
The branch main has been updated by trasz:
URL: https://cgit.FreeBSD.org/src/commit/?id=a339b4223a4fd7cddbd691302d2eeeddc045415a
commit a339b4223a4fd7cddbd691302d2eeeddc045415a
Author: Edward Tomasz Napierala <trasz at FreeBSD.org>
AuthorDate: 2021-01-13 09:59:08 +0000
Commit: Edward Tomasz Napierala <trasz at FreeBSD.org>
CommitDate: 2021-01-13 10:02:16 +0000
linux: bump the default version from 3.10.0 to 3.17.0
This is required for Qt5, as found in Ubuntu Focal. The library contains
the minimum kernel version encoded in an ELF note; this makes rtld ignore
it altogether, with a confusing error message. Without it, things fail
like this:
$ konsole: error while loading shared libraries: libQt5Core.so.5: cannot
open shared object file: No such file or directory
For reference, the Qt kernel version requirements can be found at:
https://github.com/qt/qtbase/blob/dev/src/corelib/global/minimum-linux_p.h
Sponsored by: The FreeBSD Foundation
Reviewed By: emaste
Differential Revision: https://reviews.freebsd.org/D28105
---
sys/compat/linux/linux_mib.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/compat/linux/linux_mib.h b/sys/compat/linux/linux_mib.h
index bef21758acde..0a1baec39826 100644
--- a/sys/compat/linux/linux_mib.h
+++ b/sys/compat/linux/linux_mib.h
@@ -47,7 +47,7 @@ int linux_get_oss_version(struct thread *td);
int linux_kernver(struct thread *td);
#define LINUX_KVERSION 3
-#define LINUX_KPATCHLEVEL 10
+#define LINUX_KPATCHLEVEL 17
#define LINUX_KSUBLEVEL 0
#define LINUX_KERNVER(a,b,c) (((a) << 16) + ((b) << 8) + (c))
More information about the dev-commits-src-main
mailing list