This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

__kernel_long_t build failure with linux 5.1-rc1 - is this glibc related?


Hi

I'm experiencing a build failure when building Kodi with linux 5.1-rc1
and glibc-2.29 (gcc-8.3.0) for x86_64: http://ix.io/1DXy

This is only an issue with 5.1-rc1, a git bisect of 5.0.2...5.1-rc1
confirms the failure starts with the linux commit discussed here:
https://lore.kernel.org/patchwork/patch/1049662/ (specifically, this
commit: https://github.com/torvalds/linux/commit/a623a7a1a5670c25a16881f5078072d272d96b71)

Is this now a glibc issue, or a problem with the 5.1-rc1 kernel? Or is
the problem maybe elsewhere...?

The specific failure is:

In file included from
/home/neil/projects/scratch/alternates/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.1-devel-next/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/linux/kernel.h:5,
                 from
/home/neil/projects/scratch/alternates/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.1-devel-next/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/sys/sysinfo.h:24,
                 from ../xbmc/platform/linux/PlatformDefs.h:44,
                 from ../xbmc/XBDateTime.h:12,
                 from ../xbmc/utils/StringUtils.h:35,
                 from ../xbmc/utils/log.h:15,
                 from ../xbmc/filesystem/DllLibCurl.cpp:13:
/home/neil/projects/scratch/alternates/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.1-devel-next/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/linux/sysinfo.h:9:2:
error: '__kernel_long_t' does not name a type; did you mean
'__syscall_ulong_t'?
  __kernel_long_t uptime;  /* Seconds since boot */
  ^~~~~~~~~~~~~~~
  __syscall_ulong_t
/home/neil/projects/scratch/alternates/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.1-devel-next/toolchain/x86_64-libreelec-linux-gnu/sysroot/usr/include/linux/sysinfo.h:10:2:
error: '__kernel_ulong_t' does not name a type; did you mean
'__syscall_ulong_t'?
  __kernel_ulong_t loads[3]; /* 1, 5, and 15 minute load averages */
  ^~~~~~~~~~~~~~~~
  __syscall_ulong_t

Many thanks!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]