pkgsrc-Changes archive

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

CVS commit: pkgsrc/pkgtools/digest/files



Module Name:    pkgsrc
Committed By:   riastradh
Date:           Sun May 19 13:30:39 UTC 2024

Modified Files:
        pkgsrc/pkgtools/digest/files: blake2b.c

Log Message:
pkgtools/digest: Work around gcc compiler bug on VAX.

I think it has been fixed in gcc10, though, so let's limit the
versions to which this applies and extend it later if we find it's
still broken, rather than just carry it on indefinitely without
warning and a performance penalty of -O0 in a critical path on VAX.

PR 53947


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/pkgtools/digest/files/blake2b.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/pkgtools/digest/files/blake2b.c
diff -u pkgsrc/pkgtools/digest/files/blake2b.c:1.2 pkgsrc/pkgtools/digest/files/blake2b.c:1.3
--- pkgsrc/pkgtools/digest/files/blake2b.c:1.2  Wed Nov  7 00:39:07 2018
+++ pkgsrc/pkgtools/digest/files/blake2b.c      Sun May 19 13:30:39 2024
@@ -109,6 +109,9 @@ static const uint8_t blake2b_sigma[12][1
        { 14, 10,  4,  8,  9, 15, 13,  6,  1, 12,  0,  2, 11,  7,  5,  3 },
 };
 
+#if defined __vax__ && defined __GNUC__ && __GNUC__ < 10
+__attribute__((__optimize__("O0")))    /* PR toolchain/53947 */
+#endif
 static void
 blake2b_compress(uint64_t h[8], uint64_t c, uint64_t last,
     const uint8_t in[128])



Home | Main Index | Thread Index | Old Index