Subject: bug#51591: webkitgtk fails to build on i686-linux; possibly a clang issue

From: Maxime Devos <[email-masked]>
Date: Fri, 05 Nov 2021 20:11:09 +0000

Mark H Weaver schreef op vr 05-11-2021 om 15:42 [-0400]:
> +             ;; XXX Until we switch back to using GCC,
> +             ;; work around <https://bugs.gnu.org/51591>.
> +             ,@(if (string=? "i686-linux" (%current-system))
> +                   '((substitute*
> "Source/WTF/wtf/CheckedArithmetic.h"
> +                       (("#define USE_MUL_OVERFLOW 1")
> +                        "#define USE_MUL_OVERFLOW 0")))
> +                   '())

For cross-compilation, this should use (%current-target-system)
instead. Also, I'd presume the same issue exists for the Hurd.
I'd suggest: (target-x86-32?). That procedure is not
yet in master (only core-updates{-frozen{,-batched-changes}}),
so it would need to be cherry picked.

Greetings,
Maxime.
-- 
not hacking on guix for a while, only occassionally looking at IRC logs
and bug reports.  E-mails are unsigned until backup is located.