[LLVMbugs] [Bug 2628] New: Valgrind detected invalid read during llvm-gcc bootstrap
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sun Aug 3 03:16:00 PDT 2008
http://llvm.org/bugs/show_bug.cgi?id=2628
Summary: Valgrind detected invalid read during llvm-gcc bootstrap
Product: new-bugs
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: baldrick at free.fr
CC: llvmbugs at cs.uiuc.edu
Invalid read of size 1
at 0xB5319B: _cpp_convert_input (charset.c:1695)
by 0xB5BC91: read_file_guts (files.c:590)
by 0xB5BD43: read_file (files.c:617)
by 0xB5BE85: should_stack_file (files.c:666)
by 0xB5C0AF: _cpp_stack_file (files.c:744)
by 0xB5C4F1: _cpp_stack_include (files.c:872)
by 0xB54229: do_include_common (directives.c:765)
by 0xB54260: do_include (directives.c:776)
by 0xB53AC5: _cpp_handle_directive (directives.c:484)
by 0xB60E6F: _cpp_lex_token (lex.c:900)
by 0xB65895: cpp_get_token (macro.c:1102)
by 0x40A66D: c_lex_with_flags (c-lex.c:404)
Address 0x66d2d5f is 1 bytes before a block of size 1 alloc'd
at 0x4C26A81: realloc (vg_replace_malloc.c:429)
by 0x115D0C0: xrealloc (xmalloc.c:179)
by 0xB53186: _cpp_convert_input (charset.c:1689)
by 0xB5BC91: read_file_guts (files.c:590)
by 0xB5BD43: read_file (files.c:617)
by 0xB5BE85: should_stack_file (files.c:666)
by 0xB5C0AF: _cpp_stack_file (files.c:744)
by 0xB5C4F1: _cpp_stack_include (files.c:872)
by 0xB54229: do_include_common (directives.c:765)
by 0xB54260: do_include (directives.c:776)
by 0xB53AC5: _cpp_handle_directive (directives.c:484)
by 0xB60E6F: _cpp_lex_token (lex.c:900)
This was while executing:
gcc-4.2.llvm-objects/./prev-gcc/cc1
-quiet
-I.
-I.
-I../../gcc-4.2.llvm/gcc
-I../../gcc-4.2.llvm/gcc/.
-I../../gcc-4.2.llvm/gcc/../include
-I../../gcc-4.2.llvm/gcc/../libcpp/include
-I../../gcc-4.2.llvm/gcc/../libdecnumber
-I../libdecnumber
-Illvm-objects/include
-Illvm.top/llvm/include
-Illvm-objects/../llvm/include
-iprefix
gcc-4.2.llvm-objects/prev-gcc/../lib/gcc/x86_64-unknown-linux-gnu/4.2.1/
-isystem
gcc-4.2.llvm-objects/./prev-gcc/include
-DIN_GCC
-DHAVE_CONFIG_H
-DENABLE_LLVM
-D_DEBUG
-D_GNU_SOURCE
-D__STDC_LIMIT_MACROS
-DSTANDARD_STARTFILE_PREFIX="../../../"
-DSTANDARD_EXEC_PREFIX="/usr/local/gnat-llvm/lib/gcc/"
-DSTANDARD_LIBEXEC_PREFIX="/usr/local/gnat-llvm/libexec/gcc/"
-DDEFAULT_TARGET_VERSION="4.2.1"
-DDEFAULT_TARGET_MACHINE="x86_64-unknown-linux-gnu"
-DSTANDARD_BINDIR_PREFIX="/usr/local/gnat-llvm/bin/"
-DTOOLDIR_BASE_PREFIX="../../../../"
../../gcc-4.2.llvm/gcc/gcc.c
-quiet
-dumpbase
gcc.c
-mtune=generic
-auxbase-strip
gcc.o
-g
-O2
-W
-Wall
-Wwrite-strings
-Wstrict-prototypes
-Wmissing-prototypes
-pedantic
-Wno-long-long
-Wno-variadic-macros
-Wno-overlength-strings
-Wold-style-definition
-Wmissing-format-attribute
-fno-common
-o
/tmp/cco2SriU.s
--
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