www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18013] New: DMD test suite assertion failure in

https://issues.dlang.org/show_bug.cgi?id=18013

          Issue ID: 18013
           Summary: DMD test suite assertion failure in test_cdvecfill.d
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: slavo5150 yahoo.com

cd dmd
make -C test -f Makefile

 ... runnable/test_cdvecfill.d      -O (-mcpu=avx -mcpu=avx2)
Test failed.  The logged output:
../src/dmd -conf= -m64 -Irunnable -O  -odtest_results/runnable
-oftest_results/runnable/test_cdvecfill_0 runnable/test_cdvecfill.d
test_results/runnable/test_cdvecfill_0
Expected code sequence for load!(ubyte, 16) not found.
  Expected: 0x50 0x66 0x0f 0x6e 0xc7 0x66 0x0f 0x60 0xc0 0x66 0x0f 0x61 0xc0
0x66 0x0f 0x70 0xc0 0x00 0x59 0xc3
  Actual: 0x55 0x48 0x8b 0xec 0x66 0x0f 0x6e 0xc7 0x66 0x0f 0x60 0xc0 0x66 0x0f
0x61 0xc0 0x66 0x0f 0x70 0xc0 0x00 0x5d 0xc3 0x00 0x55 0x48 0x8b 0xec 0x0f 0xb6
0x07 0x66 0x0f 0x6e 0xc0 0x66 0x0f 0x60 0xc0 0x66 0x0f 0x61 0xc0 0x66 0x0f 0x70
0xc0 0x00 0x5d 0xc3 0x00 0x00 0x55 0x48 0x8b 0xec 0x66 0x0f 0x6e 0xc7 0x66 0x0f
0x60 0xc0
core.exception.AssertError runnable/test_cdvecfill.d(895): Assertion failure
----------------
??:? _d_assertp [0xd9faa4f1]
??:? [0x84bcd81c]
??:? void rt.dmain2._d_run_main(int, char**, extern (C) int
function(char[][])*).runAll().__lambda1() [0xd9fc7d5f]
??:? void rt.dmain2._d_run_main(int, char**, extern (C) int
function(char[][])*).tryExec(scope void delegate()) [0xd9fc7c8f]
??:? void rt.dmain2._d_run_main(int, char**, extern (C) int
function(char[][])*).runAll() [0xd9fc7d08]
??:? void rt.dmain2._d_run_main(int, char**, extern (C) int
function(char[][])*).tryExec(scope void delegate()) [0xd9fc7c8f]
??:? _d_run_main [0xd9fc7bfa]
??:? [0x84bd1057]
??:? __libc_start_main [0xd8eaaf69]

Arch Linux 64-bit VirtualBox guest on a Windows 10 host.  Also, I had to add
-fPIC to the DFLAGS in test/Makefile to get a build.

Running the test suite in a 32-bit Ubuntu Linux 16.04 VirtualBox guest on the
same host works fine.  -fPIC was not required to get a build.

--
Nov 25 2017