···202202 initiatorAuto.succeed("umount /mnt")
203203204204 initiatorAuto.succeed("systemctl restart multipathd")
205205- initiatorAuto.succeed("multipath -ll | systemd-cat")
205205+ initiatorAuto.succeed("systemd-cat multipath -ll")
206206207207 # Install our RootDisk machine to 123456, the alias to the device that multipath is now managing
208208 initiatorAuto.succeed("mount /dev/mapper/123456 /mnt")
···223223 initiatorRootDisk.fail("iscsiadm -m discovery -o update -t sendtargets -p 192.168.1.3 --login")
224224 initiatorRootDisk.fail("iscsiadm -m discovery -o update -t sendtargets -p 192.168.2.3 --login")
225225 initiatorRootDisk.succeed("systemctl restart multipathd")
226226- initiatorRootDisk.succeed("multipath -ll | systemd-cat")
226226+ initiatorRootDisk.succeed("systemd-cat multipath -ll")
227227228228 # Verify we can write and sync the root disk
229229 initiatorRootDisk.succeed("mkdir /scratch")
+1-1
nixos/tests/vaultwarden.nix
···173173 )
174174175175 with subtest("use the web interface to sign up, log in, and save a password"):
176176- server.succeed("PYTHONUNBUFFERED=1 test-runner | systemd-cat -t test-runner")
176176+ server.succeed("PYTHONUNBUFFERED=1 systemd-cat -t test-runner test-runner")
177177178178 with subtest("log in with the cli"):
179179 key = client.succeed(
···11+diff -ur a/libgcc/config/t-darwin b/libgcc/config/t-darwin
22+--- a/libgcc/config/t-darwin 2012-07-14 09:50:59.000000000 -0400
33++++ b/libgcc/config/t-darwin 2023-11-05 21:26:11.696825584 -0500
44+@@ -7,12 +7,6 @@
55+ crttme.o: $(srcdir)/config/darwin-crt-tm.c
66+ $(crt_compile) $(DARWIN_EXTRA_CRT_BUILD_CFLAGS) -DEND -c $<
77+88+-# -pipe because there's an assembler bug, 4077127, which causes
99+-# it to not properly process the first # directive, causing temporary
1010+-# file names to appear in stabs, causing the bootstrap to fail. Using -pipe
1111+-# works around this by not having any temporary file names.
1212+-HOST_LIBGCC2_CFLAGS += -pipe
1313+-
1414+ # Use unwind-dw2-fde-darwin
1515+ LIB2ADDEH = $(srcdir)/unwind-dw2.c $(srcdir)/config/unwind-dw2-fde-darwin.c \
1616+ $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c
···11+Backported from https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=b2cee5e1e89c8f939bc36fe9756befcb93d96982
22+33+diff -ur a/gcc/config/darwin.h b/gcc/config/darwin.h
44+--- a/gcc/config/darwin.h 2021-05-14 04:42:08.000000000 -0400
55++++ b/gcc/config/darwin.h 2023-11-06 08:53:27.629155053 -0500
66+@@ -233,12 +233,18 @@
77+88+ #define DSYMUTIL "\ndsymutil"
99+1010++/* Spec that controls whether the debug linker is run automatically for
1111++ a link step. This needs to be done if there is a source file on the
1212++ command line which will result in a temporary object (and debug is
1313++ enabled). */
1414++
1515+ #define DSYMUTIL_SPEC \
1616+ "%{!fdump=*:%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\
1717+ %{v} \
1818+- %{gdwarf-2:%{!gstabs*:%{%:debug-level-gt(0): -idsym}}}\
1919+- %{.c|.cc|.C|.cpp|.cp|.c++|.cxx|.CPP|.m|.mm: \
2020+- %{gdwarf-2:%{!gstabs*:%{%:debug-level-gt(0): -dsym}}}}}}}}}}}"
2121++ %{g*:%{!gstabs*:%{%:debug-level-gt(0): -idsym}}}\
2222++ %{.c|.cc|.C|.cpp|.cp|.c++|.cxx|.CPP|.m|.mm|.s|.f|.f90|\
2323++ .f95|.f03|.f77|.for|.F|.F90|.F95|.F03: \
2424++ %{g*:%{!gstabs*:%{%:debug-level-gt(0): -dsym}}}}}}}}}}}"
2525+2626+ #define LINK_COMMAND_SPEC LINK_COMMAND_SPEC_A DSYMUTIL_SPEC
2727+2828+@@ -469,18 +475,31 @@
2929+ /* Default ASM_DEBUG_SPEC. Darwin's as cannot currently produce dwarf
3030+ debugging data. */
3131+3232++#ifdef HAS_AS_STABS_DIRECTIVE
3333++/* We only pass a debug option to the assembler if that supports stabs, since
3434++ dwarf is not uniformly supported in the assemblers. */
3535+ #define ASM_DEBUG_SPEC "%{g*:%{%:debug-level-gt(0):%{!gdwarf*:--gstabs}}}"
3636++#else
3737++#define ASM_DEBUG_SPEC ""
3838++#endif
3939++
4040++#undef ASM_DEBUG_OPTION_SPEC
4141++#define ASM_DEBUG_OPTION_SPEC ""
4242++
4343+ #define ASM_FINAL_SPEC \
4444+ "%{gsplit-dwarf:%ngsplit-dwarf is not supported on this platform } %<gsplit-dwarf"
4545+4646+-/* We still allow output of STABS if the assembler supports it. */
4747++/* We now require C++11 to bootstrap and newer tools than those based on
4848++ stabs, so require DWARF-2, even if stabs is supported by the assembler. */
4949++
5050++#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
5151++#define DARWIN_PREFER_DWARF
5252++#define DWARF2_DEBUGGING_INFO 1
5353++
5454+ #ifdef HAVE_AS_STABS_DIRECTIVE
5555+ #define DBX_DEBUGGING_INFO 1
5656+-#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
5757+ #endif
5858+5959+-#define DWARF2_DEBUGGING_INFO 1
6060+-
6161+ #define DEBUG_FRAME_SECTION "__DWARF,__debug_frame,regular,debug"
6262+ #define DEBUG_INFO_SECTION "__DWARF,__debug_info,regular,debug"
6363+ #define DEBUG_ABBREV_SECTION "__DWARF,__debug_abbrev,regular,debug"
6464+diff -ur a/gcc/config/darwin9.h b/gcc/config/darwin9.h
6565+--- a/gcc/config/darwin9.h 2021-05-14 04:42:08.000000000 -0400
6666++++ b/gcc/config/darwin9.h 2023-11-06 08:54:02.663945206 -0500
6767+@@ -18,29 +18,6 @@
6868+ along with GCC; see the file COPYING3. If not see
6969+ <http://www.gnu.org/licenses/>. */
7070+7171+-/* Prefer DWARF2. */
7272+-#undef PREFERRED_DEBUGGING_TYPE
7373+-#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
7474+-#define DARWIN_PREFER_DWARF
7575+-
7676+-/* Since DWARF2 is default, conditions for running dsymutil are different. */
7777+-#undef DSYMUTIL_SPEC
7878+-#define DSYMUTIL_SPEC \
7979+- "%{!fdump=*:%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\
8080+- %{v} \
8181+- %{g*:%{!gstabs*:%{%:debug-level-gt(0): -idsym}}}\
8282+- %{.c|.cc|.C|.cpp|.cp|.c++|.cxx|.CPP|.m|.mm|.s|.f|.f90|.f95|.f03|.f77|.for|.F|.F90|.F95|.F03: \
8383+- %{g*:%{!gstabs*:%{%:debug-level-gt(0): -dsym}}}}}}}}}}}"
8484+-
8585+-/* Tell collect2 to run dsymutil for us as necessary. */
8686+-#define COLLECT_RUN_DSYMUTIL 1
8787+-
8888+-/* Only ask as for debug data if the debug style is stabs (since as doesn't
8989+- yet generate dwarf.) */
9090+-
9191+-#undef ASM_DEBUG_SPEC
9292+-#define ASM_DEBUG_SPEC "%{g*:%{%:debug-level-gt(0):%{gstabs:--gstabs}}}"
9393+-
9494+ #undef ASM_OUTPUT_ALIGNED_COMMON
9595+ #define ASM_OUTPUT_ALIGNED_COMMON(FILE, NAME, SIZE, ALIGN) \
9696+ do { \
···11+Backported from https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=b2cee5e1e89c8f939bc36fe9756befcb93d96982
22+33+diff -ur a/gcc/config/darwin.h b/gcc/config/darwin.h
44+--- a/gcc/config/darwin.h 2022-05-27 03:21:10.947379000 -0400
55++++ b/gcc/config/darwin.h 2023-11-06 12:18:27.209236423 -0500
66+@@ -230,12 +230,18 @@
77+88+ #define DSYMUTIL "\ndsymutil"
99+1010++/* Spec that controls whether the debug linker is run automatically for
1111++ a link step. This needs to be done if there is a source file on the
1212++ command line which will result in a temporary object (and debug is
1313++ enabled). */
1414++
1515+ #define DSYMUTIL_SPEC \
1616+ "%{!fdump=*:%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\
1717+ %{v} \
1818+- %{gdwarf-2:%{!gstabs*:%{%:debug-level-gt(0): -idsym}}}\
1919+- %{.c|.cc|.C|.cpp|.cp|.c++|.cxx|.CPP|.m|.mm: \
2020+- %{gdwarf-2:%{!gstabs*:%{%:debug-level-gt(0): -dsym}}}}}}}}}}}"
2121++ %{g*:%{!gstabs*:%{%:debug-level-gt(0): -idsym}}}\
2222++ %{.c|.cc|.C|.cpp|.cp|.c++|.cxx|.CPP|.m|.mm|.s|.f|.f90|\
2323++ .f95|.f03|.f77|.for|.F|.F90|.F95|.F03: \
2424++ %{g*:%{!gstabs*:%{%:debug-level-gt(0): -dsym}}}}}}}}}}}"
2525+2626+ #define LINK_COMMAND_SPEC LINK_COMMAND_SPEC_A DSYMUTIL_SPEC
2727+2828+@@ -463,21 +469,31 @@
2929+ %{Zforce_cpusubtype_ALL:-force_cpusubtype_ALL} \
3030+ %{static}" ASM_MMACOSX_VERSION_MIN_SPEC
3131+3232+-/* Default ASM_DEBUG_SPEC. Darwin's as cannot currently produce dwarf
3333+- debugging data. */
3434+-
3535++#ifdef HAS_AS_STABS_DIRECTIVE
3636++/* We only pass a debug option to the assembler if that supports stabs, since
3737++ dwarf is not uniformly supported in the assemblers. */
3838+ #define ASM_DEBUG_SPEC "%{g*:%{%:debug-level-gt(0):%{!gdwarf*:--gstabs}}}"
3939++#else
4040++#define ASM_DEBUG_SPEC ""
4141++#endif
4242++
4343++#undef ASM_DEBUG_OPTION_SPEC
4444++#define ASM_DEBUG_OPTION_SPEC ""
4545++
4646+ #define ASM_FINAL_SPEC \
4747+ "%{gsplit-dwarf:%ngsplit-dwarf is not supported on this platform} %<gsplit-dwarf"
4848+4949+-/* We still allow output of STABS if the assembler supports it. */
5050++/* We now require C++11 to bootstrap and newer tools than those based on
5151++ stabs, so require DWARF-2, even if stabs is supported by the assembler. */
5252++
5353++#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
5454++#define DARWIN_PREFER_DWARF
5555++#define DWARF2_DEBUGGING_INFO 1
5656++
5757+ #ifdef HAVE_AS_STABS_DIRECTIVE
5858+ #define DBX_DEBUGGING_INFO 1
5959+-#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
6060+ #endif
6161+6262+-#define DWARF2_DEBUGGING_INFO 1
6363+-
6464+ #define DEBUG_FRAME_SECTION "__DWARF,__debug_frame,regular,debug"
6565+ #define DEBUG_INFO_SECTION "__DWARF,__debug_info,regular,debug"
6666+ #define DEBUG_ABBREV_SECTION "__DWARF,__debug_abbrev,regular,debug"
6767+diff -ur a/gcc/config/darwin9.h b/gcc/config/darwin9.h
6868+--- a/gcc/config/darwin9.h 2022-05-27 03:21:10.947379000 -0400
6969++++ b/gcc/config/darwin9.h 2023-11-06 12:18:48.325260590 -0500
7070+@@ -18,29 +18,6 @@
7171+ along with GCC; see the file COPYING3. If not see
7272+ <http://www.gnu.org/licenses/>. */
7373+7474+-/* Prefer DWARF2. */
7575+-#undef PREFERRED_DEBUGGING_TYPE
7676+-#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
7777+-#define DARWIN_PREFER_DWARF
7878+-
7979+-/* Since DWARF2 is default, conditions for running dsymutil are different. */
8080+-#undef DSYMUTIL_SPEC
8181+-#define DSYMUTIL_SPEC \
8282+- "%{!fdump=*:%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\
8383+- %{v} \
8484+- %{g*:%{!gstabs*:%{%:debug-level-gt(0): -idsym}}}\
8585+- %{.c|.cc|.C|.cpp|.cp|.c++|.cxx|.CPP|.m|.mm|.s|.f|.f90|.f95|.f03|.f77|.for|.F|.F90|.F95|.F03: \
8686+- %{g*:%{!gstabs*:%{%:debug-level-gt(0): -dsym}}}}}}}}}}}"
8787+-
8888+-/* Tell collect2 to run dsymutil for us as necessary. */
8989+-#define COLLECT_RUN_DSYMUTIL 1
9090+-
9191+-/* Only ask as for debug data if the debug style is stabs (since as doesn't
9292+- yet generate dwarf.) */
9393+-
9494+-#undef ASM_DEBUG_SPEC
9595+-#define ASM_DEBUG_SPEC "%{g*:%{%:debug-level-gt(0):%{gstabs:--gstabs}}}"
9696+-
9797+ #undef ASM_OUTPUT_ALIGNED_COMMON
9898+ #define ASM_OUTPUT_ALIGNED_COMMON(FILE, NAME, SIZE, ALIGN) \
9999+ do { \
···178178# https://github.com/osx-cross/homebrew-avr/issues/280#issuecomment-1272381808
179179++ optional (is11 && stdenv.isDarwin && targetPlatform.isAvr) ./avr-gcc-11.3-darwin.patch
180180181181+# libgcc’s `configure` script misdetects aarch64-darwin, resulting in an invalid deployment target.
182182+++ optional (is11 && stdenv.isDarwin && stdenv.isAarch64) ./11/libgcc-aarch64-darwin-detection.patch
183183+181184# openjdk build fails without this on -march=opteron; is upstream in gcc12
182185++ optionals (is11) [ ./11/gcc-issue-103910.patch ]
183186···191194 sha256 = "sha256-XtykrPd5h/tsnjY1wGjzSOJ+AyyNLsfnjuOZ5Ryq9vA=";
192195})
193196197197+# Fix undefined symbol errors when building older versions with clang
198198+++ optional (!atLeast11 && stdenv.cc.isClang && stdenv.hostPlatform.isDarwin) ./clang-genconditions.patch
199199+194200195201## gcc 9.0 and older ##############################################################################
196202197203++ optional (majorVersion == "9") ./9/fix-struct-redefinition-on-glibc-2.36.patch
198204++ optional (atLeast7 && !atLeast10 && targetPlatform.isNetBSD) ./libstdc++-netbsd-ctypes.patch
205205+206206+# Make Darwin bootstrap respect whether the assembler supports `--gstabs`,
207207+# which is not supported by the clang integrated assembler used by default on Darwin.
208208+++ optional (is9 && hostPlatform.isDarwin) ./9/gcc9-darwin-as-gstabs.patch
199209200210201211## gcc 8.0 and older ##############################################################################
···204214++ optional (atLeast49 && !is49 && !atLeast9) ./libsanitizer-no-cyclades-9.patch
205215++ optional (is7 || is8) ./9/fix-struct-redefinition-on-glibc-2.36.patch
206216217217+# Make Darwin bootstrap respect whether the assembler supports `--gstabs`,
218218+# which is not supported by the clang integrated assembler used by default on Darwin.
219219+++ optional (is8 && hostPlatform.isDarwin) ./8/gcc8-darwin-as-gstabs.patch
220220+207221208222## gcc 7.0 and older ##############################################################################
209223···239253 ./gnat-cflags.patch
240254 ./6/gnat-glibc234.patch
241255]
256256+257257+# The clang-based assembler used in darwin.cctools-llvm (LLVM >11) does not support piping input.
258258+# Fortunately, it does not exhibit the problem GCC has with the cctools assembler.
259259+# This patch can be dropped should darwin.cctools-llvm ever implement support.
260260+++ optional (!atLeast7 && hostPlatform.isDarwin && lib.versionAtLeast (lib.getVersion stdenv.cc) "12") ./4.9/darwin-clang-as.patch
261261+242262243263## gcc 4.9 and older ##############################################################################
244264
···6969 doCheck = false; # Upstream has no tests
70707171 meta = with lib; {
7272- # Both protobuf3 and protobuf4 in the build closure.
7373- # related: https://github.com/onnx/onnx/issues/5563
7474- broken = true;
7572 description = "State-of-the-art 2D and 3D Face Analysis Project";
7673 homepage = "https://github.com/deepinsight/insightface";
7774 license = licenses.mit;