[LLVMbugs] [Bug 20522] New: clang++ crash wz 32 bit
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Aug 3 10:12:39 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=20522
Bug ID: 20522
Summary: clang++ crash wz 32 bit
Product: clang
Version: unspecified
Hardware: PC
OS: Windows XP
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: tootall79 at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Compiling a wx widgets sample called controls clang++ 3.5 crashes well into
compiling the includes. It looks like it thinks the machine is 64bit and using
posix threads, so that may be the cause.
-------------- Build: Win32 Debug in controls (compiler: LLVM Clang
Compiler)---------------
clang++.exe -Wall -g -DWIN32 -D_DEBUG -D__WXMSW__ -D_UNICODE -D_WINDOWS
-DNOPCH -I.\..\..\lib\vc_lib\mswud -I.\..\..\include -I. -I.\..\..\samples
-IC:\CB\wx300\include\wx -IC:\MinGW\lib\gcc\mingw32\4.5.0\include\c++ -c
C:\CB\wx300\samples\controls\controls.cpp -o vc_mswud\controls\controls.o
In file included from C:\CB\wx300\samples\controls\controls.cpp:11:
In file included from .\..\..\include\wx/wxprec.h:12:
In file included from .\..\..\include\wx/defs.h:688:
In file included from .\..\..\include\wx/debug.h:19:
In file included from .\..\..\include\wx/chartype.h:105:
In file included from C:\CB\wx300\include\wx\string.h:45:
In file included from .\..\..\include\wx/wxcrtbase.h:38:
In file included from C:\CB\wx300\include\wx\time.h:13:
.\..\..\include\wx/longlong.h:45:10: warning: "Your compiler does not appear to
support 64 bit " "integers, using emulation class instead.\n"
"Please report your compiler version to "
"wx-dev at lists.wxwidgets.org!" [-W#warnings]
#warning "Your compiler does not appear to support 64 bit "\
^
In file included from C:\CB\wx300\samples\controls\controls.cpp:11:
In file included from .\..\..\include\wx/wxprec.h:12:
In file included from .\..\..\include\wx/defs.h:688:
In file included from .\..\..\include\wx/debug.h:19:
In file included from .\..\..\include\wx/chartype.h:105:
In file included from C:\CB\wx300\include\wx\string.h:45:
In file included from .\..\..\include\wx/wxcrtbase.h:38:
In file included from C:\CB\wx300\include\wx\time.h:13:
In file included from .\..\..\include\wx/longlong.h:102:
In file included from .\..\..\include\wx/iosfwrap.h:17:
C:\MinGW\lib\gcc\mingw32\4.5.0\include\c++\iosfwd:40:10: fatal error:
'bits/c++config.h' file not found
#include <bits/c++config.h>
^
Stack dump:
0. Program arguments: C:\Program Files\LLVM\bin\clang++.exe -cc1 -triple
i686-pc-windows-gnu -emit-obj -mrelax-all -disable-free -main-file-name
controls.cpp -mrelocation-model static -mdisable-fp-elim -fmath-errno
-masm-verbose -mconstructor-aliases -target-cpu pentium4 -g -dwarf-column-info
-coverage-file C:\CB\wx300\samples\controls\vc_mswud\controls\controls.o
-resource-dir C:\Program Files\LLVM\bin\..\lib\clang\3.5.0 -D WIN32 -D _DEBUG
-D __WXMSW__ -D _UNICODE -D _WINDOWS -D NOPCH -I .\..\..\lib\vc_lib\mswud -I
.\..\..\include -I . -I .\..\..\samples -I C:\CB\wx300\include\wx -I
C:\MinGW\lib\gcc\mingw32\4.5.0\include\c++ -Wall -fdeprecated-macro
-fdebug-compilation-dir C:\CB\wx300\samples\controls -ferror-limit 19
-fmessage-length 0 -mstackrealign -fno-use-cxa-atexit -fobjc-runtime=gcc
-fcxx-exceptions -fexceptions -fdiagnostics-show-option -o
vc_mswud\controls\controls.o -x c++ C:\CB\wx300\samples\controls\controls.cpp
1. .\..\..\include\wx/buffer.h:371:74: current parser token '{'
2. .\..\..\include\wx/buffer.h:360:1: parsing struct/union/class body
'wxCharBuffer'
clang++.exe: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.5.0 (213707)
Target: i686-pc-windows-gnu
Thread model: posix
clang++.exe: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang++.exe: note: diagnostic msg: Error generating preprocessed source(s).
Process terminated with status 1 (8 minute(s), 39 second(s))
3 error(s), 1 warning(s) (8 minute(s), 39 second(s))
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140803/269bf3b4/attachment.html>
More information about the llvm-bugs
mailing list