-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Open
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorstage1The process of building from source via WebAssembly and the C backend.The process of building from source via WebAssembly and the C backend.
Milestone
Description
It seems that when you create a binary for the higher half, relocations into debug sections fail:
ld.lld: error: Flork_stivale2_x86_64:(.debug_info+0x55BFF): relocation R_X86_64_32 out of range:
18446744071564125002 is not in [0, 4294967295]; consider recompiling with
-fdebug-types-section to reduce size of debug sections
Currently using .code_model = .kernel
.
Using the R_X86_64_32S
instead of R_X86_64_32
should work.
All code models except large (where a 64 bit relocation is needed (doesn't do this either)) should be addressable with R_X86_64_32S
Metadata
Metadata
Assignees
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorstage1The process of building from source via WebAssembly and the C backend.The process of building from source via WebAssembly and the C backend.