It (3.3.2, since that's what's in Debian) builds and runs with the attached
patches using the Linux 5.0 kernel.
Scott K
On Sunday, February 17, 2019 03:51:45 PM Scott Kitterman wrote:
> Debian doesn't have it in the distro yet, but I can ask the reporter to
> verify it works.
>
> There's no technical driver behind the version bump, so it might be best to
> consider such checks obsolete for Linux.
>
> If there are new features introduced that need to be supported by specific
> changes in makedefs, they are going to have to be tied to a specific
> version (like epoll in Linux 2). I don't think the major version will be a
> useful distinction.
>
> Scott K
>
> On February 17, 2019 3:41:47 PM UTC, Wietse Venema <[email protected]>
wrote:
> >Scott Kitterman:
> >> I understand that the next Linux release will have a major version of
> >
> >5. This
> >
> >> doesn't portend any technical changes. As has happened the last few
> >
> >times
> >
> >> linux 5 should be no different than 4 which was no different than 3.
> >>
> >> It looks to me like the postfix 3.4 makedefs still have:
> >> Linux.[34].*) SYSTYPE=LINUX$RELEASE_MAJOR
> >>
> >> Is it too late to add 5?
> >
> >What distribution runs Linux 5 kernels? I would like to do a smoke
> >test for due diligence (does it build and run).
> >
> > Wietse
diff --git a/src/util/sys_defs.h b/src/util/sys_defs.h
index f4f53300..6a5da4fe 100644
--- a/src/util/sys_defs.h
+++ b/src/util/sys_defs.h
@@ -748,7 +748,7 @@ extern int initgroups(const char *, int);
/*
* LINUX.
*/
-#if defined(LINUX2) || defined(LINUX3) || defined(LINUX4)
+#if defined(LINUX2) || defined(LINUX3) || defined(LINUX4) || defined(LINUX5)
#define SUPPORTED
#define UINT32_TYPE unsigned int
#define UINT16_TYPE unsigned short
diff --git a/makedefs b/makedefs
index 227fdd54..bd3ab32e 100644
--- a/makedefs
+++ b/makedefs
@@ -546,7 +546,7 @@ EOF
: ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"}
: ${PLUGIN_LD="${CC-gcc} -shared"}
;;
- Linux.[34].*) SYSTYPE=LINUX$RELEASE_MAJOR
+ Linux.[3456789].*) SYSTYPE=LINUX3
case "$CCARGS" in
*-DNO_DB*) ;;
*-DHAS_DB*) ;;