Skip to content

Clang/LLVM 15 and above fail to boot on Exynos 990/9830 #2111

@ExtremeXT

Description

@ExtremeXT

Hi, I have tried updating the compiler on my upstreamed Exynos 990/9830 (codename) kernel: https://github.com/ExtremeXT/990_upstream_v2 but have only managed to achieve Clang 14, anything newer (15, 16) fails to boot. Attached is last_kmsg file which is the kernel log. I assume that this is the issue:

<0>[    0.176810]  [0:      swapper/0:    1] undefined instruction: pc=0xffffff8008185a48 (esr=0x02000000)
<6>[    0.176831]  [0:      swapper/0:    1] Code: d4210000 910003e8 91002108 f90007e8 (00000000) 
<0>[    0.176843]  [0:      swapper/0:    1] Internal error: undefined instruction: 2000000 [#1] PREEMPT SMP

But i haven't been able to find what leads to that address, I think there is some kind of relocation going on? It always points to something different on each build.

I hope this can be solved, I have looked over the issues but couldn't find anything similar. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions