[Issue 14942] dmd linking error with SHA and SSSE3
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Feb 4 02:27:29 PST 2016
https://issues.dlang.org/show_bug.cgi?id=14942
Yawniek <dlang at srtnwz.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
CC| |dlang at srtnwz.com
Resolution|INVALID |---
--- Comment #4 from Yawniek <dlang at srtnwz.com> ---
i can reproduce this on an up to date archlinux system:
ws02% dub init -t vibe.d ugah
Successfully created an empty project in '/home/yannick/code/d/test/ugah'.
ws02% cd ugah
ws02% ls
dub.json public source views
ws02% dub build --compiler=ldc
Performing "debug" build using ldc for x86_64.
vibe-d:utils 0.7.27: building configuration "library"...
vibe-d:data 0.7.27: building configuration "library"...
vibe-d:core 0.7.27: building configuration "libevent"...
vibe-d:http 0.7.27: building configuration "library"...
hvibe-d:diet 0.7.27: building configuration "library"...
vibe-d:mail 0.7.27: building configuration "library"...
vibe-d:mongodb 0.7.27: building configuration "library"...
vibe-d:redis 0.7.27: building configuration "library"...
vibe-d:web 0.7.27: building configuration "library"...
vibe-d 0.7.27: building configuration "libevent"...
ugah ~master: building configuration "application"...
/usr/include/dlang/ldc/std/digest/sha.d:224: error: undefined reference to
'_D3std8internal6digest9sha_SSSE314transformSSSE3FNaNbNiPG5kPxG64hZv'
/usr/include/dlang/ldc/std/digest/sha.d:224: error: undefined reference to
'_D3std8internal6digest9sha_SSSE314transformSSSE3FNaNbNiPG5kPxG64hZv'
/usr/include/dlang/ldc/std/digest/sha.d:224: error: undefined reference to
'_D3std8internal6digest9sha_SSSE314transformSSSE3FNaNbNiPG5kPxG64hZv'
/usr/include/dlang/ldc/std/digest/sha.d:224: error: undefined reference to
'_D3std8internal6digest9sha_SSSE314transformSSSE3FNaNbNiPG5kPxG64hZv'
collect2: error: ld returned 1 exit status
Error: /usr/sbin/gcc failed with status: 1
ldc failed with exit code 1.
ws02% pacman -Q | grep ldc
ldc 1:0.16.1-4
ws02% ldc --version
LDC - the LLVM D compiler (0.16.1):
based on DMD v2.067.1 and LLVM 3.7.1
Default target: x86_64-unknown-linux-gnu
Host CPU: haswell
http://dlang.org - http://wiki.dlang.org/LDC
Registered Targets:
aarch64 - AArch64 (little endian)
aarch64_be - AArch64 (big endian)
amdgcn - AMD GCN GPUs
arm - ARM
arm64 - ARM64 (little endian)
armeb - ARM (big endian)
bpf - BPF (host endian)
bpfeb - BPF (big endian)
bpfel - BPF (little endian)
cpp - C++ backend
hexagon - Hexagon
mips - Mips
mips64 - Mips64 [experimental]
mips64el - Mips64el [experimental]
mipsel - Mipsel
msp430 - MSP430 [experimental]
nvptx - NVIDIA PTX 32-bit
nvptx64 - NVIDIA PTX 64-bit
ppc32 - PowerPC 32
ppc64 - PowerPC 64
ppc64le - PowerPC 64 LE
r600 - AMD GPUs HD2XXX-HD6XXX
sparc - Sparc
sparcel - Sparc LE
sparcv9 - Sparc V9
systemz - SystemZ
thumb - Thumb
thumbeb - Thumb (big endian)
x86 - 32-bit X86: Pentium-Pro and above
x86-64 - 64-bit X86: EM64T and AMD64
xcore - XCore
ws02% dub --version
DUB version 0.9.24+95-g20d74e8, built on Jan 5 2016
--
More information about the Digitalmars-d-bugs
mailing list