Issue 18222 - Illegal instruction for test_cdvecfill_1
Summary: Illegal instruction for test_cdvecfill_1
Status: RESOLVED MOVED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86_64 Linux
: P1 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-11 05:15 UTC by Thomas Mader
Modified: 2018-01-11 21:16 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Thomas Mader 2018-01-11 05:15:49 UTC
I get the following when I run the dmd-testsuite of ldc 1.7.0 on NixOS:

> 790: sh: line 1: 36610 Illegal instruction     /build/ldc-1.7.0-src/build/dmd-testsuite/runnable/test_cdvecfill_1 > /build/ldc-1.7.0-src/build/dmd-testsuite/a0519aad7a20f86b87a15113f878a3d1815937849f5527e5ac5dbbdc24e22f05 2>&1
790:  ... runnable/test_cdvecfill.d      -O (-mcpu=avx -mcpu=avx2) -conf=/build/ldc-1.7.0-src/build/bin/ldc2.conf -O 
790: Test failed.  The logged output:
790: /build/ldc-1.7.0-src/build/bin/ldmd2 -conf= -m64 -Irunnable -O  -od/build/ldc-1.7.0-src/build/dmd-testsuite/runnable -of/build/ldc-1.7.0-src/build/dmd-testsuite/runnable/test_cdvecfill_0 runnable/test_cdvecfill.d
790: /build/ldc-1.7.0-src/build/dmd-testsuite/runnable/test_cdvecfill_0
790: 
790: /build/ldc-1.7.0-src/build/bin/ldmd2 -conf= -m64 -Irunnable -O -mcpu=avx -od/build/ldc-1.7.0-src/build/dmd-testsuite/runnable -of/build/ldc-1.7.0-src/build/dmd-testsuite/runnable/test_cdvecfill_1 runnable/test_cdvecfill.d
790: /build/ldc-1.7.0-src/build/dmd-testsuite/runnable/test_cdvecfill_1
790: 
790: 
790: ==============================
790: Test failed: expected rc == 0, exited with rc == 132

See https://hydra.nixos.org/build/67414474/nixlog/1 for the full log.
I built this package yesterday on my system without any problems though it only happens on these hydra builds.
It works on MacOS X.
Comment 1 David Nadlinger 2018-01-11 21:16:16 UTC
Moved to https://github.com/ldc-developers/ldc/issues/2493, as this is not a DMD issue. (We only use DMD's tests.)