Linux Next cannot build on Ubuntu 1604 and 1804
From: Srikanth Myakam
Date: Fri Sep 24 2021 - 07:10:03 EST
We have a pipeline to build Linux-next daily on Ubuntu 1604 and the compilation is failing at building "drivers/gpu/drm/drm_edid.c" starting from Sept 15th.
The error text:
drivers/gpu/drm/drm_edid.c:120:16: error: initializer element is not constant
EDID_QUIRK("ACR", 44358, EDID_QUIRK_PREFER_LARGE_60),
^
drivers/gpu/drm/drm_edid.c:120:16: note: (near initialization for 'edid_quirk_list[0].panel_id')
drivers/gpu/drm/drm_edid.c:122:16: error: initializer element is not constant
EDID_QUIRK("API", 0x7602, EDID_QUIRK_PREFER_LARGE_60),
^
drivers/gpu/drm/drm_edid.c:122:16: note: (near initialization for 'edid_quirk_list[1].panel_id')
drivers/gpu/drm/drm_edid.c:125:16: error: initializer element is not constant
EDID_QUIRK("AEO", 0, EDID_QUIRK_FORCE_6BPC),
^
drivers/gpu/drm/drm_edid.c:125:16: note: (near initialization for 'edid_quirk_list[2].panel_id')
drivers/gpu/drm/drm_edid.c:128:16: error: initializer element is not constant
EDID_QUIRK("BOE", 0x78b, EDID_QUIRK_FORCE_6BPC),
....
The issue is observed on below environments:
1. Ubuntu1604, glibc version 2.23-0ubuntu11.3
2. Ubuntu1804, glibc version 2.27-3ubuntu1.2
Seems like it was introduced by patch https://patchwork.freedesktop.org/patch/453876/
-
SrikanthMyakam