Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920577 - dev-lang/nim-1.6.14-r1 fails tests ppc64
Summary: dev-lang/nim-1.6.14-r1 fails tests ppc64
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Nim project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 912269
  Show dependency tree
 
Reported: 2023-12-23 17:27 UTC by matoro
Modified: 2024-04-17 19:03 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log and emerge --info (build.log.gz,36.84 KB, application/gzip)
2023-12-23 17:27 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2023-12-23 17:27:04 UTC
Just starting with LE to start, this isn't even getting into BE.  I think there are two distinct failures, both of which need to be solved.  build.log and emerge --info in attachment.

FAIL: tests/dll/nimhcr_unit.nim c --hint:all:off --hint:User:on --hint:UserRaw:on ( 0.96 sec)
Test "tests/dll/nimhcr_unit.nim" in category "dll"
Failure: reExitcodesDiffer
Expected:
exitcode: 0
 
Gotten:
exitcode: 1
 
Output:
SIGILL: Illegal operation.
 
diff --git a/var/tmp/portage/dev-lang/nim-1.6.14-r1/temp/diffStrings_a_Mfg5CXo9 b/var/tmp/portage/dev-lang/nim-1.6.14-r1/temp/diffStrings_b_AcFyUvy6
index 031aaaa..c262acb 100644
--- a/var/tmp/portage/dev-lang/nim-1.6.14-r1/temp/diffStrings_a_Mfg5CXo9
+++ b/var/tmp/portage/dev-lang/nim-1.6.14-r1/temp/diffStrings_b_AcFyUvy6
@@ -1 +1,4 @@
-exitcode: 0
\ No newline at end of file
+exitcode: 1
+
+Output:
+SIGILL: Illegal operation.
 

FAIL: tests/misc/tsizeof4.nim c --hint:all:off --hint:User:on --hint:UserRaw:on ( 1.77 sec)
Test "tests/misc/tsizeof4.nim" in category "misc"
Failure: reNimcCrash
$ /var/tmp/portage/dev-lang/nim-1.6.14-r1/work/nim-1.6.14/bin/nim c --hints:on -d:testing --nimblePath:build/deps/pkgs  --hint:all:off --hint:User:on --hint:UserRaw:on --nimCache:nimcache/tests/misc/tsizeof4.nim_6ff73b0bb116d18a5f09f2a4408ce897  tests/misc/tsizeof4.nim
In file included from /usr/lib/gcc/powerpc64le-unknown-linux-gnu/13/include/immintrin.h:29,
                 from /var/tmp/portage/dev-lang/nim-1.6.14-r1/work/nim-1.6.14/nimcache/tests/misc/tsizeof4.nim_6ff73b0bb116d18a5f09f2a4408ce897/@mtsizeof4.nim.c:8:
/usr/lib/gcc/powerpc64le-unknown-linux-gnu/13/include/mmintrin.h:52:2: error: #error "Please read comment above.  Use -DNO_WARN_X86_INTRINSICS to disable this error."
   52 | #error "Please read comment above.  Use -DNO_WARN_X86_INTRINSICS to disable this error."
      |  ^~~~~
In file included from /usr/lib/gcc/powerpc64le-unknown-linux-gnu/13/include/immintrin.h:31:
/usr/lib/gcc/powerpc64le-unknown-linux-gnu/13/include/xmmintrin.h:54:2: error: #error "Please read comment above.  Use -DNO_WARN_X86_INTRINSICS to disable this error."
   54 | #error "Please read comment above.  Use -DNO_WARN_X86_INTRINSICS to disable this error."
      |  ^~~~~
In file included from /usr/lib/gcc/powerpc64le-unknown-linux-gnu/13/include/xmmintrin.h:79:
/usr/lib/gcc/powerpc64le-unknown-linux-gnu/13/include/mmintrin.h:52:2: error: #error "Please read comment above.  Use -DNO_WARN_X86_INTRINSICS to disable this error."
   52 | #error "Please read comment above.  Use -DNO_WARN_X86_INTRINSICS to disable this error."
      |  ^~~~~
compilation terminated due to -fmax-errors=3.
Error: execution of an external compiler program 'powerpc64le-unknown-linux-gnu-gcc -c -w -fmax-errors=3 -O2 -pipe -mcpu=power9 -mtune=power9   -I/var/tmp/portage/dev-lang/nim-1.6.14-r1/work/nim-1.6.14/lib -I/var/tmp/portage/dev-lang/nim-1.6.14-r1/work/nim-1.6.14/tests/misc -o /var/tmp/portage/dev-lang/nim-1.6.14-r1/work/nim-1.6.14/nimcache/tests/misc/tsizeof4.nim_6ff73b0bb116d18a5f09f2a4408ce897/@mtsizeof4.nim.c.o /var/tmp/portage/dev-lang/nim-1.6.14-r1/work/nim-1.6.14/nimcache/tests/misc/tsizeof4.nim_6ff73b0bb116d18a5f09f2a4408ce897/@mtsizeof4.nim.c' failed with exit code: 1

Reproducible: Always
Comment 1 matoro archtester 2023-12-23 17:27:33 UTC
Created attachment 880260 [details]
build.log and emerge --info