path: root/bootstrap
diff options
authorgdt <gdt>2016-07-14 23:35:05 +0000
committergdt <gdt>2016-07-14 23:35:05 +0000
commitb71141017afe8eee098fb441fba5ce5ba8ce7fcb (patch)
tree90548929205c34ec0b14aa4d74eefb32fe8964a8 /bootstrap
parent3501d6ed1edb9c3e18003cd02f54702ffb0a4fdd (diff)
Explain switch to default ABI=64
Explain how to recover on a machine that used to be ABI=32. by pointing to jperkin's email about this and giving an example.
Diffstat (limited to 'bootstrap')
1 files changed, 20 insertions, 2 deletions
diff --git a/bootstrap/README.MacOSX b/bootstrap/README.MacOSX
index 60ce31e780b..62d95a5c4ae 100644
--- a/bootstrap/README.MacOSX
+++ b/bootstrap/README.MacOSX
@@ -1,4 +1,4 @@
-$NetBSD: README.MacOSX,v 1.29 2016/01/06 07:15:23 yyamano Exp $
+$NetBSD: README.MacOSX,v 1.30 2016/07/14 23:35:05 gdt Exp $
This file describes the use of current versions of pkgsrc with
multiple versions of Darwin and OS X, omitting information about previous pkgsrc
@@ -62,7 +62,25 @@ Note that a pkgsrc build in x86_64 mode will not run on an Intel Mac
that is i386 only. For a longer discussion, see:
-As of 2015-11, changing the default to x86_64 is imminent.
+As of 2015-11-09, the default ABI is x86_64 on machines where "uname
+-m" reports x86_64. (It remains i386 on others, which are not capable
+of running x86_64 binaries.)
+*** resolving issues from a change in default ABI
+When the ABI changes from 32 to 64, you can recover without a
+rebootstrap by replacing bmake and pkg_install. See
+In /usr/pkgsrc/devel/bmake, do:
+# bmake MACHINE_ARCH=x86_64 replace
+and then rerun the failed pkg_add -U with an additional -f.
+Then, in /usr/pkgsrc/pkgtools/pkg_install, do:
+# bmake replace
+Then, rebuild all packages; ABI=32 and ABI=64 packages both work
+individually, but mixing them in a single program via dynamic linking
+will not work.
** sed in 10.9