Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/rust lang/rust: Extend comments about linker fixes



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7bd5e8047629
branches:  trunk
changeset: 434237:7bd5e8047629
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Sat Jun 13 14:18:41 2020 +0000

description:
lang/rust: Extend comments about linker fixes

Reference the commits that fixed the (a?) problem and the pullup to
9.  Note that no pullup to 8 has occured, and add a \todo to explain
the plan.

Thanks to Martin for pointers and explanation.

diffstat:

 lang/rust/Makefile |  17 +++++++++++++----
 1 files changed, 13 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 9c56514c2b71 -r 7bd5e8047629 lang/rust/Makefile
--- a/lang/rust/Makefile        Sat Jun 13 13:34:22 2020 +0000
+++ b/lang/rust/Makefile        Sat Jun 13 14:18:41 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.175 2020/06/13 13:15:44 gdt Exp $
+# $NetBSD: Makefile,v 1.176 2020/06/13 14:18:41 gdt Exp $
 
 DISTNAME=      rustc-1.43.1-src
 PKGNAME=       ${DISTNAME:S/rustc/rust/:S/-src//}
@@ -137,14 +137,23 @@
 .endif
 
 .if ${OPSYS} == "NetBSD"
-# On older versions of NetBSD, parallel builds cause problems.
+# Parallel builds failed on NetBSD due to dynamic linker locking bugs.
 # \todo Explain if the build is believed to be sound if not parallel,
 # or if a non-parallel build is merely more likely to work.
+#
 # See toolchain/54192 at
-# http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=54192
-# \todo Explain if this has been pulled up to 8 and 9, and 
+#   http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=54192
+# which was fixed in -current on 2020-04-19:
+#   http://mail-index.netbsd.org/source-changes/2020/04/16/msg116256.html
+#   http://mail-index.netbsd.org/source-changes/2020/04/19/msg116337.html
+# These  were pulled up to netbsd-9 on 2020-05-13:
+#   http://releng.netbsd.org/cgi-bin/req-9.cgi?show=907
+# This has not been pulled up to netbsd-8
+#   \todo Explain if it's not applicable, shouldn't be pulled up, should be
+#   but hasn't, is too hard, etc.
 
 # If we aren't on 9-current, and are on 8.x or 9.x, avoid parallel.
+# \todo Consider avoiding setting this on netbsd-9 past the fix.
 .if empty(MACHINE_PLATFORM:MNetBSD-9.99.*) && !empty(MACHINE_PLATFORM:MNetBSD-[1-9].*)
 MAKE_JOBS_SAFE=        no
 .endif



Home | Main Index | Thread Index | Old Index