From b3424f948f9275685df5315a2922aad768594479 Mon Sep 17 00:00:00 2001 From: deraadt Date: Thu, 1 Feb 2024 00:39:57 +0000 Subject: [PATCH] the clang binary never shrinks, especially since it is statically linked (for performance). in this case, it grew larger than the maximum text segment size; increase that size. --- sys/arch/arm/include/vmparam.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/arch/arm/include/vmparam.h b/sys/arch/arm/include/vmparam.h index 5f086f89c53..f3867dad34a 100644 --- a/sys/arch/arm/include/vmparam.h +++ b/sys/arch/arm/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.19 2018/03/05 01:39:13 deraadt Exp $ */ +/* $OpenBSD: vmparam.h,v 1.20 2024/02/01 00:39:57 deraadt Exp $ */ /* $NetBSD: vmparam.h,v 1.18 2003/05/21 18:04:44 thorpej Exp $ */ /* @@ -46,7 +46,8 @@ #define USRSTACK VM_MAXUSER_ADDRESS #define KERNBASE VM_MAXUSER_ADDRESS -#define MAXTSIZ (64*1024*1024) /* max text size */ +#define MAXTSIZ (128*1024*1024) /* max text size */ + #ifndef DFLDSIZ #define DFLDSIZ (128*1024*1024) /* initial data size limit */ #endif -- 2.20.1