<div dir="ltr">> <span style="font-size:12.8px">I do remember some fixes about unaligned access on some cores, and</span><br style="font-size:12.8px"><span style="font-size:12.8px">> also a few assumptions that other cores are OK with it (though the </span><span style="font-size:12.8px">flag should have supressed it)<br></span><br>Thank you for you opinion. Could you share me the revision numbers of the some fixes from the <a href="http://llvm.org/viewvc/llvm-project/">http://llvm.org/viewvc/llvm-project/</a> (viewvc)? <br><br><br>> <span style="font-size:12.8px"> CPU name, ABI and feature flags you use would already help a lot.<br></span><br>Here is CPU/ABI information. <div><br></div><div><div><br></div><div>* CPU: </div><div>---------------</div><div>Broadcom BCM2836 SoC, with quad-core ARM Cortex-A7 900 MHz processor</div><div>( ARMv7 processor)</div><div><br></div><div>* /proc/cpuinfo</div><div>-------------------------</div><div>processor       : 0</div><div>model name      : ARMv7 Processor rev 5 (v7l)</div><div>BogoMIPS        : 38.40</div><div>Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm</div><div>CPU implementer : 0x41</div><div>CPU architecture: 7</div><div>CPU variant     : 0x0</div><div>CPU part        : 0xc07</div><div>CPU revision    : 5</div><div><br></div><div>processor       : 1</div><div>model name      : ARMv7 Processor rev 5 (v7l)</div><div>BogoMIPS        : 38.40</div><div>Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm</div><div>CPU implementer : 0x41</div><div>CPU architecture: 7</div><div>CPU variant     : 0x0</div><div>CPU part        : 0xc07</div><div>CPU revision    : 5</div><div><br></div><div>processor       : 2</div><div>model name      : ARMv7 Processor rev 5 (v7l)</div><div>BogoMIPS        : 38.40</div><div>Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm</div><div>CPU implementer : 0x41</div><div>CPU architecture: 7</div><div>CPU variant     : 0x0</div><div>CPU part        : 0xc07</div><div>CPU revision    : 5</div><div><br></div><div>Hardware        : BCM2709</div><div>Revision        : a01041</div><div>Serial          : 0000000031a6ca8e</div><div><br></div><div><br></div><div>* /lib/arm-linux-gnueabihf/libc.so.6 </div><div>-------------------------------------------------</div><div>GNU C Library (Ubuntu EGLIBC 2.19-0ubuntu6.7) stable release version 2.19, by Roland McGrath et al.</div><div>Copyright (C) 2014 Free Software Foundation, Inc.</div><div>This is free software; see the source for copying conditions.</div><div>There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A</div><div>PARTICULAR PURPOSE.</div><div>Compiled by GNU CC version 4.8.2.</div><div>Compiled on a Linux 3.13.11 system on 2016-02-16.</div><div>Available extensions:</div><div><span class="" style="white-space:pre">      </span>crypt add-on version 2.1 by Michael Glad and others</div><div><span class="" style="white-space:pre">        </span>GNU Libidn by Simon Josefsson</div><div><span class="" style="white-space:pre">      </span>Native POSIX Threads Library by Ulrich Drepper et al</div><div><span class="" style="white-space:pre">       </span>BIND-8.2.3-T5B</div><div>libc ABIs: UNIQUE</div><div>For bug reporting instructions, please see:</div><div><<a href="https://bugs.launchpad.net/ubuntu/+source/eglibc/+bugs">https://bugs.launchpad.net/ubuntu/+source/eglibc/+bugs</a>>.</div><div><br></div><div><table class="" style="border-spacing:0px;border-collapse:collapse;color:rgb(51,51,51);font-family:Helvetica,arial,nimbussansl,liberationsans,freesans,clean,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:13px;line-height:18.2px"><tbody style=""><tr style=""><td id="file-piproc-txt-L33" class="" style="padding:0px 10px;width:50px;min-width:50px;font-family:Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);text-align:right;white-space:nowrap;vertical-align:top;border-style:solid;border-color:rgb(238,238,238);border-width:0px 1px 0px 0px"><br></td><td id="file-piproc-txt-LC33" class="" style="padding:0px 10px;vertical-align:top;overflow:visible;font-family:Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;word-wrap:normal;white-space:pre">
</td></tr></tbody></table><br><div>BRs,</div><div>Geunsik Lim. </div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jun 18, 2016 at 7:26 PM, 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">On 18 June 2016 at 07:15, Geunsik Lim via llvm-commits<br>
<span class=""><<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a>> wrote:<br>
> We have still got the same issue even though we try to build coreCLR with<br>
> "-mno-unaligned-access" flag of llang /llvm-3.6.<br>
> Anyone who has similar experience Is this issue already resolved in the<br>
> latest clang/llvm version?<br>
<br>
</span>Hi Geunsik,<br>
<br>
All of that smells like unaligned access, indeed. I'm not sure what<br>
can be done, since 3.6 is an old version, with many improvements on<br>
ARM since.<br>
<br>
I do remember some fixes about unaligned access on some cores, and<br>
also a few assumptions that other cores are OK with it (though the<br>
flag should have supressed it).<br>
<br>
The best way to know if this particular problem is fixed upstream is<br>
to try a new version, or trunk. Of course, that has the cost of<br>
re-basing your own tree, but at least that cost can bring the benefit<br>
of you using a newer revision.<br>
<br>
For now, you could try to describe your target and the options you<br>
set. CPU name, ABI and feature flags you use would already help a lot.<br>
<br>
cheers,<br>
--renato<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><a href="http://leemgs.fedorapeople.org" style="font-family:Tahoma" target="_blank">http://leemgs.fedorapeople.org</a><span style="font-family:Tahoma"> </span></div><div>Don't try to avoid pain if you fail.<br>If you decided to face the challenges in life, <br>you can gain a lot by giving your best.<br>Cheolsang Jeong's Book & life<br>--<br></div></div></div>
</div>