Eric Joldasov f4a5c79c89 dev-lang/zig: fix building 0.13.0 with sys-devel/llvm-18.1.8-r6
Also, while we are here, sync `.maxrss` fix from 9999 ebuild .
Patch message:

This is backported PR https://www.github.com/ziglang/zig/pull/21862 ,
squashed and trimmed down for Zig 0.13.0 . Fixes following error when
compiling with sys-devel/llvm-18.1.8-r6:
```
/var/tmp/portage/dev-lang/zig-0.13.0/work/zig-0.13.0/src/zig_llvm.cpp:738:68: error: static assertion failed
  738 | static_assert((Triple::EnvironmentType)ZigLLVM_LastEnvironmentType == Triple::LastEnvironmentType, "");
```

Chronology as I understood it:
 * New enum tags were added for `Triple::EnvironmentType` to 20.x in
   https://www.github.com/llvm/llvm-project/pull/111302 ,
 * These additions were backported to 19.1.3 in
   https://www.github.com/llvm/llvm-project/pull/112364 , at this point
   Zig upstream (9999) notices static assert failure and fixes in
   https://www.github.com/ziglang/zig/pull/21862 .
   Discussed here:
   https://www.github.com/llvm/llvm-project/pull/112364#discussion_r1823206017 .
 * These additions were backported again to 18.1.8-r6 (Gentoo only) in
   https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9455b76daa769c03686d18098dbf37690c5c5f61 ,
   this time it causes static assert failure for 0.13.0 .

Closes: https://bugs.gentoo.org/942563
Signed-off-by: Eric Joldasov <bratishkaerik@landless-city.net>
Closes: https://github.com/gentoo/gentoo/pull/39187
Signed-off-by: Sam James <sam@gentoo.org>
2024-11-06 13:35:14 +00:00
2024-11-03 21:59:42 +09:00
2024-11-06 13:39:04 +02:00
2024-11-06 02:20:20 +01:00
2024-11-01 10:59:44 +01:00
2024-10-19 21:49:34 +02:00
2024-10-27 18:18:34 +01:00
2024-11-02 13:05:40 +01:00
2024-11-02 13:33:19 +01:00
2024-11-04 01:19:23 +01:00
2024-11-05 07:50:57 +01:00
2024-11-05 21:11:23 +01:00
2024-11-03 01:47:20 +01:00
2024-11-04 11:13:47 -05:00
2024-11-06 02:20:18 +01:00
2024-11-01 11:45:15 +02:00
2024-11-01 11:45:16 +02:00
2024-11-04 23:49:59 +03:00
2024-11-05 00:05:54 -05:00
2024-11-05 22:52:46 +01:00
2024-11-03 22:10:38 +01:00
2024-11-06 02:20:19 +01:00
2024-11-06 10:46:52 +00:00
2024-11-06 13:39:42 +02:00
2024-10-31 23:33:36 +01:00
2024-10-26 11:40:07 +01:00
2024-11-04 09:56:48 -05:00
2024-11-05 16:00:00 +01:00
2024-11-01 10:03:50 +01:00
2024-11-04 02:29:31 +01:00
2024-10-30 15:59:28 -04:00
2024-10-10 18:52:24 +03:00
…
S
Description
No description provided
9.8 GiB
Languages
Shell 98%
Roff 1.4%
Emacs Lisp 0.2%
C 0.1%