Skip to content

Can't run a newly compiled of demo/hello #34

@WattleFoxxo

Description

@WattleFoxxo

When i try to run the newly compiled program i get this error while running:

[ERROR] Error: file depends on following libraries: ["libc.so"]
[ERROR] Unable to load elf64 binary /bin/demo

if i change -pie to -static-pie i get this error while running:

[ERROR] Page Fault (#PF) Exception: ExceptionStackFrame {
    instruction_pointer: 0x20000000077,
    code_segment: 0x2b,
    cpu_flags: 0x1202,
    stack_pointer: 0x20000400000,
    stack_segment: 0x23,
}
[ERROR] virtual_address = 0x23, page fault error = The fault was caused by a non-present page.
The access causing the fault was a read.
The access causing the fault originated when the processor was executing in user mode.
The fault was not caused by reserved bit violation.
The fault was not caused by an instruction fetch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions