From: Simon Kuenzer Date: Fri, 11 Aug 2023 13:09:24 +0000 (+0200) Subject: build: Explain OPTIMIZE_PIE X-Git-Tag: RELEASE-0.14.0~49 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=2ee5283ff8f6fc4139b3ad5fe841e554bfca1b22;p=unikraft%2Funikraft.git build: Explain OPTIMIZE_PIE Adds an explanation for the OPTIMIZE_PIE configuration option. Signed-off-by: Simon Kuenzer Reviewed-by: Sergiu Moga Approved-by: Razvan Deaconescu Tested-by: Unikraft CI GitHub-Closes: #1038 --- diff --git a/Config.uk b/Config.uk index 3cedd3a5a..c27af5711 100644 --- a/Config.uk +++ b/Config.uk @@ -100,10 +100,14 @@ config OPTIMIZE_LTO Unikraft binaries. config OPTIMIZE_PIE - bool "Build the Unikernel as a static PIE" + bool "Static-PIE - Position-independent binary" select LIBUKRELOC + default n help - Build the Unikernel as a static PIE. + Creates a position independent binary. Such a Unikernel binary does + not have to be placed at a fixed location in the virtual address + space by a loader. Some loaders even assume that kernel entrance is + relocatable (e.g., EFI). choice prompt "Debug information level"