<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 16 May 2014 06:01, Jan-Simon Möller <span dir="ltr"><<a href="mailto:dl9pf@gmx.de" target="_blank">dl9pf@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Hi !<br>
<br>
Our buildbot found this regression while compiling the kernel with clang:<br>
<br>
A bisection points to<br>
<br>
475ac5d302ba84ac13d34a9215c29c1a38ca5690 is the first bad commit<br>
commit 475ac5d302ba84ac13d34a9215c29c1a38ca5690<br>
Author: Eric Christopher <<a href="mailto:echristo@gmail.com">echristo@gmail.com</a>><br>
Date: Thu May 15 01:10:50 2014 +0000<br>
<br>
Unify command line handling of MCTargetOptions and remove extra<br>
options and code. No functional change.<br>
<br>
git-svn-id: <a href="https://llvm.org/svn/llvm-project/llvm/trunk@208833" target="_blank">https://llvm.org/svn/llvm-project/llvm/trunk@208833</a><br>
91177308-0d34-0410-b5e6-96231b3b80d8<br>
<br>
8454a4b9373bca5d2a8f596ef1c33826171729bd is the first bad commit<br>
commit 8454a4b9373bca5d2a8f596ef1c33826171729bd<br>
Author: Eric Christopher <<a href="mailto:echristo@gmail.com">echristo@gmail.com</a>><br>
Date: Thu May 15 01:21:56 2014 +0000<br>
<br>
Fill in the options in the MCOptions struct directly like the other<br>
options.<br>
<br>
git-svn-id: <a href="https://llvm.org/svn/llvm-project/cfe/trunk@208834" target="_blank">https://llvm.org/svn/llvm-project/cfe/trunk@208834</a><br>
91177308-0d34-0410-b5e6-96231b3b80d8<br>
<br>
<br>
Before:<br>
<a href="http://buildbot.llvm.linuxfoundation.org/builders/2_llvm/builds/8/steps/shell_3/logs/stdio" target="_blank">http://buildbot.llvm.linuxfoundation.org/builders/2_llvm/builds/8/steps/shell_3/logs/stdio</a><br>
<br>
After:<br>
<a href="http://buildbot.llvm.linuxfoundation.org/builders/2_llvm/builds/41/steps/shell_3/logs/stdio" target="_blank">http://buildbot.llvm.linuxfoundation.org/builders/2_llvm/builds/41/steps/shell_3/logs/stdio</a><br>
<br>
--- snip ---<br>
/tmp/vfpmodule-0d3341.s: Assembler messages:<br>
/tmp/vfpmodule-0d3341.s:64: Error: junk at end of line, first unrecognized<br>
character is `"'<br>
/tmp/vfpmodule-0d3341.s:65: Error: junk at end of line, first unrecognized<br>
character is `"'<br>
/tmp/vfpmodule-0d3341.s:66: Error: junk at end of line, first unrecognized<br>
character is `"'<br>
--- snip ---<br></blockquote><div><br></div><div>I found the same thing.</div><div><br></div><div>The problem is that the 3-arg form of .file is now backwards w.r.t. setting of integrated assembler. To reproduce: </div><div>
<p class="">$ clang -no-integrated-as -S a/x.c -o - -g | grep file<br>.file 1 "a" "x.c"<br><br>vs.<br><br>$ clang -S a/x.c -o - -g | grep file<br>.file 1 "a/x.c"</p><p class="">Binutils doesn't support the 3-arg format, so unless we know we're using the integrated assembler we can't emit that. As I recall, clang -S would emit the 2-argument form unless you passed -integrated-as -S on the command-line.<br>
</p><p class="">Nick</p></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Current state can be tracked:<br>
<a href="http://buildbot.llvm.linuxfoundation.org/waterfall?show=2_llvm" target="_blank">http://buildbot.llvm.linuxfoundation.org/waterfall?show=2_llvm</a><br>
<br>
<br>
Can we fix or revert pls ?<br>
<span class=""><font color="#888888"><br>
--<br>
<br>
Dipl.-Ing.<br>
Jan-Simon Möller<br>
<br>
<a href="mailto:jansimon.moeller@gmx.de">jansimon.moeller@gmx.de</a><br>
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</font></span></blockquote></div><br></div></div>