Created attachment 131383 [details] Full build log I'm using OBS service for building Linux kernel. There is a repository: https://build.opensuse.org/package/show/home:linux4humans:pf-kernel/kernel-pf You can see building success with openSUSE 42 and SLES 12 build farms, hovewer it fail with SLES 11 build farm. ../drivers/gpu/drm/i915/i915_gem_gtt.c: In function 'gen6_ggtt_insert_entries': ../drivers/gpu/drm/i915/i915_gem_gtt.c:2438: error: 'gtt_entry' may be used uninitialized in this function ../drivers/gpu/drm/i915/i915_gem_gtt.c: In function 'gen8_ggtt_insert_entries': ../drivers/gpu/drm/i915/i915_gem_gtt.c:2341: error: 'gtt_entry' may be used uninitialized in this function make[6]: *** [drivers/gpu/drm/i915/i915_gem_gtt.o] Error 1 I hope that you didn't dropped GCC 4.3. Anyway, I have a suspicion that an error will be present on newer GCC versions with harder build requirements.
gcc is being dumb, later versions are not so stupid.
Also why inflict -Werror upon a project you do not control? Or if you are using our -Werror option, you are expected to be using a recent version of the kernel as well.
I didn't use -Werror. I use the default openSUSE config file. Fresh openSUSE version is successfully builds, however LTS openSUSE version have this bug.
Is any workaround for SLES 11? I can use this construction in an RPM SPEC file: %if 0%{?sles_version} && 0%{?suse_version} == 1110 Patch1: intel-dri-sles-11-workaround.patch %endif
May I speak russian? Хватит лениться. Линус правильно сказал про DRI в феврале этого года. Даже LTS-релиз ядра отладить не можете! Мне ваш драйвер вообще не нужен, у меня NVIDIA. Мне лишь надо обновить ядро с 3.1 до 4.9, чтобы избавиться от 12309. И только ваша ошибка при сборке останавливает.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.