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

Linking error #2

Open
wintrmvte opened this issue Jun 16, 2022 · 1 comment
Open

Linking error #2

wintrmvte opened this issue Jun 16, 2022 · 1 comment

Comments

@wintrmvte
Copy link

hosaka 福 /shell-factory
10322 ◯ : s rake dropexec ⏎ [
]
[*] Generating target 'dropexec'
├ Compiler: gcc 11.2.0
├ Host architecture: x86_64-pc-linux-gnu
├ Target architecture: x86_64-pc-linux-gnu
└ Options: {}

gcc -std=c++1y -Wall -Wno-unused-function -Wextra -Wfatal-errors -ffreestanding -fshort-wchar -fshort-enums -fno-common -fno-rtti -fno-exceptions -fno-non-call-exceptions -fno-asynchronous-unwind-tables -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-stack-protector -nostdlib -fPIC -Wl,-T/home/wintrmve/shell-factory/factory-elf.lds -Wl,--gc-sections -Wl,-N -Wl,--build-id=none -fno-toplevel-reorder -finline-functions -fno-jump-tables -fno-leading-underscore -flto -nodefaultlibs -Os -w -Iinclude shellcodes/dropexec.cc -o bins/dropexec.elf
/usr/bin/ld: bins/dropexec.elf: error: PHDR segment not covered by LOAD segment
collect2: error: ld returned 1 exit status

[*] Error: Compilation failed.

@wintrmvte
Copy link
Author

U there? Lol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant