<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Clang crashed when building with -fstack-protector-all -fcatch-undefined-behavior"
href="http://llvm.org/bugs/show_bug.cgi?id=20754">20754</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Clang crashed when building with -fstack-protector-all -fcatch-undefined-behavior
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>3.4
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Frontend
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>notorca@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=12937" name="attach_12937" title="Preprocessed source and run script">attachment 12937</a> <a href="attachment.cgi?id=12937&action=edit" title="Preprocessed source and run script">[details]</a></span>
Preprocessed source and run script
libtool: compile: clang -DHAVE_CONFIG_H -I. -I./include -I./celt -I./silk
-I./silk/float -I./silk/fixed -O1 -g -fstack-protector-all
-fcatch-undefined-behavior -fvisibility=hidden -W -Wall -Wextra -Wcast-align
-Wnested-externs -Wshadow -Wstrict-prototypes -MT silk/fixed/solve_LS_FIX.lo
-MD -MP -MF silk/fixed/.deps/solve_LS_FIX.Tpo -c silk/fixed/solve_LS_FIX.c
-fPIC -DPIC -o silk/fixed/.libs/solve_LS_FIX.o
clang: warning: argument '-fcatch-undefined-behavior' is deprecated, use
'-fsanitize=undefined-trap -fsanitize-undefined-trap-on-error' instead
libtool: compile: clang -DHAVE_CONFIG_H -I. -I./include -I./celt -I./silk
-I./silk/float -I./silk/fixed -O1 -g -fstack-protector-all
-fcatch-undefined-behavior -fvisibility=hidden -W -Wall -Wextra -Wcast-align
-Wnested-externs -Wshadow -Wstrict-prototypes -MT
silk/fixed/warped_autocorrelation_FIX_neon.lo -MD -MP -MF
silk/fixed/.deps/warped_autocorrelation_FIX_neon.Tpo -c
silk/fixed/warped_autocorrelation_FIX_neon.c -fPIC -DPIC -o
silk/fixed/.libs/warped_autocorrelation_FIX_neon.o
clang: warning: argument '-fcatch-undefined-behavior' is deprecated, use
'-fsanitize=undefined-trap -fsanitize-undefined-trap-on-error' instead
Stack dump:
0. Program arguments: /usr/bin/clang -cc1 -triple
armv7-unknown-linux-gnueabihf -S -disable-free -disable-llvm-verifier
-main-file-name warped_autocorrelation_FIX_neon.c -mrelocation-model pic
-pic-level 2 -mdisable-fp-elim -fmath-errno -mconstructor-aliases
-fuse-init-array -target-cpu cortex-a8 -target-abi aapcs-linux -mfloat-abi hard
-target-linker-version 2.24 -g -coverage-file
/tmp/warped_autocorrelation_FIX_neon-f6a71e.s -resource-dir
/usr/bin/../lib/clang/3.4.2 -dependency-file
silk/fixed/.deps/warped_autocorrelation_FIX_neon.Tpo -sys-header-deps -MP -MT
silk/fixed/warped_autocorrelation_FIX_neon.lo -D HAVE_CONFIG_H -D PIC -I . -I
./include -I ./celt -I ./silk -I ./silk/float -I ./silk/fixed -internal-isystem
/usr/local/include -internal-isystem /usr/bin/../lib/clang/3.4.2/include
-internal-externc-isystem /include -internal-externc-isystem /usr/include -O1
-W -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes
-fno-dwarf-directory-asm -fdebug-compilation-dir /home/lorca/src/opus
-ferror-limit 19 -fmessage-length 150 -fvisibility hidden
-fsanitize=alignment,array-bounds,bool,enum,float-cast-overflow,float-divide-by-zero,integer-divide-by-zero,null,object-size,return,shift,signed-integer-overflow,unreachable,vla-bound
-fsanitize-undefined-trap-on-error -stack-protector 2 -mstackrealign
-fno-signed-char -fobjc-runtime=gcc -fdiagnostics-show-option
-fcolor-diagnostics -vectorize-slp -o
/tmp/warped_autocorrelation_FIX_neon-f6a71e.s -x c
silk/fixed/warped_autocorrelation_FIX_neon.c
1. <eof> parser at end of file
2. silk/fixed/warped_autocorrelation_FIX_neon.c:52:6
<Spelling=silk/fixed/warped_autocorrelation_FIX_neon.c:52:17>: LLVM IR
generation of declaration 'silk_warped_autocorrelation_FIX'
3. silk/fixed/warped_autocorrelation_FIX_neon.c:52:6
<Spelling=silk/fixed/warped_autocorrelation_FIX_neon.c:52:17>: Generating code
for declaration 'silk_warped_autocorrelation_FIX'
4. silk/fixed/warped_autocorrelation_FIX_neon.c:70:35: LLVM IR generation of
compound statement ('{}')
5. silk/fixed/warped_autocorrelation_FIX_neon.c:84:9
<Spelling=silk/fixed/warped_autocorrelation_FIX_neon.c:38:41>: LLVM IR
generation of compound statement ('{}')
6. silk/fixed/warped_autocorrelation_FIX_neon.c:84:9
<Spelling=silk/fixed/warped_autocorrelation_FIX_neon.c:74:14>: LLVM IR
generation of compound statement ('{}')
7. silk/fixed/warped_autocorrelation_FIX_neon.c:84:9
<Spelling=/usr/bin/../lib/clang/3.4.2/include/arm_neon.h:4236:47>: LLVM IR
generation of compound statement ('{}')
clang: error: unable to execute command: Segmentation fault
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.4.2 (tags/RELEASE_34/dot2-final)
Target: armv7l-unknown-linux-gnueabihf
libtool: compile: clang -DHAVE_CONFIG_H -I. -I./include -I./celt -I./silk
-I./silk/float -I./silk/fixed -O1 -g -fstack-protector-all
-fcatch-undefined-behavior -fvisibility=hidden -W -Wall -Wextra -Wcast-align
-Wnested-externs -Wshadow -Wstrict-prototypes -MT silk/fixed/solve_LS_FIX.lo
-MD -MP -MF silk/fixed/.deps/solve_LS_FIX.Tpo -c silk/fixed/solve_LS_FIX.c -o
silk/fixed/solve_LS_FIX.o >/dev/null 2>&1
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> and include the crash backtrace, preprocessed source, and
associated run script.
clang: note: diagnostic msg:
********************</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>