From b18d42fd0b59d3e79a589ebca1258ac4a99c04fd Mon Sep 17 00:00:00 2001 From: Roman Scherer Date: Thu, 19 Feb 2026 10:55:38 +0100 Subject: [PATCH] gnu: go-modernc-org-cc-v4: Skip failing tests on aarch64. * gnu/packages/golang-xyz.scm (go-modernc-org-cc-v4)[arguments]: Add The C parser does not implement GCC built-in vector types (__Float32x4_t, __Float64x2_t, etc.) used in glibc's bits/math-vector.h since glibc 2.38. See . Change-Id: Iaa4fdf085c93d708ce1938b00cd12f1552970660 Signed-off-by: Sharlatan Hellseher --- gnu/packages/golang-xyz.scm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 0cdcda72a5..c522a4a775 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -28926,6 +28926,15 @@ Program Argument Syntax Conventions}.") (list #:import-path "modernc.org/cc/v4" #:unpack-path "modernc.org/cc" + ;; On aarch64, TestParse, TestTranslate, and TestMake fail because + ;; the C parser does not implement GCC built-in vector types + ;; (__Float32x4_t, __Float64x2_t, etc.) used in glibc's + ;; bits/math-vector.h since glibc 2.38. + ;; See . + #:test-flags + (if (target-aarch64?) + #~(list "-skip" "TestParse|TestTranslate|TestMake") + #~'()) #:phases #~(modify-phases %standard-phases (add-after 'unpack 'copy-source-assets