pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Reword the reasoning behind a switch
Module Name: pkgsrc-wip
Committed By: ci4ic4 <ci4ic4%gmail.com@localhost>
Pushed By: ci4ic4
Date: Mon Oct 26 15:42:19 2026 +0000
Changeset: f41dc3df84937c6680ceb2986bc53cc7c8799b2a
Modified Files:
zig-git/COMMIT_MSG
zig-git/Makefile
Log Message:
Reword the reasoning behind a switch
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f41dc3df84937c6680ceb2986bc53cc7c8799b2a
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
zig-git/COMMIT_MSG | 8 ++++----
zig-git/Makefile | 5 +++--
2 files changed, 7 insertions(+), 6 deletions(-)
diffs:
diff --git a/zig-git/COMMIT_MSG b/zig-git/COMMIT_MSG
index cbc3872cba..cf01f7e1c9 100644
--- a/zig-git/COMMIT_MSG
+++ b/zig-git/COMMIT_MSG
@@ -9,10 +9,10 @@ Changes since zig-git-0.11.0:
* Follow lang/zig: devel/cmake/build.mk, ZIG_SHARED_LLVM, no RELRO/PIE,
per-WRKDIR zig caches, skip stage3 at build time, langref.html into
share/doc/zig. Patches and application.mk taken from lang/zig.
-* Build zig2.c with -fno-tree-sra under GCC (GCC bug 119085): upstream
- applies it only up to GCC 14.3, but NetBSD's gcc 14.4.0 still
- miscompiles zig2, which then fails building compiler_rt.
+* Build zig2.c with -fno-tree-sra under GCC: NetBSD gcc 14.4.0 miscompiles
+ zig2, which then fails building compiler_rt. 14.4.0 already has the
+ PR119085 fix, so upstream does not add the flag for this version.
* Drop obsolete patches (PIE toggle and NetBSD PT_LOAD fix are upstream),
the debug option and buildlink3.mk.
* Remove do-test: `zig build` no longer takes --global-cache-dir, and
- test-behavior exceeds FFS per-directory subdirectory limits.
+ test-behavior's cache may exceed FFS per-directory subdirectory limits.
diff --git a/zig-git/Makefile b/zig-git/Makefile
index 963998f071..e02c7d1b3c 100644
--- a/zig-git/Makefile
+++ b/zig-git/Makefile
@@ -41,8 +41,9 @@ BUILDLINK_TRANSFORM+= rm:-Werror
UNLIMIT_RESOURCES= stacksize
.include "../../mk/compiler.mk"
-# GCC bug 119085 (SRA) miscompiles zig2.c; upstream adds -fno-tree-sra only
-# up to GCC 14.3, but NetBSD gcc 14.4.0 still needs it.
+# gcc 14.4.0 miscompiles zig2.c (spurious comptime float errors while
+# building compiler_rt) unless -fno-tree-sra is used. It already has the
+# PR119085 fix, so upstream does not add the flag for it.
.if ${CC_VERSION:Mgcc-*}
CFLAGS+= -fno-tree-sra
.endif
Home |
Main Index |
Thread Index |
Old Index