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

Vincent Richomme forumer at smartmobili.com
Thu Mar 18 10:22:55 PDT 2010


wrote:
> cc'ing evan
> 
> On Mar 17, 2010, at 2:45 PM, Anton Korobeynikov wrote:
> 
>> Hello, Vincent
>> 
>>> 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
>> Smells like sibcall lowering problem. Evan - was there any bugfixes in
>> this areas past 2.7 branch?
>> 
>> -- 

Actually GNUstep libobjc won't compile with clang because it uses some GNU
extensions.


So I tried to use the current clang's trunk to compile
libgnustep-gui(GNUstep AppKit) :

clang NSClipView.m -c \
	      -MMD -MP -DGNUSTEP_TARGET_DIR=\".\" -DGNUSTEP_TARGET_CPU=\"ix86\"
-DGNUSTEP_TARGET_OS=\"mingw32\" -DLIBRARY_COMBO=\"gnu-gnu-gnu\"
-DBACKEND_BUNDLE=1 -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1
-DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -DGNUSTEP_WITH_DLL
-DBUILD_libgnustep_gui_DLL=1 -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2
-fno-strict-aliasing -fgnu-runtime -Wall
-fconstant-string-class=NSConstantString -I../Headers/Additions
-I../Headers -I./. -I. -I/home/Vincent/GNUstep/Library/Headers
-I/GNUstep/Local/Library/Headers -I/GNUstep/System/Library/Headers \
	       -o obj/libgnustep-gui.obj/NSClipView.m.o

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)

So I tried to invoke -v :

cd Source
clang -v ....
Program: C:\Developer\Mingw-NG\mingw32\bin\clang.exe
File: X86FloatingPoint.cpp, Line 178

Expression: Reg >= X86::FP0 && Reg <= X86::FP6 && "Expected FP register!"

Don't know if it helps.

Actually I don't really know what is the best way to help.



More information about the cfe-dev mailing list