From: Stefan L. <ton...@us...> - 2012-07-09 21:54:51
|
Hi, This is also my first appearance on these mailing lists, but I've been following this project for some time now. First of all, a big thanks for taking care of these build problems! I could now finally remove my own feeble attempts at fixing the patch files locally. I build on a VM with Ubuntu 12.04 using a Jenkins continuous integration server (with the hope of someday helping you guys out with keeping this project synced with llvm). However, I still get an get an error during the build(*): make[5]: Entering directory `/var/lib/jenkins/jobs/avr-llvm-build/workspace/llvm/projects/compiler-rt' MKDIR: /var/lib/jenkins/jobs/avr-llvm-build/workspace/llvm/tools/clang/runtime/compiler-rt/clang_linux/full-i386/i386/SubDir.lib COMPILE: clang_linux/full-i386/i386: /var/lib/jenkins/jobs/avr-llvm-build/workspace/llvm/projects/compiler-rt/lib/absvdi2.c error: unable to create target: 'No available targets are compatible with this triple, see -version for the available targets.' 1 error generated. make[5]: *** [/var/lib/jenkins/jobs/avr-llvm-build/workspace/llvm/tools/clang/runtime/compiler-rt/clang_linux/full-i386/i386/SubDir.lib/absvdi2.o] Error 1 make[5]: Leaving directory `/var/lib/jenkins/jobs/avr-llvm-build/workspace/llvm/projects/compiler-rt' *Revisions https://avr-llvm.svn.sourceforge.net/svnroot/avr-llvm/llvm/trunk : 202 http://llvm.org/svn/llvm-project/compiler-rt/trunk : 159934 http://llvm.org/svn/llvm-project/cfe/trunk : 159956 http://llvm.org/svn/llvm-project/llvm/trunk : 159955 https://avr-llvm.svn.sourceforge.net/svnroot/avr-llvm/cfe/trunk : 199 Also it seems like my test-results are a bit worse than what I've seen you get in other threads on the mailing list: Expected Passes : 2136 Expected Failures : 12 Unsupported Tests : 3386 Unexpected Failures: 210 And the since most of the failures have the following in the log, I think the problems might be related. - [...]/llvm/Debug+Asserts/bin/llc: : error: unable to get target for 'i386-pc-linux-gnu', see --version and --triple. - [...]/llvm/Debug+Asserts/bin/lli: error creating EE: Unable to find target for this triple (no targets are registered) Does anyone have any pointers on what the compiler-rt build error could be caused by? Kind regards, Stefan ----------------------------------- Information from the resulting binaries: + bin/llc --version LLVM (http://llvm.org/): LLVM version 3.2svn DEBUG build with assertions. Built Jul 9 2012 (21:02:23). Default target: i386-pc-linux-gnu Host CPU: core-avx-i Registered Targets: avr - Atmel AVR Microcontroller [experimental] + + bin/llc -march=avr -mcpu=help bin/llvm-as Available CPUs for this target: generic - Select the generic processor. Available features for this target: asmonly - Device is assembler only. Use +feature to enable a feature, or -feature to disable it. For example, llc -mcpu=mycpu -mattr=+feature1,-feature2 |