[LLVMbugs] [Bug 9594] New: [alpha] clang: unknown target triple 'alpha-unknown-linux-gnu', please use -triple or -arch

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Mar 31 00:03:40 PDT 2011


           Summary: [alpha] clang: unknown target triple
                    'alpha-unknown-linux-gnu', please use -triple or -arch
           Product: clang
           Version: trunk
          Platform: DEC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: baryluk at smp.if.uj.edu.pl
                CC: llvmbugs at cs.uiuc.edu

I compiled llvm/clang trunk (clang revision 128563), and everything seems fine. 
I executed LLVM regression test, and it essentially passed (ignoring unsuported
tests and lack of JIT on Alpha). Note: I not performed check-all, just check.

Then , i wanted to execute test-suite, but even simple file:

  int main() { return 0; }

give me this error message:

$ /scratch/baryluk/llvm/builddir/Debug+Asserts/bin/clang ani.c
error: unknown target triple 'alpha-unknown-linux-gnu', please use -triple or

Unfortunetly error message isn't correct either:

I tried using -arch=alpha, -march=alpha, *alphaev6, alphaev67, Alpha, AlphaEV6,
native, etc. but still it will give me something like

$ /scratch/baryluk/llvm/builddir/Debug+Asserts/bin/clang -arch=alpha ani.c
clang: warning: argument unused during compilation: '-arch=alpha'
error: unknown target triple 'alpha-unknown-linux-gnu', please use -triple or

I was also trying multiple triples, but they are all ignored, indicating that
error message isn't very precise.

$ cat /proc/cpuinfo 
cpu                     : Alpha
cpu model               : EV6
cpu variation           : 7
cpu revision            : 0
cpu serial number       : 
system type             : Tsunami
system variation        : Monet
system revision         : 0
system serial number    : AY0
cycle frequency [Hz]    : 500000000 
timer frequency [Hz]    : 1024.00
page size [bytes]       : 8192
phys. address bits      : 44
max. addr. space #      : 255
BogoMIPS                : 994.44
kernel unaligned acc    : 24 (pc=fffffc00010e0748,va=fffffc00192ca1ea)
user unaligned acc      : 260 (pc=1207b1a08,va=121bc92bc)
platform string         : COMPAQ Professional Workstation XP1000
cpus detected           : 1
L1 Icache               : 64K, 2-way, 64b line
L1 Dcache               : 64K, 2-way, 64b line
L2 cache                : 4096K, 1-way, 64b line
L3 cache                : n/a
$ uname -a
Linux a09 2.6.26-2-alpha-generic #1 Thu Jan 27 05:54:49 UTC 2011 alpha

$ uname -i
$ uname -p

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list