Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test failures on riscv64 #24544

Open
andreas-schwab opened this issue Dec 16, 2024 · 1 comment
Open

Test failures on riscv64 #24544

andreas-schwab opened this issue Dec 16, 2024 · 1 comment

Comments

@andreas-schwab
Copy link

�[31mFAIL: �[36mtests/compiler/tasm.nim c �[34m (21.47 sec)�[0m
�[1m�[36mTest "tests/compiler/tasm.nim" in category "compiler"�[0m
�[1m�[31mFailure: reNimcCrash�[0m
$ /home/abuild/rpmbuild/BUILD/nim-2.0.12/bin/nim c --hints:on -d:testing --nimblePath:build/deps/pkgs2 --nimCache:nimcache/tests/compiler/tasm.nim_4a8a08f09d37b73795649038408b5f33 tests/compiler/tasm.nim
Hint: used config file '/home/abuild/rpmbuild/BUILD/nim-2.0.12/config/nim.cfg' [Conf]
Hint: used config file '/home/abuild/rpmbuild/BUILD/nim-2.0.12/config/config.nims' [Conf]
Hint: used config file '/home/abuild/rpmbuild/BUILD/nim-2.0.12/tests/config.nims' [Conf]
Hint: used config file '/home/abuild/rpmbuild/BUILD/nim-2.0.12/tests/compiler/nim.cfg' [Conf]
CC: ../../lib/system/exceptions.nim
CC: ../../lib/std/private/since.nim
CC: ../../lib/system/ctypes.nim
CC: ../../lib/std/sysatomics.nim
CC: ../../lib/system/ansi_c.nim
CC: ../../lib/system/memory.nim
CC: ../../lib/std/private/syslocks.nim
CC: ../../lib/std/private/threadtypes.nim
CC: ../../lib/std/private/digitsutils.nim
CC: ../../lib/std/private/miscdollars.nim
CC: ../../lib/std/assertions.nim
CC: ../../lib/system/iterators.nim
CC: ../../lib/system/coro_detection.nim
CC: ../../lib/std/private/dragonbox.nim
CC: ../../lib/std/private/schubfach.nim
CC: ../../lib/std/formatfloat.nim
CC: ../../lib/std/objectdollar.nim
CC: ../../lib/system/dollars.nim
CC: ../../lib/std/typedthreads.nim
CC: ../../lib/system/stacktraces.nim
CC: ../../lib/std/private/bitops_utils.nim
CC: ../../lib/system/countbits_impl.nim
CC: ../../lib/system/repr_v2.nim
CC: ../../lib/std/widestrs.nim
CC: ../../lib/std/syncio.nim
CC: ../../lib/system.nim
CC: tasm.nim
/home/abuild/rpmbuild/BUILD/nim-2.0.12/nimcache/tests/compiler/tasm.nim_4a8a08f09d37b73795649038408b5f33/@mtasm.nim.c: Assembler messages:
/home/abuild/rpmbuild/BUILD/nim-2.0.12/nimcache/tests/compiler/tasm.nim_4a8a08f09d37b73795649038408b5f33/@mtasm.nim.c:95: Error: unrecognized opcode mov a5,a5' /home/abuild/rpmbuild/BUILD/nim-2.0.12/nimcache/tests/compiler/tasm.nim_4a8a08f09d37b73795649038408b5f33/@mtasm.nim.c:97: Error: illegal operands add $1,a5'
Error: execution of an external compiler program 'gcc -c -w -fmax-errors=3 -pthread -std=c99 -I/home/abuild/rpmbuild/BUILD/nim-2.0.12/lib -I/home/abuild/rpmbuild/BUILD/nim-2.0.12/tests/compiler -o /home/abuild/rpmbuild/BUILD/nim-2.0.12/nimcache/tests/compiler/tasm.nim_4a8a08f09d37b73795649038408b5f33/@mtasm.nim.c.o /home/abuild/rpmbuild/BUILD/nim-2.0.12/nimcache/tests/compiler/tasm.nim_4a8a08f09d37b73795649038408b5f33/@mtasm.nim.c' failed with exit code: 1

�[31mFAIL: �[36mtests/dll/nimhcr_basic.nim c -d:nimDebugDlOpen --mm:refc --threads:off --forceBuild --hotCodeReloading:on�[34m (20.15 sec)�[0m
�[1m�[36mTest "tests/dll/nimhcr_basic.nim" in category "dll"�[0m
�[1m�[31mFailure: reExitcodesDiffer�[0m
�[33mExpected:�[0m
�[1mexitcode: 0
�[0m
�[33mGotten:�[0m
�[1mexitcode: 1

Output:
Traceback (most recent call last)
/home/abuild/rpmbuild/BUILD/nim-2.0.12/lib/nimhcr.nim(535) hcrInit
/home/abuild/rpmbuild/BUILD/nim-2.0.12/lib/nimhcr.nim(507) initModules
/home/abuild/rpmbuild/BUILD/nim-2.0.12/lib/nimhcr.nim(472) initGlobalScope
SIGILL: Illegal operation.

�[0m
diff --git a/tmp/diffStrings_a_G4Glw0SY b/tmp/diffStrings_b_VibOnYfH
index 031aaaa..dfd3b80 100644
--- a/tmp/diffStrings_a_G4Glw0SY
+++ b/tmp/diffStrings_b_VibOnYfH
@@ -1 +1,8 @@
-exitcode: 0
\ No newline at end of file
+exitcode: 1
+
+Output:
+Traceback (most recent call last)
+/home/abuild/rpmbuild/BUILD/nim-2.0.12/lib/nimhcr.nim(535) hcrInit
+/home/abuild/rpmbuild/BUILD/nim-2.0.12/lib/nimhcr.nim(507) initModules
+/home/abuild/rpmbuild/BUILD/nim-2.0.12/lib/nimhcr.nim(472) initGlobalScope
+SIGILL: Illegal operation.

�[31mFAIL: �[36mtests/dll/nimhcr_basic.nim c -d:nimDebugDlOpen --mm:refc --threads:off --forceBuild --hotCodeReloading:on�[34m (20.25 sec)�[0m
�[1m�[36mTest "tests/dll/nimhcr_basic.nim" in category "dll"�[0m
�[1m�[31mFailure: reExitcodesDiffer�[0m
�[33mExpected:�[0m
�[1m
�[0m
�[33mGotten:�[0m
�[1m$ /home/abuild/rpmbuild/BUILD/nim-2.0.12/bin/nim c --hints:on -d:testing --nimblePath:build/deps/pkgs2 -d:nimDebugDlOpen --mm:refc --threads:off --forceBuild --hotCodeReloading:on --nimCache:nimcache/tests/dll/nimhcr_basic.nim_b1d30cec8c7f8cb45c2f68201a9a3571 tests/dll/nimhcr_basic.nim
Hint: used config file '/home/abuild/rpmbuild/BUILD/nim-2.0.12/config/nim.cfg' [Conf]
Hint: used config file '/home/abuild/rpmbuild/BUILD/nim-2.0.12/config/config.nims' [Conf]
Hint: used config file '/home/abuild/rpmbuild/BUILD/nim-2.0.12/tests/config.nims' [Conf]
CC: ../../lib/system/exceptions.nim
CC: ../../lib/std/private/since.nim
CC: ../../lib/system/ctypes.nim
CC: ../../lib/std/sysatomics.nim
CC: ../../lib/system/ansi_c.nim
CC: ../../lib/system/memory.nim
CC: ../../lib/std/private/digitsutils.nim
CC: ../../lib/std/private/miscdollars.nim
CC: ../../lib/std/assertions.nim
CC: ../../lib/system/iterators.nim
CC: ../../lib/system/coro_detection.nim
CC: ../../lib/std/private/dragonbox.nim
CC: ../../lib/std/private/schubfach.nim
CC: ../../lib/std/formatfloat.nim
CC: ../../lib/std/objectdollar.nim
CC: ../../lib/system/dollars.nim
CC: ../../lib/system/stacktraces.nim
CC: ../../lib/std/private/bitops_utils.nim
CC: ../../lib/system/countbits_impl.nim
CC: ../../lib/std/private/syslocks.nim
CC: ../../lib/std/widestrs.nim
CC: ../../lib/std/syncio.nim
CC: ../../lib/system.nim
CC: nimhcr_basic.nim
Link: ../../lib/system/exceptions.nim
Link: ../../lib/std/private/since.nim
Link: ../../lib/system/ctypes.nim
Link: ../../lib/std/sysatomics.nim
Link: ../../lib/system/ansi_c.nim
Link: ../../lib/system/memory.nim
Link: ../../lib/std/private/digitsutils.nim
Link: ../../lib/std/private/miscdollars.nim
Link: ../../lib/std/assertions.nim
Link: ../../lib/system/iterators.nim
Link: ../../lib/system/coro_detection.nim
Link: ../../lib/std/private/dragonbox.nim
Link: ../../lib/std/private/schubfach.nim
Link: ../../lib/std/formatfloat.nim
Link: ../../lib/std/objectdollar.nim
Link: ../../lib/system/dollars.nim
Link: ../../lib/system/stacktraces.nim
Link: ../../lib/std/private/bitops_utils.nim
Link: ../../lib/system/countbits_impl.nim
Link: ../../lib/std/private/syslocks.nim
Link: ../../lib/std/widestrs.nim
Link: ../../lib/std/syncio.nim
Link: ../../lib/system.nim
Link: nimhcr_basic.nim
Hint: mm: refc; opt: none (DEBUG BUILD, -d:release generates faster code)
37392 lines; 17.460s; 39.023MiB peakmem; proj: nimhcr_basic; out: nimhcr_basic [SuccessX]

�[0m
diff --git a/tmp/diffStrings_a_GzecIIas b/tmp/diffStrings_b_0bmUTUFT
index e69de29..04e1493 100644
--- a/tmp/diffStrings_a_GzecIIas
+++ b/tmp/diffStrings_b_0bmUTUFT
@@ -0,0 +1,54 @@
+$ /home/abuild/rpmbuild/BUILD/nim-2.0.12/bin/nim c --hints:on -d:testing --nimblePath:build/deps/pkgs2 -d:nimDebugDlOpen --mm:refc --threads:off --forceBuild --hotCodeReloading:on --nimCache:nimcache/tests/dll/nimhcr_basic.nim_b1d30cec8c7f8cb45c2f68201a9a3571 tests/dll/nimhcr_basic.nim
+Hint: used config file '/home/abuild/rpmbuild/BUILD/nim-2.0.12/config/nim.cfg' [Conf]
+Hint: used config file '/home/abuild/rpmbuild/BUILD/nim-2.0.12/config/config.nims' [Conf]
+Hint: used config file '/home/abuild/rpmbuild/BUILD/nim-2.0.12/tests/config.nims' [Conf]
+CC: ../../lib/system/exceptions.nim
+CC: ../../lib/std/private/since.nim
+CC: ../../lib/system/ctypes.nim
+CC: ../../lib/std/sysatomics.nim
+CC: ../../lib/system/ansi_c.nim
+CC: ../../lib/system/memory.nim
+CC: ../../lib/std/private/digitsutils.nim
+CC: ../../lib/std/private/miscdollars.nim
+CC: ../../lib/std/assertions.nim
+CC: ../../lib/system/iterators.nim
+CC: ../../lib/system/coro_detection.nim
+CC: ../../lib/std/private/dragonbox.nim
+CC: ../../lib/std/private/schubfach.nim
+CC: ../../lib/std/formatfloat.nim
+CC: ../../lib/std/objectdollar.nim
+CC: ../../lib/system/dollars.nim
+CC: ../../lib/system/stacktraces.nim
+CC: ../../lib/std/private/bitops_utils.nim
+CC: ../../lib/system/countbits_impl.nim
+CC: ../../lib/std/private/syslocks.nim
+CC: ../../lib/std/widestrs.nim
+CC: ../../lib/std/syncio.nim
+CC: ../../lib/system.nim
+CC: nimhcr_basic.nim
+Link: ../../lib/system/exceptions.nim
+Link: ../../lib/std/private/since.nim
+Link: ../../lib/system/ctypes.nim
+Link: ../../lib/std/sysatomics.nim
+Link: ../../lib/system/ansi_c.nim
+Link: ../../lib/system/memory.nim
+Link: ../../lib/std/private/digitsutils.nim
+Link: ../../lib/std/private/miscdollars.nim
+Link: ../../lib/std/assertions.nim
+Link: ../../lib/system/iterators.nim
+Link: ../../lib/system/coro_detection.nim
+Link: ../../lib/std/private/dragonbox.nim
+Link: ../../lib/std/private/schubfach.nim
+Link: ../../lib/std/formatfloat.nim
+Link: ../../lib/std/objectdollar.nim
+Link: ../../lib/system/dollars.nim
+Link: ../../lib/system/stacktraces.nim
+Link: ../../lib/std/private/bitops_utils.nim
+Link: ../../lib/system/countbits_impl.nim
+Link: ../../lib/std/private/syslocks.nim
+Link: ../../lib/std/widestrs.nim
+Link: ../../lib/std/syncio.nim
+Link: ../../lib/system.nim
+Link: nimhcr_basic.nim
+Hint: mm: refc; opt: none (DEBUG BUILD, -d:release generates faster code)
+37392 lines; 17.460s; 39.023MiB peakmem; proj: nimhcr_basic; out: nimhcr_basic [SuccessX]

�[31mFAIL: �[36mtests/dll/nimhcr_basic.nim c -d:nimDebugDlOpen -d:release --mm:refc --threads:off --forceBuild --hotCodeReloading:on�[34m (47.13 sec)�[0m
�[1m�[36mTest "tests/dll/nimhcr_basic.nim" in category "dll"�[0m
�[1m�[31mFailure: reExitcodesDiffer�[0m
�[33mExpected:�[0m
�[1mexitcode: 0
�[0m
�[33mGotten:�[0m
�[1mexitcode: 1

Output:
SIGILL: Illegal operation.

�[0m
diff --git a/tmp/diffStrings_a_hLpLdDUE b/tmp/diffStrings_b_3qqyjijZ
index 031aaaa..c262acb 100644
--- a/tmp/diffStrings_a_hLpLdDUE
+++ b/tmp/diffStrings_b_3qqyjijZ
@@ -1 +1,4 @@
-exitcode: 0
\ No newline at end of file
+exitcode: 1
+
+Output:
+SIGILL: Illegal operation.

�[31mFAIL: �[36mtests/dll/nimhcr_basic.nim c -d:nimDebugDlOpen -d:release --mm:refc --threads:off --forceBuild --hotCodeReloading:on�[34m (47.40 sec)�[0m
�[1m�[36mTest "tests/dll/nimhcr_basic.nim" in category "dll"�[0m
�[1m�[31mFailure: reExitcodesDiffer�[0m
�[33mExpected:�[0m
�[1m
�[0m
�[33mGotten:�[0m
�[1m$ /home/abuild/rpmbuild/BUILD/nim-2.0.12/bin/nim c --hints:on -d:testing --nimblePath:build/deps/pkgs2 -d:nimDebugDlOpen -d:release --mm:refc --threads:off --forceBuild --hotCodeReloading:on --nimCache:nimcache/tests/dll/nimhcr_basic.nim_ab299b9ce1260ff565c4086725efc31e tests/dll/nimhcr_basic.nim
Hint: used config file '/home/abuild/rpmbuild/BUILD/nim-2.0.12/config/nim.cfg' [Conf]
Hint: used config file '/home/abuild/rpmbuild/BUILD/nim-2.0.12/config/config.nims' [Conf]
Hint: used config file '/home/abuild/rpmbuild/BUILD/nim-2.0.12/tests/config.nims' [Conf]
CC: ../../lib/system/exceptions.nim
CC: ../../lib/std/private/since.nim
CC: ../../lib/system/ctypes.nim
CC: ../../lib/std/sysatomics.nim
CC: ../../lib/system/ansi_c.nim
CC: ../../lib/system/memory.nim
CC: ../../lib/std/private/digitsutils.nim
CC: ../../lib/std/private/miscdollars.nim
CC: ../../lib/std/assertions.nim
CC: ../../lib/system/iterators.nim
CC: ../../lib/system/coro_detection.nim
CC: ../../lib/std/private/dragonbox.nim
CC: ../../lib/std/private/schubfach.nim
CC: ../../lib/std/formatfloat.nim
CC: ../../lib/std/objectdollar.nim
CC: ../../lib/system/dollars.nim
CC: ../../lib/system/stacktraces.nim
CC: ../../lib/std/private/bitops_utils.nim
CC: ../../lib/system/countbits_impl.nim
CC: ../../lib/std/private/syslocks.nim
CC: ../../lib/std/widestrs.nim
CC: ../../lib/std/syncio.nim
CC: ../../lib/system.nim
CC: nimhcr_basic.nim
Link: ../../lib/system/exceptions.nim
Link: ../../lib/std/private/since.nim
Link: ../../lib/system/ctypes.nim
Link: ../../lib/std/sysatomics.nim
Link: ../../lib/system/ansi_c.nim
Link: ../../lib/system/memory.nim
Link: ../../lib/std/private/digitsutils.nim
Link: ../../lib/std/private/miscdollars.nim
Link: ../../lib/std/assertions.nim
Link: ../../lib/system/iterators.nim
Link: ../../lib/system/coro_detection.nim
Link: ../../lib/std/private/dragonbox.nim
Link: ../../lib/std/private/schubfach.nim
Link: ../../lib/std/formatfloat.nim
Link: ../../lib/std/objectdollar.nim
Link: ../../lib/system/dollars.nim
Link: ../../lib/system/stacktraces.nim
Link: ../../lib/std/private/bitops_utils.nim
Link: ../../lib/system/countbits_impl.nim
Link: ../../lib/std/private/syslocks.nim
Link: ../../lib/std/widestrs.nim
Link: ../../lib/std/syncio.nim
Link: ../../lib/system.nim
Link: nimhcr_basic.nim
Hint: mm: refc; opt: speed; options: -d:release
37392 lines; 43.045s; 39.031MiB peakmem; proj: nimhcr_basic; out: nimhcr_basic [SuccessX]

�[0m
diff --git a/tmp/diffStrings_a_qG5VPsTt b/tmp/diffStrings_b_pfkNCOei
index e69de29..1a43bcf 100644
--- a/tmp/diffStrings_a_qG5VPsTt
+++ b/tmp/diffStrings_b_pfkNCOei
@@ -0,0 +1,54 @@
+$ /home/abuild/rpmbuild/BUILD/nim-2.0.12/bin/nim c --hints:on -d:testing --nimblePath:build/deps/pkgs2 -d:nimDebugDlOpen -d:release --mm:refc --threads:off --forceBuild --hotCodeReloading:on --nimCache:nimcache/tests/dll/nimhcr_basic.nim_ab299b9ce1260ff565c4086725efc31e tests/dll/nimhcr_basic.nim
+Hint: used config file '/home/abuild/rpmbuild/BUILD/nim-2.0.12/config/nim.cfg' [Conf]
+Hint: used config file '/home/abuild/rpmbuild/BUILD/nim-2.0.12/config/config.nims' [Conf]
+Hint: used config file '/home/abuild/rpmbuild/BUILD/nim-2.0.12/tests/config.nims' [Conf]
+CC: ../../lib/system/exceptions.nim
+CC: ../../lib/std/private/since.nim
+CC: ../../lib/system/ctypes.nim
+CC: ../../lib/std/sysatomics.nim
+CC: ../../lib/system/ansi_c.nim
+CC: ../../lib/system/memory.nim
+CC: ../../lib/std/private/digitsutils.nim
+CC: ../../lib/std/private/miscdollars.nim
+CC: ../../lib/std/assertions.nim
+CC: ../../lib/system/iterators.nim
+CC: ../../lib/system/coro_detection.nim
+CC: ../../lib/std/private/dragonbox.nim
+CC: ../../lib/std/private/schubfach.nim
+CC: ../../lib/std/formatfloat.nim
+CC: ../../lib/std/objectdollar.nim
+CC: ../../lib/system/dollars.nim
+CC: ../../lib/system/stacktraces.nim
+CC: ../../lib/std/private/bitops_utils.nim
+CC: ../../lib/system/countbits_impl.nim
+CC: ../../lib/std/private/syslocks.nim
+CC: ../../lib/std/widestrs.nim
+CC: ../../lib/std/syncio.nim
+CC: ../../lib/system.nim
+CC: nimhcr_basic.nim
+Link: ../../lib/system/exceptions.nim
+Link: ../../lib/std/private/since.nim
+Link: ../../lib/system/ctypes.nim
+Link: ../../lib/std/sysatomics.nim
+Link: ../../lib/system/ansi_c.nim
+Link: ../../lib/system/memory.nim
+Link: ../../lib/std/private/digitsutils.nim
+Link: ../../lib/std/private/miscdollars.nim
+Link: ../../lib/std/assertions.nim
+Link: ../../lib/system/iterators.nim
+Link: ../../lib/system/coro_detection.nim
+Link: ../../lib/std/private/dragonbox.nim
+Link: ../../lib/std/private/schubfach.nim
+Link: ../../lib/std/formatfloat.nim
+Link: ../../lib/std/objectdollar.nim
+Link: ../../lib/system/dollars.nim
+Link: ../../lib/system/stacktraces.nim
+Link: ../../lib/std/private/bitops_utils.nim
+Link: ../../lib/system/countbits_impl.nim
+Link: ../../lib/std/private/syslocks.nim
+Link: ../../lib/std/widestrs.nim
+Link: ../../lib/std/syncio.nim
+Link: ../../lib/system.nim
+Link: nimhcr_basic.nim
+Hint: mm: refc; opt: speed; options: -d:release
+37392 lines; 43.045s; 39.031MiB peakmem; proj: nimhcr_basic; out: nimhcr_basic [SuccessX]

�[31mFAIL: �[36mtests/objects/tunsafenew2.nim c -d:useMalloc �[34m (18.06 sec)�[0m
�[1m�[36mTest "tests/objects/tunsafenew2.nim" in category "objects"�[0m
�[1m�[31mFailure: reExitcodesDiffer�[0m
�[33mExpected:�[0m
�[1m
�[0m
�[33mGotten:�[0m
�[1m$ /home/abuild/rpmbuild/BUILD/nim-2.0.12/bin/nim c --hints:on -d:testing --nimblePath:build/deps/pkgs2 --nimCache:nimcache/tests/objects/tunsafenew2.nim_4a8a08f09d37b73795649038408b5f33 -d:useMalloc tests/objects/tunsafenew2.nim
Hint: used config file '/home/abuild/rpmbuild/BUILD/nim-2.0.12/config/nim.cfg' [Conf]
Hint: used config file '/home/abuild/rpmbuild/BUILD/nim-2.0.12/config/config.nims' [Conf]
Hint: used config file '/home/abuild/rpmbuild/BUILD/nim-2.0.12/tests/config.nims' [Conf]
CC: ../../lib/system/exceptions.nim
CC: ../../lib/std/private/since.nim
CC: ../../lib/system/ctypes.nim
CC: ../../lib/std/sysatomics.nim
CC: ../../lib/system/ansi_c.nim
CC: ../../lib/system/memory.nim
CC: ../../lib/std/private/syslocks.nim
CC: ../../lib/std/private/threadtypes.nim
CC: ../../lib/std/private/digitsutils.nim
CC: ../../lib/std/private/miscdollars.nim
CC: ../../lib/std/assertions.nim
CC: ../../lib/system/iterators.nim
CC: ../../lib/system/coro_detection.nim
CC: ../../lib/std/private/dragonbox.nim
CC: ../../lib/std/private/schubfach.nim
CC: ../../lib/std/formatfloat.nim
CC: ../../lib/std/objectdollar.nim
CC: ../../lib/system/dollars.nim
CC: ../../lib/std/typedthreads.nim
CC: ../../lib/system/stacktraces.nim
CC: ../../lib/std/private/bitops_utils.nim
CC: ../../lib/system/countbits_impl.nim
CC: ../../lib/system/repr_v2.nim
CC: ../../lib/std/widestrs.nim
CC: ../../lib/std/syncio.nim
CC: ../../lib/system.nim
CC: tunsafenew2.nim
Hint: [Link]
Hint: mm: orc; threads: on; opt: none (DEBUG BUILD, -d:release generates faster code)
36226 lines; 13.705s; 39.043MiB peakmem; proj: tunsafenew2; out: tunsafenew2 [SuccessX]

�[0m
diff --git a/tmp/diffStrings_a_MZn0jCuu b/tmp/diffStrings_b_CrjPekIX
index e69de29..ed545e4 100644
--- a/tmp/diffStrings_a_MZn0jCuu
+++ b/tmp/diffStrings_b_CrjPekIX
@@ -0,0 +1,34 @@
+$ /home/abuild/rpmbuild/BUILD/nim-2.0.12/bin/nim c --hints:on -d:testing --nimblePath:build/deps/pkgs2 --nimCache:nimcache/tests/objects/tunsafenew2.nim_4a8a08f09d37b73795649038408b5f33 -d:useMalloc tests/objects/tunsafenew2.nim
+Hint: used config file '/home/abuild/rpmbuild/BUILD/nim-2.0.12/config/nim.cfg' [Conf]
+Hint: used config file '/home/abuild/rpmbuild/BUILD/nim-2.0.12/config/config.nims' [Conf]
+Hint: used config file '/home/abuild/rpmbuild/BUILD/nim-2.0.12/tests/config.nims' [Conf]
+CC: ../../lib/system/exceptions.nim
+CC: ../../lib/std/private/since.nim
+CC: ../../lib/system/ctypes.nim
+CC: ../../lib/std/sysatomics.nim
+CC: ../../lib/system/ansi_c.nim
+CC: ../../lib/system/memory.nim
+CC: ../../lib/std/private/syslocks.nim
+CC: ../../lib/std/private/threadtypes.nim
+CC: ../../lib/std/private/digitsutils.nim
+CC: ../../lib/std/private/miscdollars.nim
+CC: ../../lib/std/assertions.nim
+CC: ../../lib/system/iterators.nim
+CC: ../../lib/system/coro_detection.nim
+CC: ../../lib/std/private/dragonbox.nim
+CC: ../../lib/std/private/schubfach.nim
+CC: ../../lib/std/formatfloat.nim
+CC: ../../lib/std/objectdollar.nim
+CC: ../../lib/system/dollars.nim
+CC: ../../lib/std/typedthreads.nim
+CC: ../../lib/system/stacktraces.nim
+CC: ../../lib/std/private/bitops_utils.nim
+CC: ../../lib/system/countbits_impl.nim
+CC: ../../lib/system/repr_v2.nim
+CC: ../../lib/std/widestrs.nim
+CC: ../../lib/std/syncio.nim
+CC: ../../lib/system.nim
+CC: tunsafenew2.nim
+Hint: [Link]
+Hint: mm: orc; threads: on; opt: none (DEBUG BUILD, -d:release generates faster code)
+36226 lines; 13.705s; 39.043MiB peakmem; proj: tunsafenew2; out: tunsafenew2 [SuccessX]

�[31mFAIL: �[36mtests/objects/tunsafenew2.nim cpp -d:useMalloc �[34m ( 9.84 sec)�[0m
�[1m�[36mTest "tests/objects/tunsafenew2.nim" in category "objects"�[0m
�[1m�[31mFailure: reExitcodesDiffer�[0m
�[33mExpected:�[0m
�[1m
�[0m
�[33mGotten:�[0m
�[1m$ /home/abuild/rpmbuild/BUILD/nim-2.0.12/bin/nim cpp --hints:on -d:testing --nimblePath:build/deps/pkgs2 --nimCache:nimcache/tests/objects/tunsafenew2.nim_2c5f2cba9af7f92986d3de1e753f3faa -d:useMalloc tests/objects/tunsafenew2.nim
Hint: used config file '/home/abuild/rpmbuild/BUILD/nim-2.0.12/config/nim.cfg' [Conf]
Hint: used config file '/home/abuild/rpmbuild/BUILD/nim-2.0.12/config/config.nims' [Conf]
Hint: used config file '/home/abuild/rpmbuild/BUILD/nim-2.0.12/tests/config.nims' [Conf]
CC: ../../lib/system/exceptions.nim
CC: ../../lib/std/private/digitsutils.nim
CC: ../../lib/system/dollars.nim
CC: ../../lib/system.nim
CC: tunsafenew2.nim
Hint: [Link]
Hint: mm: orc; threads: on; opt: none (DEBUG BUILD, -d:release generates faster code)
36226 lines; 7.228s; 39.035MiB peakmem; proj: tunsafenew2; out: tunsafenew2 [SuccessX]

�[0m
diff --git a/tmp/diffStrings_a_Ev8K5T0c b/tmp/diffStrings_b_QJVohB7g
index e69de29..2d903af 100644
--- a/tmp/diffStrings_a_Ev8K5T0c
+++ b/tmp/diffStrings_b_QJVohB7g
@@ -0,0 +1,12 @@
+$ /home/abuild/rpmbuild/BUILD/nim-2.0.12/bin/nim cpp --hints:on -d:testing --nimblePath:build/deps/pkgs2 --nimCache:nimcache/tests/objects/tunsafenew2.nim_2c5f2cba9af7f92986d3de1e753f3faa -d:useMalloc tests/objects/tunsafenew2.nim
+Hint: used config file '/home/abuild/rpmbuild/BUILD/nim-2.0.12/config/nim.cfg' [Conf]
+Hint: used config file '/home/abuild/rpmbuild/BUILD/nim-2.0.12/config/config.nims' [Conf]
+Hint: used config file '/home/abuild/rpmbuild/BUILD/nim-2.0.12/tests/config.nims' [Conf]
+CC: ../../lib/system/exceptions.nim
+CC: ../../lib/std/private/digitsutils.nim
+CC: ../../lib/system/dollars.nim
+CC: ../../lib/system.nim
+CC: tunsafenew2.nim
+Hint: [Link]
+Hint: mm: orc; threads: on; opt: none (DEBUG BUILD, -d:release generates faster code)
+36226 lines; 7.228s; 39.035MiB peakmem; proj: tunsafenew2; out: tunsafenew2 [SuccessX]

�[31mFAIL: �[36mtests/vm/t19075.nim c �[34m (17.26 sec)�[0m
�[1m�[36mTest "tests/vm/t19075.nim" in category "vm"�[0m
�[1m�[31mFailure: reTimeout�[0m
�[33mExpected:�[0m
�[1m
�[0m
�[33mGotten:�[0m
�[1m
�[0m

�[31mFAIL: �[36mtests/vm/t20746.nim c �[34m (21.27 sec)�[0m
�[1m�[36mTest "tests/vm/t20746.nim" in category "vm"�[0m
�[1m�[31mFailure: reTimeout�[0m
�[33mExpected:�[0m
�[1m
�[0m
�[33mGotten:�[0m
�[1m
�[0m

@metagn
Copy link
Collaborator

metagn commented Dec 16, 2024

tasm has direct assembler code

HCR failures are also proc casts but not the same as in #24287

tunsafenew2 has an intentional memory leak which may have changed the exit code

VM tests allocate large objects, might work with a larger timeout

ringabout pushed a commit that referenced this issue Dec 24, 2024
…24564)

This fixes one error in #24544 .
I tested this on Raspberry Pi Pico (arm) and Raspberry Pi 3(arm64).
It is not tested on i386, riscv32 and riscv64 CPU.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants