[LLVMbugs] [Bug 11926] Clang segfaults during bootstrap (warning related?)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Feb 5 10:03:40 PST 2012


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

Ted Kremenek <kremenek at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #5 from Ted Kremenek <kremenek at apple.com> 2012-02-05 12:03:40 CST ---
(In reply to comment #0)

> llvm[1]: Compiling regfree.c for Release build
> clang: note: diagnostic msg: Preprocessed source(s) and associated run
> script(s) are located at:
> clang: note: diagnostic msg: /tmp/regexec-DxeKBH.i
> clang: note: diagnostic msg: /tmp/regexec-DxeKBH.sh
> 
> Delta reduced to:
> 
>  % cat test.ii
> 
> Stack dump:
> 0.      Program arguments: /usr/local/bin/clang -cc1 -emit-obj -O0 -Wall -x c++
> -o /dev/null test.ii 
> 1.      <eof> parser at end of file
> 2.      test.ii:1:1: parsing namespace 'std'
> 3.      test.ii:92:1: parsing function body 'CreateMetadataSlot'
> [1]    16335 segmentation fault  /usr/local/bin/clang -cc1 -emit-obj -O0 -Wall
> -x c++ -o /dev/null test.ii 2>&
> 
> Segfault only happens with -Wall.

This is confusing.  The original crash is on regexec.c, but the delta-reduced
test case is in a C++ file.  Did this crash occur multiple times?

Others haven't reported this, and none of the buildbots are failing.  Perhaps a
build issue? (e.g., llvm and clang need to be updated and rebuilt together?)

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