[LLVMbugs] [Bug 6751] New: bug in release 2.7

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Mar 31 07:10:20 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=6751

           Summary: bug in release 2.7
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: forumer at smartmobili.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=4619)
 --> (http://llvm.org/bugs/attachment.cgi?id=4619)
Preprocessed file

Hi,

I am testing the upcoming 2.7 release on mingw and I have already reported this
bug on mailing list but with no success, so I am opening a new bug here.
I am trying to compile GNUstep-Gui with clang and I get an assert in 
llvm-2.7\lib\Target\X86\X86ISelLowering.cpp.
I have attached the preprocessed file (gcc -save-temps) to reproduce.
If you need more information, please let me know.
I have also compiled clang with Visual Studio just to be sure and I have the
same error.


clang version 1.1 (branches/release_27 99950)
Target: i686-pc-mingw32
Thread model: posix
 "C:/Developer/Mingw-NG/home/Vincent/llvm-2.7/Release/bin/clang.exe" -cc1
-triple i686-pc-mingw32 -S -disable-free -main-file-name Functions.m
-mrelocation-model static -mdisable-fp-elim -mconstructor-aliases -v -g
-resource-dir
C:/Developer/Mingw-NG/home/Vincent/llvm-2.7/Release/lib/clang/1.1
-dependency-file obj/libgnustep-gui.obj/Functions.m.d -MT
obj/libgnustep-gui.obj/Functions.m.o -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
-DGSWARN -DGSDIAGNOSE -I../Headers/Additions -I../Headers -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 -fconstant-string-class NSConstantString -fmessage-length
0 -fgnu-runtime -fdiagnostics-show-option -o
C:/DOCUME~1/Vincent/LOCALS~1/Temp/cc-000000.s -x objective-c Functions.m
clang -cc1 version 1.1 based upon llvm 2.7 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:/mingw/include"
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "/usr/include"
ignoring duplicate directory "./."
#include "..." search starts here:
#include <...> search starts here:
 ../Headers/Additions
 ../Headers
 ./.
 C:/Developer/Mingw-NG/GNUstep/System/Library/Headers
 C:/Developer/Mingw-NG/home/Vincent/llvm-2.7/Release/lib/clang/1.1/include
 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.
Assertation failed!

Program: C:\Developer\Mingw-NG\home\Vincent\llvm-2.7\Release\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
clang: error: compiler command failed with exit code 3 (use -v to see
invocation)

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list