Skip to content

Error: "offset is not a multiple of ??" #139679

Open
@ViktorPopp

Description

@ViktorPopp

Code

Sadly none. There is no line a file that the error outputs

Current output

error: offset is not a multiple of 16

error: could not compile `hexium_os` (lib) due to 1 previous error

Desired output

No error

Rust Version

PS D:\dev\Projekter\hexium_os\kernel> rustc --version --verbose
rustc 1.87.0-nightly (85abb2763 2025-02-25)
binary: rustc
commit-hash: 85abb276361c424d64743c0965242dd0e7b866d1
commit-date: 2025-02-25
host: x86_64-pc-windows-msvc
release: 1.87.0-nightly
LLVM version: 20.1.0

Anything else?

It is when cloning the flanterm crate into "/kernel/deps/flanterm" on this repository and then adding it as a crate using its path in Cargo.toml. I also removed a GCC inliner (In the C code), and fixed some issues with the framebuffer not being raw here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.A-diagnosticsArea: Messages for errors, warnings, and lintsC-bugCategory: This is a bug.F-abi_x86_interruptT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions