the clang binary never shrinks, especially since it is statically
authorderaadt <deraadt@openbsd.org>
Thu, 1 Feb 2024 00:39:57 +0000 (00:39 +0000)
committerderaadt <deraadt@openbsd.org>
Thu, 1 Feb 2024 00:39:57 +0000 (00:39 +0000)
linked (for performance).  in this case, it grew larger than the
maximum text segment size; increase that size.

sys/arch/arm/include/vmparam.h

index 5f086f8..f3867da 100644 (file)
@@ -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