[LLVMdev] [cfe-dev] ARM failures

Renato Golin renato.golin at linaro.org
Tue Jan 8 11:17:11 PST 2013


You can compare your configure/build arguments + environment with the build
bot:

http://lab.llvm.org:8011/builders/clang-native-arm-cortex-a9/builds/4313/steps/configure/logs/stdio

I'll check how I built my LLVM on Chromebook tomorrow, but it didn't look
too different to yours.

--renato


On 8 January 2013 19:08, Dmitri Gribenko <gribozavr at gmail.com> wrote:

> On Tue, Jan 8, 2013 at 8:31 PM, David Tweed <David.Tweed at arm.com> wrote:
> > The obvious difference is that you're using --enable-optimized and
> implicitly --disable-assertions. If you run the tests with
> >
> > make check-all VERBOSE=1 'LIT_ARGS=-v ' > logfile
> >
> > and grep for FAILED in logfile, does what's listed there give any more
> details? (Quite possible in a Release-Asserts build
> > it might not.)
>
> All these tests fail with 'illegal instruction' signal.  For example:
>
> ******************** TEST 'LLVM ::
> ExecutionEngine/MCJIT/2003-01-04-ArgumentBug.ll' FAILED
> ********************
> Script:
> --
> /home/grib/clang/llvm-build-armhf/Release+Asserts/bin/lli
> -mtriple=armv7l-unknown-linux-gnueabihf -use-mcjit
> /home/grib/clang/llvm/test/ExecutionEngine/MCJIT/2003-01-04-ArgumentBug.ll
> > /dev/null
> --
> Exit Code: 132
> Command Output (stderr):
> --
> Stack dump:
> 0.      Program arguments:
> /home/grib/clang/llvm-build-armhf/Release+Asserts/bin/lli
> -mtriple=armv7l-unknown-linux-gnueabihf -use-mcjit
> /home/grib/clang/llvm/test/ExecutionEngine/MCJIT/2003-01-04-ArgumentBug.ll
>
> /home/grib/clang/llvm-build-armhf/test/ExecutionEngine/MCJIT/Output/2003-01-04-ArgumentBug.ll.script:
> line 1: 28126 Illegal instruction
> /home/grib/clang/llvm-build-armhf/Release+Asserts/bin/lli
> -mtriple=armv7l-unknown-linux-gnueabihf -use-mcjit
> /home/grib/clang/llvm/test/ExecutionEngine/MCJIT/2003-01-04-ArgumentBug.ll
> > /dev/null
>
> Dmitri
>
> --
> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130108/e2ca40bd/attachment.html>


More information about the llvm-dev mailing list