[cfe-dev] 2.7 Pre-release1 available for testing

Vincent Richomme forumer at smartmobili.com
Wed Mar 17 14:24:25 PDT 2010


On Wed, 17 Mar 2010 13:12:19 -0700, Tanya Lattner <lattner at apple.com>
wrote:
> The 2.7 binaries are available for testing:
> http://llvm.org/pre-releases/2.7/pre-release1/
> 
> You will also find the source tarballs there as well.
> 
> We rely on the community to help make our releases great, so please help
> test 2.7 if you can. Please follow these instructions to test 2.7:
> 
> To test llvm-gcc:
> 1) Compile llvm from source and untar the llvm-test in the projects  
> directory (name it llvm-test or test-suite). Choose to use a pre- 
> compiled llvm-gcc or re-compile it yourself. 
> 2) Run make check, report any failures (FAIL or unexpected pass). Note  
> that you need to reconfigure llvm with llvm-gcc in your path or with --
> with-llvmgccdir
> 3) Run "make TEST=nightly report". Compare these results to a 2.6
> llvm-test nightly report or send the results to the list. For supported
> targets, we'll try to examine the results, but its best if you can do
the
> comparison yourself.
> 
> To test clang:
> 1) Compile llvm and clang from source.
> 2) Run make check for llvm.
> 3) Run make  -C tools/clang-2.6 test VERBOSE=1 (report any failures or  
> unexpected passes)
> 4) Run "make TEST=nightly report". Make sure its using clang instead of
> llvm-gcc. Compare these results to a 2.6 llvm-test nightly report or
send
> the results to the list. For supported targets, we'll try to examine the
> results, but its best if you can do the comparison yourself.
> 
> When reporting your results, please provide details on what platform (32
> or 64 bit, arch, os) 
> you compiled on, how you built LLVM (src == obj, or src != obj), clang,
> and/or llvm-gcc, and which version of gcc you use.
> 
> For any regressions in llvm-test, failures in make check, or
> warnings/errors you find, please add as a blocker to the 2.7 master bug:
> http://llvm.org/bugs/show_bug.cgi?id=6586
> 

Ok I am ready to test but I think you didn't include mingw fix
http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/Makefile?view=log
So I have manually reported it and compiled clang in release mode.

First step with objective-c and libobjc from GNUstep :

$ make CC=clang messages=yes
This is gnustep-make 2.2.0. Type 'make print-gnustep-make-help' for help.
Making all for clibrary libobjc...
clang archive.c -c \
              -MMD -MP -DIN_GCC -pipe -DSTDC_HEADERS=1 -DHAVE_STDLIB_H
-DOBJC_WITH_GC=0 -DDEBUG_OBJC_GC=0 -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1
-DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1
-DGNUSTEP_WITH_DLL -DBUILD_libobjc_DLL=1 -Wall -DGSWARN -DGSDIAGNOSE
-Wno-import -g -O2 -Wall -Iconfig/ix86/mingw32 -Iconfig/ix86/generic -I.
-I. -I/home/Vincent/GNUstep/Library/Headers
-I/GNUstep/Local/Library/Headers -I/GNUstep/System/Library/Headers \
               -o obj/libobjc.obj/archive.c.o
Assertation failed!

Program: C:\Developer\Mingw-NG\mingw32\bin\clang.exe
File: X86ISelLowering.cpp, Line 2152

Expression: ((Callee.getOpcode() == ISD::Register &&
(cast<RegisterSDNode>(Callee)->getReg() == X86::EAX ||
cast<RegisterSDNode>(Callee)->getReg() == X86::R11)) || Callee.getOpcode()
== ISD::TargetExternalSymbol || Callee.getOpcode() ==
ISD::TargetGlobalAddress) && "Expec

This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
clang: error: compiler command failed with exit code 3 (use -v to see
invocation)
make[3]: *** [obj/libobjc.obj/archive.c.o] Error 3
make[2]: *** [internal-library-all_] Error 2
make[1]: *** [libobjc.all.clibrary.variables] Error 2
make: *** [internal-all] Error 2


When I try to enter command line with -v :

clang version 1.1 (branches/release_27)
Target: i686-pc-mingw32
Thread model: posix
 "C:/Developer/Mingw-NG/mingw32/bin/clang.exe" -cc1 -triple
i686-pc-mingw32 -S -disable-free -main-file-name archive.c
-mrelocation-model static -mdisable-fp-elim -mconstructor-aliases -v -g
-resource-dir C:/Developer/Mingw-NG/mingw32/lib/clang/1.1 -dependency-file
obj/libobjc.obj/archive.c.d -MT obj/libobjc.obj/archive.c.o -MP -DIN_GCC
-DSTDC_HEADERS=1 -DHAVE_STDLIB_H -DOBJC_WITH_GC=0 -DDEBUG_OBJC_GC=0
-DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1
-DGNUSTEP_BASE_LIBRARY=1 -DGNUSTEP_WITH_DLL -DBUILD_libobjc_DLL=1 -DGSWARN
-DGSDIAGNOSE -Iconfig/ix86/mingw32 -Iconfig/ix86/generic -I. -I.
-IC:/Developer/Mingw-NG/home/Vincent/GNUstep/Library/Headers
-IC:/Developer/Mingw-NG/GNUstep/Local/Library/Headers
-IC:/Developer/Mingw-NG/GNUstep/System/Library/Headers -O2 -Wall
-Wno-import -Wall -fmessage-length 0 -fgnu-runtime
-fdiagnostics-show-option -o C:/DOCUME~1/Vincent/LOCALS~1/Temp/cc-000000.s
-x c archive.c
clang -cc1 version 1.1 based upon llvm 2.7svn hosted on i686-pc-mingw32
ignoring nonexistent directory
"C:/Developer/Mingw-NG/home/Vincent/GNUstep/Library/Headers"
ignoring nonexistent directory
"C:/Developer/Mingw-NG/GNUstep/Local/Library/Headers"
ignoring nonexistent directory
"C:/Developer/Mingw-NG/mingw32/lib/clang/1.1/include"
ignoring nonexistent directory "c:/mingw/include"
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "/usr/include"
ignoring duplicate directory "."
#include "..." search starts here:
#include <...> search starts here:
 config/ix86/mingw32
 config/ix86/generic
 .
 C:/Developer/Mingw-NG/GNUstep/System/Library/Headers
 c:/Developer/Mingw-NG/mingw32/include
 c:/Developer/Mingw-NG/mingw32/lib/gcc/i686-w64-mingw32/4.4.4/include

c:/Developer/Mingw-NG/mingw32/lib/gcc/i686-w64-mingw32/4.4.4/include-fixed
 c:/Developer/Mingw-NG/mingw32/i686-w64-mingw32/include
End of search list.

This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
clang: error: compiler command failed with exit code 3 (use -v to see
invocation)



I am going to recompile in debug mode to see what is going on ...





More information about the cfe-dev mailing list