You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 25, 2018. It is now read-only.
= note: /usr/bin/ld: /storage/Projects/IntermezzOS_bare/target/x86_64-unknown-intermezzos-gnu/release/build/intermezzos-8ccbbf2f886be67d/out/libboot.a(boot.o): relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nie da się wyświetlić sekcji na wyjściu!
collect2: error: ld returned 1 exit status
this is due to hardened compiler chain. To fix it, you need to change x86_64-unknown-intermezzos-gnu.json by adding "-no-pie" to "pre-link-args".
Hope this helps!
And yes, IntermezzOS book is an excellent lecture!
The text was updated successfully, but these errors were encountered:
p-kraszewski
changed the title
Trouble with default hardened GCC (eh. Gentoo-Hardened or Ubuntu 16.10+)
Trouble with default hardened GCC (eg. Gentoo-Hardened or Ubuntu 16.10+)
Feb 24, 2017
If compilation gives something like:
this is due to hardened compiler chain. To fix it, you need to change
x86_64-unknown-intermezzos-gnu.json
by adding"-no-pie"
to"pre-link-args"
.Hope this helps!
And yes, IntermezzOS book is an excellent lecture!
The text was updated successfully, but these errors were encountered: