diff options
| author | Alexey Abramov <levenson@mmer.org> | 2025-09-13 12:18:01 +0200 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2025-09-15 14:19:54 +0300 |
| commit | de41613d273106b88eeed4af72c23a57cfd18442 (patch) | |
| tree | 306d9c81a992dbef088874f1ee60605b81f059e6 /gnu | |
| parent | 39367541535bfa28d958c0f96692b282428f2c29 (diff) | |
gnu: freetype: Work around GCC-14 SLP vectorization bug on armhf-linux.
* gnu/packages/fontutils.scm (freetype)[arguments]<#:configure-flags>
[target-arm32?]: Add CFLAGS to disable SLP vectorization.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/fontutils.scm | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm index f5bf111a64b..69485fa9c52 100644 --- a/gnu/packages/fontutils.scm +++ b/gnu/packages/fontutils.scm @@ -24,6 +24,7 @@ ;;; Copyright © 2023 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2024 Sou Bunnbu (宋文武) <iyzsong@gmail.com> ;;; Copyright © 2025 Ashish SHUKLA <ashish.is@lostca.se> +;;; Copyright © 2025 Alexey Abramov <levenson@mmer.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -113,7 +114,14 @@ ;; The use of "freetype-config" is deprecated, but other packages still ;; depend on it. (list - #:configure-flags #~(list "--enable-freetype-config") + #:configure-flags #~(list "--enable-freetype-config" + ;; armhf-linux: Disable SLP vectorization. + ;; gcc-14 optimization bug that breaks + ;; ghostscript PostScript font handling (fixed + ;; in gcc-15). See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119155 + #$@(if (target-arm32?) + (list "CFLAGS=-g -O2 -fno-tree-slp-vectorize") + '())) #:disallowed-references (list pkg-config) #:phases #~(modify-phases %standard-phases |
