drm-kmod icon indicating copy to clipboard operation
drm-kmod copied to clipboard

i915 fails to load when built with LTO

Open jbeich opened this issue 5 years ago • 1 comments

Upstream dropped static in http://github.com/torvalds/linux/commit/26f00514d944

$ cat >/usr/ports/graphics/drm-devel-kmod/Makefile.local
CFLAGS+=-flto -fno-common
MAKE_ENV+=LD=ld.lld

$ make clean all deinstall install -C/usr/ports/graphics/drm-devel-kmod

$ kldload i915kms
link_elf_obj: symbol i915_getparam_ioctl undefined
linker_load_file: /boot/modules/i915kms.ko - unsupported file type

jbeich avatar Jul 02 '20 00:07 jbeich

I'll try to have a look but it's cleary not my priority.

evadot avatar Sep 14 '20 09:09 evadot