gnu: libatomic-ops: Update to 7.8.2.
* gnu/packages/bdw-gc.scm (libatomic-ops): Update to 7.8.2.
Change-Id: Ieeaaab473defd5f128b2c2b9875af5af882a0485
gnu: ed: Update to 1.21.
* gnu/packages/text-editors.scm (ed): Update to 1.21.
Change-Id: If4adc3d92cf14b5bf5acbb43c1c9d65e15824139
Signed-off-by: Zheng Junjie <z572@z572.online>
gnu: libffcall: Update to 2.5.
* gnu/packages/libffcall.scm (libffcall): Update to 2.5.
Change-Id: I3624bea2d6ebcbb2e621104c6e5b977d55fc6676
gnu: libseccomp: Update to 2.6.0.
* gnu/packages/linux.scm (libseccomp): Update to 2.6.0.
[source]: Switch to git-fetch.
[arguments]: Use G-expressions.
[native-inputs]: Add autoconf, automake, and libtool.
Change-Id: I19302252578c6791937ec073d24607e19277f49a
gnu: glibc: Update to 2.40.
* gnu/packages/base.scm (glibc): Update to 2.40.
[replacement]: Remove.
(%glibc-patches): Update.
(glibc/fixed): Remove.
(glibc-for-fhs): Update patch name.
* gnu/packages/patches/glibc-hurd64-intr-msg-clobber.patch: Update for 2.40.
* gnu/packages/patches/glibc-hurd64-sgms-context.patch: Remove.
* gnu/local.mk (dist_patch_DATA): Unregister.
* gnu/packages/base.scm (glibc/hurd-headers): Remove it.
* gnu/packages/patches/glibc-2.40-dl-cache.patch,
gnu/packages/patches/glibc-2.40-CVE-2025-0.patch: New files.
* gnu/local.mk (dist_patch_DATA): Register them.
Change-Id: I7f041a6ff9ea11e4b05a75ca704007deb405653b
doc: Update arguments for gexp procedures.
Some keyword arguments were missing, some had wrong default values. This
commit updates the documentation to match the code.
* doc/guix.texi (G-Expressions)[computed-file]: Use @var. Document #:guile.
[gexp->script]: Fix default value for #:target.
[gexp->file]: Document #:system and #:target.
Change-Id: Ie92a57fe1c3b45d1c7a5e8865fcf291c5f590c11
Signed-off-by: Janneke Nieuwenhuizen <janneke@gnu.org>
gexp: Attempt to set LC_CTYPE in compiled-modules.
This allows compiling modules with unicode in their names.
* guix/gexp.scm (compiled-modules): Attempt to set LC_CTYPE to C.UTF-8.
Change-Id: Ie92a57fe1c3b45d1c7a5e8865fcf291c5f590c11
Signed-off-by: Janneke Nieuwenhuizen <janneke@gnu.org>
gexp: Improve support of Unicode characters.
Support for non-ASCII characters was mixed. Some gexp forms did support them,
while others did not. Combined with current value for
%default-port-conversion-strategy, that sometimes led to unpleasant surprises.
Fixes #73660, see <https://issues.guix.gnu.org/73660>.
* guix/gexp.scm (gexp->derivation): Default LC_CTYPE to C.UTF-8.
(gexp->script, text-file*): Set port encoding to UTF-8.
Change-Id: Ie92a57fe1c3b45d1c7a5e8865fcf291c5f590c11
Signed-off-by: Janneke Nieuwenhuizen <janneke@gnu.org>
gnu: gcc-4.7: Fix slash in startfile prefix.
These prefixes must have a trailing slash. When this slash is
omitted, gcc fails to find ?crt*.o files when LIBRARY_PATH is not set.
Fixes #75483, see <https://issues.guix.gnu.org/75483>.
* gnu/packages/gcc.scm (gcc-4.7): Fix replaced startfile prefix.
[arguments]: <#:phases>: Fix it.
Change-Id: I1988e0bf98b0002e83e0c0233310d05b72644ac9
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: gettext: Update to 0.23.1.
* gnu/packages/gettext.scm (gettext-minimal): Update to 0.23.1.
Change-Id: If40e64e0498e953373eda53ed0bf96a5ed273870
gnu: clang-runtime-19: Build with gcc-14.
* gnu/packages/llvm.scm (clang-runtime-from-llvm)[native-inputs]: Leave
unaltered for version >= 19.
Change-Id: I85e7aa39918b545eca43478cffa626e533183238
gnu: clang-runtime-17: Build with gcc-13.
Avoid
/tmp/guix-build-clang-runtime-17.0.6.drv-0/source/build/lib/fuzzer/libcxx_fuzzer_x86_64/include/c++/v1/__filesystem/path.h:623:30: error: use of built-in trait '__remove_pointer(typename std::__Fuzzer::decay<_Tp>::type)' in function signature; use library traits instead
623 | _EnableIfPathable<_Source> append(const _Source& __src) {
| ^~~~~~
by using gcc-13.
* gnu/packages/llvm.scm (clang-runtime-from-llvm)[native-inputs]: Use gcc-13
for version 17.
Change-Id: I0f815e178ea2f936e680075b1153285cf920b26e
gnu: clang-runtime-18: Build with gcc-13.
Avoid
In file included from /tmp/guix-build-clang-runtime-18.1.8.drv-0/source/build/lib/fuzzer/libcxx_fuzzer_x86_64/include/c++/v1/__exception/nested_exception.h:18,
from /tmp/guix-build-clang-runtime-18.1.8.drv-0/source/build/lib/fuzzer/libcxx_fuzzer_x86_64/include/c++/v1/exception:83,
from /tmp/guix-build-clang-runtime-18.1.8.drv-0/source/libcxxabi/src/cxa_aux_runtime.cpp:13:
/tmp/guix-build-clang-runtime-18.1.8.drv-0/source/build/lib/fuzzer/libcxx_fuzzer_x86_64/include/c++/v1/__type_traits/is_convertible.h:28:77: error: there are no arguments to ‘__is_convertible’ that depend on a template parameter, so a declaration of ‘__is_convertible’ must be available [-fpermissive]
28 | struct _LIBCPP_TEMPLATE_VIS is_convertible : public integral_constant<bool, __is_convertible(_T1, _T2)> {};
by using gcc-13.
* gnu/packages/llvm.scm (clang-runtime-from-llvm)[native-inputs]: Use gcc-13
for version 18.
Change-Id: Ib01403665af7a8014e6da612bc6f31257e498d88
gnu: clang-runtime-18: Build with gcc-12.
Avoid
source/build/lib/fuzzer/libcxx_fuzzer_x86_64/include/c++/v1/__filesystem/path.h:534:52: error: use of built-in trait ‘__remove_pointer(typename std::__Fuzzer::decay<_Tp>::type)’ in function signature; use library traits instead
by reverting back to gcc-12.
* gnu/packages/llvm.scm (clang-runtime-from-llvm)[native-inputs]: Use gcc-12
for version 18.
Change-Id: Ib01403665af7a8014e6da612bc6f31257e498d88
gnu: clang-runtime: Remove gcc-12,13,14 from native-inputs.
* gnu/packages/llvm.scm (clang-runtime-from-llvm)[native-inputs]: Use
llvm's native inputs unmodified.
Change-Id: Ib01403665af7a8014e6da612bc6f31257e498d88
gnu: gcc: Update gcc, gcc-toolchain, libgccjit to 14.
* gnu/packages/gcc.scm (gcc): Define as gcc-14 for all.
(libgccjit): Define as libgccjit-14.
* gnu/packages/commencement.scm (gcc-toolchain): Define as gcc-toolchain-14
for all.
* gnu/packages/gcc.scm
Change-Id: Iaac983da8acbbb2fd1088a0469d6115b7d424dbb
gnu: netcdf: Fix build with gcc-14.
* gnu/packages/maths.scm (netcdf): Add CFLAGS to #:configure-flags to relax
gcc-14's strictness.
Change-Id: Ic5059519414aeb644dd0bde084f569b954c17904
gnu: python-h5py: Fix build with gcc-14.
* gnu/packages/python-xyz.scm (python-h5py)[arguments]: Add phase
"relax-gcc-14-strictness".
Change-Id: Ib68eb41305d075069926323727fe35ca65fd2873
gnu: openmpi-4: Fix build with gcc-14.
* gnu/packages/mpi.scm (openmpi-4)[arguments]: Add CFLAGS to #:configure-flags
to relax gcc-14's strictness.
Change-Id: I4a19a473a729ce054d855ec2c4d6ea94dc94b849
gnu: freeipmi: Fix build with gcc-14.
* gnu/packages/freeipmi.scm (freeipmi)[arguments]: Add CFLAGS to #:configure-flags
to relax gcc-14's strictness.
Change-Id: Ie22de7f0a344bbc709878be3175fdd07cfde92bc