Hi Diego,

On Friday, 2 October 2026 at 13:47, Diego Meretta <[email protected]> wrote:

> ---
>  riscv64/Makefrag.am | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/riscv64/Makefrag.am b/riscv64/Makefrag.am
> index 52e159b1..de9ed118 100644
> --- a/riscv64/Makefrag.am
> +++ b/riscv64/Makefrag.am
> @@ -128,11 +128,12 @@ include_mach_riscv64_HEADERS = \
> 
>  KERNEL_MAP_BASE=0xffffffff80000000
> 
> +# We do not support or need position-independent
>  AM_CFLAGS += -DKERNEL_MAP_BASE=$(KERNEL_MAP_BASE) \
> -        -mcmodel=medany
> +        -mcmodel=medany -fno-pie -fno-PIE -fno-pic
> 
>  AM_CCASFLAGS += -DKERNEL_MAP_BASE=$(KERNEL_MAP_BASE) \
> -        -mcmodel=medany
> +        -mcmodel=medany -fno-pie -fno-PIE -fno-pic
> 
>  gnumach_LINKFLAGS += \
>          --defsym KERNEL_MAP_BASE=$(KERNEL_MAP_BASE) \
> --
> 2.43.0
> 

Applied, thanks!

Hakan

Reply via email to