Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kraj opened this issue Sep 11, 2024 · 0 comments
Open

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

kraj opened this issue Sep 11, 2024 · 0 comments

Comments

@kraj
Copy link
Contributor

kraj commented Sep 11, 2024

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

kraj added a commit to YoeDistro/meta-clang that referenced this issue Sep 11, 2024
This is a workaround until [1] is fixed

[1] llvm/llvm-project#108262

Signed-off-by: Khem Raj <[email protected]>
kraj added a commit to YoeDistro/meta-clang that referenced this issue Sep 11, 2024
This is a workaround until [1] is fixed

[1] llvm/llvm-project#108262

Signed-off-by: Khem Raj <[email protected]>
kraj added a commit to YoeDistro/meta-clang that referenced this issue Sep 13, 2024
This is a workaround until [1] is fixed

[1] llvm/llvm-project#108262

Signed-off-by: Khem Raj <[email protected]>
kraj added a commit to YoeDistro/meta-clang that referenced this issue Sep 17, 2024
This is a workaround until [1] is fixed

[1] llvm/llvm-project#108262

Signed-off-by: Khem Raj <[email protected]>
kraj added a commit to kraj/meta-clang that referenced this issue Sep 18, 2024
This is a workaround until [1] is fixed

[1] llvm/llvm-project#108262

Signed-off-by: Khem Raj <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant