r206412 - Fix check failure on hexagon targets.

İsmail Dönmez ismail at donmez.ws
Thu Apr 17 02:03:36 PDT 2014


Hi,


On Wed, Apr 16, 2014 at 10:02 PM, Diego Novillo <dnovillo at google.com> wrote:

> Author: dnovillo
> Date: Wed Apr 16 14:02:35 2014
> New Revision: 206412
>
> URL: http://llvm.org/viewvc/llvm-project?rev=206412&view=rev
> Log:
> Fix check failure on hexagon targets.
>
> This test was failing because there is no assembler for hexagon-elf on
> this buildbot:
>
> http://lab.llvm.org:8011/builders/clang-hexagon-elf/builds/10470
>
> Fixed by adding -S to the driver invocation.
>
> Modified:
>     cfe/trunk/test/Frontend/optimization-remark.c
>
>
This test crashes for me on openSUSE Linux 13.1 i586:

abuild@:/home/abuild/rpmbuild/BUILD/llvm/stage2>
/home/abuild/rpmbuild/BUILD/llvm/stage2/./bin/clang  -c
/home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Frontend/optimization-remark.c
-Rpass=inline -O0 -gline-tables-only -o /dev/null
0  libLLVMSupport.so 0xf707ef39 llvm::sys::PrintStackTrace(_IO_FILE*) + 41
Stack dump:
0. Program arguments: /home/abuild/rpmbuild/BUILD/llvm/stage2/bin/clang-3.5
-cc1 -triple i386-suse-linux -emit-obj -mrelax-all -disable-free
-disable-llvm-verifier -main-file-name optimization-remark.c
-mrelocation-model static -mdisable-fp-elim -fmath-errno -masm-verbose
-mconstructor-aliases -fuse-init-array -target-cpu pentium4
-gline-tables-only -coverage-file /dev/null -resource-dir
/home/abuild/rpmbuild/BUILD/llvm/stage2/bin/../lib/clang/3.5.0
-internal-isystem /usr/local/include -internal-isystem
/home/abuild/rpmbuild/BUILD/llvm/stage2/bin/../lib/clang/3.5.0/include
-internal-externc-isystem /include -internal-externc-isystem /usr/include
-O0 -fdebug-compilation-dir /home/abuild/rpmbuild/BUILD/llvm/stage2
-ferror-limit 19 -fmessage-length 127 -mstackrealign -Rpass=inline
-fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics
-vectorize-slp -o /dev/null -x c
/home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Frontend/optimization-remark.c
1. <eof> parser at end of file
2. Per-module optimization passes
3. Running pass 'CallGraph Pass Manager' on module
'/home/abuild/rpmbuild/BUILD/llvm/tools/clang/test/Frontend/optimization-remark.c'.
clang-3.5: error: unable to execute command: Segmentation fault
clang-3.5: error: clang frontend command failed due to signal (use -v to
see invocation)
clang version 3.5.0 (trunk 206450)
Target: i386-suse-linux
Thread model: posix
clang-3.5: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source,
and associated run script.
clang-3.5: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-3.5: note: diagnostic msg: /tmp/optimization-remark-6248d7.c
clang-3.5: note: diagnostic msg: /tmp/optimization-remark-6248d7.sh
clang-3.5: note: diagnostic msg:

********************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140417/be8d547f/attachment.html>


More information about the cfe-commits mailing list