<div dir="ltr">Hmm looking at the build bot r215843 was the last successful one and r215870 was the first failing. There are three suspect commits on this range:<div><br></div><div><div>r215846</div><div>r215862</div><div>
r215863</div></div><div><br></div><div>CC'ing <span name="Saleem Abdulrasool" class="" style="font-size:13px;font-family:arial,sans-serif">Saleem Abdulrasool</span><span style="font-size:13px;font-family:arial,sans-serif;white-space:nowrap"> who authered those three commits. Maybe he has an idea.</span></div>
<div><span style="font-size:13px;font-family:arial,sans-serif;white-space:nowrap"><br></span></div><div><span style="font-size:13px;font-family:arial,sans-serif;white-space:nowrap">Thanks.</span></div><div><br></div></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 20, 2014 at 8:31 AM, Renato Golin <span dir="ltr"><<a href="mailto:renato.golin@linaro.org" target="_blank">renato.golin@linaro.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Just found out that this is a bug in the clang/llvm compiled with that<br>
particular version, as opposed to that clang/llvm version compiled<br>
with an older clang. This will make finding the bug a lot harder... :(<br>
<br>
We may have to revert whatever patch broke it before we can actually fix it.<br>
<br>
cheers,<br>
--renato<br>
<div class="HOEnZb"><div class="h5"><br>
On 19 August 2014 22:12, Renato Golin <<a href="mailto:renato.golin@linaro.org">renato.golin@linaro.org</a>> wrote:<br>
> Hi Ismail,<br>
><br>
> Our buildbot picked it up:<br>
><br>
> <a href="http://lab.llvm.org:8011/builders/clang-native-arm-cortex-a15-self-host/builds/1985" target="_blank">http://lab.llvm.org:8011/builders/clang-native-arm-cortex-a15-self-host/builds/1985</a><br>
><br>
> I'm bisecting right now.<br>
><br>
> cheers,<br>
> --renato<br>
><br>
> On 19 August 2014 14:31, İsmail Dönmez <<a href="mailto:ismail@donmez.ws">ismail@donmez.ws</a>> wrote:<br>
>> Hi,<br>
>><br>
>> To reproduce, get <a href="http://www.cs.utah.edu/~aek/code/card.cpp" target="_blank">http://www.cs.utah.edu/~aek/code/card.cpp</a> and<br>
>><br>
>> [~]> clang++ -O1 card.cpp -o card<br>
>> clang-3.6: ../lib/Support/IntervalMap.cpp:138: IdxPair<br>
>> llvm::IntervalMapImpl::distribute(unsigned int, unsigned int, unsigned int,<br>
>> const unsigned int *, unsigned int *, unsigned int, bool): Assertion `Sum ==<br>
>> Elements + Grow && "Bad distribution sum"' failed.<br>
>> Stack dump:<br>
>> 0. Program arguments: /havana/dist/llvm/bin/clang-3.6 -cc1 -triple<br>
>> armv7-unknown-linux-gnueabihf -emit-obj -disable-free -main-file-name<br>
>> card.cpp -mrelocation-model static -mdisable-fp-elim -fmath-errno<br>
>> -masm-verbose -mconstructor-aliases -fuse-init-array -target-cpu cortex-a8<br>
>> -target-abi aapcs-linux -mfloat-abi hard -dwarf-column-info -resource-dir<br>
>> /havana/dist/llvm/bin/../lib/clang/3.6.0 -internal-isystem<br>
>> /usr/lib/gcc/arm-linux-gnueabihf/4.9/../../../../include/c++/4.9<br>
>> -internal-isystem<br>
>> /usr/lib/gcc/arm-linux-gnueabihf/4.9/../../../../include/c++/4.9/arm-linux-gnueabihf<br>
>> -internal-isystem<br>
>> /usr/lib/gcc/arm-linux-gnueabihf/4.9/../../../../include/c++/4.9/backward<br>
>> -internal-isystem<br>
>> /usr/lib/gcc/arm-linux-gnueabihf/4.9/../../../../include/arm-linux-gnueabihf/c++/4.9<br>
>> -internal-isystem /usr/local/include -internal-isystem<br>
>> /havana/dist/llvm/bin/../lib/clang/3.6.0/include -internal-externc-isystem<br>
>> /usr/include/arm-linux-gnueabihf -internal-externc-isystem /include<br>
>> -internal-externc-isystem /usr/include -O1 -fdeprecated-macro<br>
>> -fdebug-compilation-dir /home/ismail -ferror-limit 19 -fmessage-length 104<br>
>> -mstackrealign -fno-signed-char -fobjc-runtime=gcc -fcxx-exceptions<br>
>> -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -o<br>
>> /havana/tmp/card-13c953.o -x c++ card.cpp<br>
>> 1. <eof> parser at end of file<br>
>> 2. Code generation<br>
>> 3. Running pass 'Function Pass Manager' on module 'card.cpp'.<br>
>> 4. Running pass 'Greedy Register Allocator' on function<br>
>> '@_Z1T1vS_RfRS_'<br>
>> clang-3.6: error: unable to execute command: Aborted<br>
>> clang-3.6: error: clang frontend command failed due to signal (use -v to see<br>
>> invocation)<br>
>> clang version 3.6.0 (215976)<br>
>> Target: armv7l-unknown-linux-gnueabihf<br>
>> Thread model: posix<br>
>> clang-3.6: note: diagnostic msg: PLEASE submit a bug report to<br>
>> <a href="http://llvm.org/bugs/" target="_blank">http://llvm.org/bugs/</a> and include the crash backtrace, preprocessed source,<br>
>> and associated run script.<br>
>> clang-3.6: note: diagnostic msg:<br>
>> ********************<br>
>><br>
>> PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:<br>
>> Preprocessed source(s) and associated run script(s) are located at:<br>
>> clang-3.6: note: diagnostic msg: /havana/tmp/card-e32b8e.cpp<br>
>> clang-3.6: note: diagnostic msg: /havana/tmp/card-e32b8e.sh<br>
>> clang-3.6: note: diagnostic msg:<br>
>><br>
>> ********************<br>
>><br>
>> This is on a native ARMv7 host (BeagleBone Black) and r215896 works fine.<br>
>><br>
>><br>
>> _______________________________________________<br>
>> cfe-commits mailing list<br>
>> <a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
>> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
>><br>
</div></div></blockquote></div><br></div>