[LLVMbugs] [Bug 11943] New: Hang or crash in C test program (attached) compiled with mingw64 Clang

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Feb 7 17:09:51 PST 2012


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

             Bug #: 11943
           Summary: Hang or crash in C test program (attached) compiled
                    with mingw64 Clang
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rene.sugar at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 8018
  --> http://llvm.org/bugs/attachment.cgi?id=8018
test program

This is a small test program from the ppl library tests.

clang test.c
a.out // hangs
a.out 1 // crashes

This is reproducible in gcc 4.7 (see below).

It also crashes when compiled with the PellesC compiler
(http://www.smorgasbordet.com/pellesc/).


I am running Windows 7 64-bit.


Here is the build of gcc I used to build Clang:

(mingw64 project also lets you cross-compile mingw32 and mingw64 builds on
Linux)

mingw64 toolchain sources with build scripts to create cross-compilers:

http://sourceforge.net/projects/mingw-w64/files/Toolchain%20sources/Personal%20Builds/rubenvb/

mingw64 toolchain binaries:

http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/rubenvb/4.7.0-1/


This wiki page has a good explanation of how to set up mingw64 and build OCaml
on Windows 64-bit:

https://github.com/shadinger/opalang/wiki/Compiling-ocaml-MinGW64-w64

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