Closed
Description
On linux-next (next-20181002), linking of the DRM_I915 driver fails when the "64-bit kernel" is deactivated. Here are my observations:
defconfig works.
defconfig - "64-bit kernel":
MODPOST vmlinux.o
ld: drivers/gpu/drm/i915/i915_params.o: in function `i915_params_dump':
i915_params.c:(.text+0x56): undefined reference to `__compiletime_assert_191'
ld: i915_params.c:(.text+0xed): undefined reference to `__compiletime_assert_191'
ld: i915_params.c:(.text+0x188): undefined reference to `__compiletime_assert_191'
ld: i915_params.c:(.text+0x223): undefined reference to `__compiletime_assert_191'
ld: i915_params.c:(.text+0x2be): undefined reference to `__compiletime_assert_191'
ld: drivers/gpu/drm/i915/i915_params.o:i915_params.c:(.text+0x359): more undefined references to `__compiletime_assert_191' follow
make: *** [Makefile:1037: vmlinux] Error 1
defconfig - "64-bit kernel" - DRM_I915 works.
defconfig - DRM_I915 works (no surprise!).
I just tried it yet on linux-next and with clang-8. I will need to check with the current release and rc, and with clang-7.
The issue was discovered by investigating the cause for #186.