Skip to content

out of range pc-relative fixup value on arm32 #108262

Open
@kraj

Description

@kraj

This is seen with clang-19, does not happen with clang-18, attached program when compiled with -O2 exhibits the problem, other -O options are ok.

In file included from /mnt/b/yoe/master/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/libjxl/0.10.3/git/lib/jxl/enc_ar_control_field.cc:1:                                                        │
│In file included from <built-in>:452:                                                                                                                                                                   │
│<command line>:4:9: warning: redefining builtin macro [-Wbuiltin-macro-redefined]                                                                                                                       │
│    4 | #define __DATE__ "redacted"                                                                                                                                                                     │
│      |         ^                                                                                                                                                                                       │
│<command line>:5:9: warning: redefining builtin macro [-Wbuiltin-macro-redefined]                                                                                                                       │
│    5 | #define __TIMESTAMP__ "redacted"                                                                                                                                                                │
│      |         ^                                                                                                                                                                                       │
│<command line>:6:9: warning: redefining builtin macro [-Wbuiltin-macro-redefined]                                                                                                                       │
│    6 | #define __TIME__ "redacted"                                                                                                                                                                     │
│      |         ^                                                                                                                                                                                       │
│error: out of range pc-relative fixup value                                                                                                                                                             │
│3 warnings and 1 error generated.                                                                                                                                                                       │

pc-relative.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions