[LLVMbugs] [Bug 11549] New: clang frontend command failed due to signal

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Dec 12 17:05:52 PST 2011


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

             Bug #: 11549
           Summary: clang frontend command failed due to signal
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: 876762257 at qq.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


I tried to execute make, but get some error that i can't resolve

1) environment: 
cygwin at win7

2) clang version:
$ clang -v
clang version 3.1 (trunk 146369)
Target: i386-pc-cygwin
Thread model: posix

3) command:
clang -ccc-host-triple arm-apple-darwin9  -include LocalPush-Prefix.pch -c
-ObjC -fblocks -std=c99  -isysroot /toolchain4/sys
-D__IPHONE_OS_VERSION_MIN_REQUIRED=40000 -g0 -O2 -Wno-attributes -Wno-trigraphs
-Wreturn-type -Wunused-variable -I"." main.m -o main.o

4) source file:

only a main function

int main(int argc, char *argv[])
{
    //NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
    //int retVal = UIApplicationMain(argc, argv, nil, @"AppDelegate");
    //[pool release];
    return 1;
}

5) error info
clang -ccc-host-triple arm-apple-darwin9  -include LocalPush-Prefix.pch -c
-ObjC -fblocks -std=c99  -isysroot /toolchain4/sys
-D__IPHONE_OS_VERSION_MIN_REQUIRED=40000 -g0 -O2 -Wno-attributes -Wno-trigraphs
-Wreturn-type -Wunused-variable -I"." main.m -o main.o
clang: error: unable to execute command: Program could not be executed
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang: note: diagnostic msg: Please submit a bug report to
http://llvm.org/bugs/ and include command line arguments and all diagnostic
information.
clang: error: unable to execute command: Program could not be executed
clang: note: diagnostic msg: Error generating preprocessed source(s).
Makefile:116: recipe for target `main.o' failed
make: *** [main.o] Error 255

-- 
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