You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
daily: debug kernel builds failing since 2026-10-23 #158
changed the title [-]daily: debug kernel builds aborted in Debusine since 2026-10-23[/-][+]daily: debug kernel builds failing since 2026-10-23[/+]on Oct 26, 2026
kgsl-dkms went from 1.0.14 to 1.0.17 between the 22nd and the 23rd. Since 1.0.16, kgsl stops compiling governor_msm_adreno_tz.o and governor_gpubw_mon.o when the default governor is simple_ondemand, which is what we build with, but kgsl_pwrscale.c still calls into them, so msm_kgsl.ko fails to link.
Only the debug legs break. The calls sit in static functions that are each called once, so the compiler normally inlines them and discards the dead branches. kernel/configs/debug.config sets CONFIG_DEBUG_SECTION_MISMATCH=y, which adds -fno-inline-functions-called-once and keeps them. That flag is the only difference between the debug and non-debug compile of kgsl_pwrscale.c.
The kernel tag moving to rc6 on the 23rd is unrelated.
Filed as qualcomm-linux/kgsl#24. Nothing to change in this repo, so I would leave the debug legs red until kgsl is fixed.
Proposed fix in qualcomm-linux/kgsl#23, tracked in qualcomm-linux/kgsl#24. Not pinning kgsl-dkms back to 1.0.14, the debug legs should come back once a kgsl-dkms with the fix lands in qli.
The kgsl fix is in now: df04fd1dfa, tagged v1.0.18 and v2.0.0. pkg-kgsl and qli are still on 1.0.17, so the debug legs stay red until a newer kgsl-dkms is promoted.
Activity
[-]daily: debug kernel builds aborted in Debusine since 2026-10-23[/-][+]daily: debug kernel builds failing since 2026-10-23[/+]bjordiscollaku commentedon Oct 26, 2026
Root cause is in kgsl, not here.
kgsl-dkmswent from 1.0.14 to 1.0.17 between the 22nd and the 23rd. Since 1.0.16, kgsl stops compilinggovernor_msm_adreno_tz.oandgovernor_gpubw_mon.owhen the default governor issimple_ondemand, which is what we build with, butkgsl_pwrscale.cstill calls into them, somsm_kgsl.kofails to link.Only the debug legs break. The calls sit in static functions that are each called once, so the compiler normally inlines them and discards the dead branches.
kernel/configs/debug.configsetsCONFIG_DEBUG_SECTION_MISMATCH=y, which adds-fno-inline-functions-called-onceand keeps them. That flag is the only difference between the debug and non-debug compile ofkgsl_pwrscale.c.The kernel tag moving to rc6 on the 23rd is unrelated.
Filed as qualcomm-linux/kgsl#24. Nothing to change in this repo, so I would leave the debug legs red until kgsl is fixed.
bjordiscollaku commentedon Oct 26, 2026
Proposed fix in qualcomm-linux/kgsl#23, tracked in qualcomm-linux/kgsl#24. Not pinning kgsl-dkms back to 1.0.14, the debug legs should come back once a kgsl-dkms with the fix lands in qli.
bjordiscollaku commentedon Nov 2, 2026
The kgsl fix is in now: df04fd1dfa, tagged v1.0.18 and v2.0.0. pkg-kgsl and qli are still on 1.0.17, so the debug legs stay red until a newer kgsl-dkms is promoted.
obbardc commentedon Nov 3, 2026
#176 removes kgsl from the debug variants. We should revert that once this is fixed.
ci: add a reusable DKMS module check
ci: add a reusable DKMS module check
ci: add a reusable DKMS module check
ci: add a reusable DKMS module check
ci: add a reusable DKMS module check
ci: add a reusable DKMS module check
ci: gate Debusine builds on the DKMS module check
ci: gate Debusine builds on the DKMS module check