Skip to content

daily: debug kernel builds failing since 2026-10-23 #158

Closed

Description

The three debug legs of the daily build have been failing since 2026-10-23. The non-debug legs build fine in the same runs.

From the latest run, 40242832930:

Leg Result Work request
qcom-next/trixie success
qcom-next/forky success
qcom-7.2/trixie success
qcom-next/resolute success
qcom-next-debug/trixie failure 226719
qcom-next-debug/forky failure 226692
qcom-7.2-debug/trixie failure 226683

Same three legs on the 23rd, 24th and 25th.

Nothing in this repo changed in between. The only commit since the last good run is dd409f8, which just adds a CODEOWNERS file.

Activity

  1. 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
  2. bjordiscollaku commented on Oct 26, 2026

    @bjordiscollaku
    ContributorAuthor

    Root cause is in kgsl, not here.

    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.

  3. bjordiscollaku commented on Oct 26, 2026

    @bjordiscollaku
    ContributorAuthor

    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.

  4. bjordiscollaku commented on Nov 2, 2026

    @bjordiscollaku
    ContributorAuthor

    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.

  5. obbardc commented on Nov 3, 2026

    @obbardc
    Contributor

    #176 removes kgsl from the debug variants. We should revert that once this is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions