IncludeOS
IncludeOS copied to clipboard
Delegate default_alignment for inplace different between IncludeOS and Linux
Causes issues when linking against IncludeOS plugins:
ld: /home/gonzo/includeos/includeos/x86_64/plugins/libautoconf.a(autoconf.cpp.o): relocation R_X86_64_32S against symbol `_ZZN4spec7inplaceILm32ELm8EvJEEC1IRFvvEPS3_EEOT_ENUlRNSt3__115aligned_storageILm32ELm8EE4typeEE_8__invokeESC_' can not be used when making a PIE object; recompile with -fPIC
ld: final link failed: Nonrepresentable section on output
When building the OS with Clang as well as userspace with Clang:
ld.lld: error: undefined symbol: OS::register_plugin(delegate<void (), spec::inplace, 32ul, 16ul>, char const*)
>>> referenced by autoconf.cpp
>>> autoconf.cpp.o:(register_autoconf_plugin()) in archive /home/gonzo/includeos/includeos/x86_64/plugins/libautoconf.a
clang-7.0: error: linker command failed with exit code 1 (use -v to see invocation)
So there is a 4-way difference between delegates. Madness.