[LLVMbugs] [Bug 24153] New: Regression: No target for triple spir-unknown-unknown
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jul 16 05:02:33 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=24153
Bug ID: 24153
Summary: Regression: No target for triple spir-unknown-unknown
Product: clang
Version: 3.7
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: moritz.pflanzer14 at imperial.ac.uk
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 14599
--> https://llvm.org/bugs/attachment.cgi?id=14599&action=edit
File from which the PCH should be generated
The target triples spir-unknown-unknown and spir64-unknown-unknown are
currently not recognised by clang.
The following command worked in 3.6.1 and up to some point in 3.7:
$ clang -cc1 -x cl -cl-std=CL1.2 -O0 -g -fno-builtin -emit-pch -triple
spir-unknown-unknown -relocatable-pch -isysroot . clc.h -o ./clc32.pch
$ clang -cc1 -version
LLVM (http://llvm.org/):
LLVM version 3.6.1
DEBUG build with assertions.
Built Jul 16 2015 (11:46:26).
Default target: x86_64-unknown-linux-gnu
Host CPU: core-avx2
It does currently not work in 3.7 ([1]) and trunk. When it is executed the
following error is emitted:
fatal error: error in backend: No available targets are compatible with this
triple, see -version for the available targets.
$ clang -cc1 -version
LLVM (http://llvm.org/):
LLVM version 3.7.0
DEBUG build with assertions.
Built Jul 16 2015 (11:56:40).
Default target: x86_64-unknown-linux-gnu
Host CPU: haswell
[1] For LLVM commit 3690da1 and clang commit 979403f it still works. Some
change after these commits must have broken the support for the spir triple.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150716/91b3932d/attachment.html>
More information about the llvm-bugs
mailing list