[LLVMbugs] [Bug 6409] New: llvm/clang built with --enable-expensive-checks failed to build wine sources with stl_heap error
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Feb 23 12:56:03 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=6409
Summary: llvm/clang built with --enable-expensive-checks failed
to build wine sources with stl_heap error
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: yann at droneaud.fr
CC: llvmbugs at cs.uiuc.edu
Here is the error message from a wine build (dlls/comctl32/trackbar.c):
clang -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_COMCTL32_
-D_REENTRANT -fPIC -Wall -pipe -Wpointer-arith -g -O2 -o trackbar.o
trackbar.c
/usr/lib/gcc/i586-manbo-linux-gnu/4.3.2/../../../../include/c++/4.3.2/bits/stl_heap.h:356:
error: elements in iterator range [__first, __last) do not form a heap
with respect to the predicate __comp.
Objects involved in the operation:
iterator "__first" @ 0x0xff8e2400 {
type =
N11__gnu_debug14_Safe_iteratorIN9__gnu_cxx17__normal_iteratorIPPN4llvm5SUnitENSt6__norm6vectorIS5_SaIS5_EEEEENSt7__debug6vectorIS5_S9_EEEE
(mutable iterator);
state = dereferenceable (start-of-sequence);
references sequence with type `NSt7__debug6vectorIPN4llvm5SUnitESaIS3_EEE' @
0x0xff8e2400
}
iterator "__last" @ 0x0xff8e23ec {
type =
N11__gnu_debug14_Safe_iteratorIN9__gnu_cxx17__normal_iteratorIPPN4llvm5SUnitENSt6__norm6vectorIS5_SaIS5_EEEEENSt7__debug6vectorIS5_S9_EEEE
(mutable iterator);
state = past-the-end;
references sequence with type `NSt7__debug6vectorIPN4llvm5SUnitESaIS3_EEE' @
0x0xff8e23ec
}
0 clang 0x0918b8ca
1 clang 0x0918d9ca
2 0xffffe400 __kernel_sigreturn + 0
Stack dump:
0. Program arguments: /opt/llvm/bin/clang -cc1 -triple i386-pc-linux-gnu
-S -disable-free -main-file-name trackbar.c -pic-level 2 -mdisable-fp-elim
-mconstructor-aliases -target-cpu pentium4 -g -resource-dir
/opt/llvm/lib/clang/1.1 -D__WINESRC__ -D_COMCTL32_ -D_REENTRANT -I. -I.
-I../../include -I../../include -O2 -Wall -Wpointer-arith -fmessage-length 156
-fgnu-runtime -fdiagnostics-show-option -fcolor-diagnostics -o
/home/XXXXXXXX/tmp/cc-jYZwaB.s -x c trackbar.c
1. <eof> parser at end of file
2. Code generation
3. Running pass 'X86 DAG->DAG Instruction Selection' on function
'@TRACKBAR_DrawOneTic'
clang: error: compiler command failed due to signal 6 (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