Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools/compat Final note on OpenBSD cross-buildling. Remainin...
details: https://anonhg.NetBSD.org/src/rev/7f4486c4642e
branches: trunk
changeset: 984537:7f4486c4642e
user: cjep <cjep%NetBSD.org@localhost>
date: Sun Jul 11 06:15:42 2021 +0000
description:
Final note on OpenBSD cross-buildling. Remaining issues were due to
default limits on the build host.
diffstat:
tools/compat/README | 19 +++++++++++--------
1 files changed, 11 insertions(+), 8 deletions(-)
diffs (34 lines):
diff -r 95082251ed9c -r 7f4486c4642e tools/compat/README
--- a/tools/compat/README Sun Jul 11 01:58:41 2021 +0000
+++ b/tools/compat/README Sun Jul 11 06:15:42 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: README,v 1.20 2021/07/04 12:57:48 cjep Exp $
+$NetBSD: README,v 1.21 2021/07/11 06:15:42 cjep Exp $
Special notes for cross-hosting a NetBSD build on certain platforms.
Only those platforms which have been tested to complete a "build.sh" run
@@ -65,14 +65,17 @@
-------
As of -current 20210629, ./build.sh will build src on OpenBSD 6.9
-for all targets except MIPS-based ones.
+for all platforms.
+
+Due to the default limits placed on user accounts, the host may experience
+memory exhaustion on builds requiring the LLVM RT library (including
+X on amd64, i386 and evbarm64-el) and for MIPS targets.
-For builds requiring the LLVM RT library (including X on amd64,
-i386 and evbarm64-el), the build user's limits needs to be setup
-for higher memory usage, otherwise the build will fail. This can
-be achieved by either building as root (not recommended) or
-by changing the datasize attribute to infinity for the relevant
-groups and users in /etc/login.conf.
+This can be avoided by building as root (not ideal) or by asking your
+administrator to increase your limits in login.conf. These two variables
+seem to be sufficient:
+ :datasize=infinity:\
+ :stacksize-cur=8M:\
NetBSD (earlier releases)
-------------------------
Home |
Main Index |
Thread Index |
Old Index