Skip to content

[wpe-2.46][ARMv7] JSC build fail with Clang 20 and later #1600

Description

@emutavchi

Build fails while compiling generated LLIntAssembly.h with an error 'Relocation Not In Range'

<inline asm>:320:49: error: Relocation Not In Range
  320 | movw r4, #:lower16:.Lllint_op_tail_call_varargs - .Lllint_relativePCBase 
      |                                                 ^
<inline asm>:321:49: error: Relocation Not In Range
  321 | movt r4, #:upper16:.Lllint_op_tail_call_varargs - .Lllint_relativePCBase 
...

which may be related to llvm/llvm-project@a4d6fe5 and mvlbl implementation for ARMv7 (see setEntryAddressCommon in LowLevelInterpreter.asm)

To reproduce the JSC build error, you'll also need some build fixes backported from upstream for WTF, see attached

wtf_clang_20.patch

Activity

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