<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">The Nexus5 build is still a work in
      progress. Not yet working.<br>
      <br>
      However, the error message you've posted makes it appear that the
      x86 version of the assembler is being called instead of the ARM
      one. No doubt since it is a 3.4 kernel it doesn't have all the
      appropriate patches in place since we spend a lot more time on the
      mainline patches.<br>
      <br>
      Cross posting to the LLVMLinux list so that others who are
      interested might be able to help you.<br>
      <br>
      Behan<br>
      <br>
      On 11/13/14 10:13, Davide Rombolà wrote:<br>
    </div>
    <blockquote
cite="mid:CALaA12Me3Qz22Md5Pkpy-xrBZvTV3=dRT6SPPKg0gWFz3zGoLA@mail.gmail.com"
      type="cite">
      <p dir="ltr">I'm on linux kernel 3.4 arch mach-msm (nexus 5), the
        error is:</p>
      <p dir="ltr">/usr/bin/as: unrecognized option '-mfloat-abi=softfp'
        clang-3: error: assembler command failed with exit code 1</p>
      <div class="gmail_quote">Il 13/nov/2014 18:43 "Behan Webster" &lt;<a
          moz-do-not-send="true" href="mailto:behanw@converseincode.com">behanw@converseincode.com</a>&gt;
        ha scritto:<br type="attribution">
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div text="#000000" bgcolor="#FFFFFF">
            <div>On 11/13/14 03:42, Davide Rombolà wrote:<br>
            </div>
            <blockquote type="cite">
              <div dir="ltr"><font face="arial, helvetica, sans-serif">Hi!</font>
                <div><font face="arial, helvetica, sans-serif">i'm
                    trying to compile linux kernel for arm with
                    clang-3.5.</font></div>
                <div><font face="arial, helvetica, sans-serif">i
                    followed this guide <a moz-do-not-send="true"
                      href="http://llvm.linuxfoundation.org/index.php/Main_Page"
                      target="_blank">http://llvm.linuxfoundation.org/index.php/Main_Page</a>
                    and all went ok.</font></div>
              </div>
            </blockquote>
            Depending on which kernel version you are building, you will
            need a clang newer than 3.5. Currently only the pre 3.6
            clang will work.<br>
            <br>
            <blockquote type="cite">
              <div dir="ltr">
                <div><font face="arial, helvetica, sans-serif"><br>
                  </font></div>
                <div><font face="arial, helvetica, sans-serif">On
                    compilation clang gave me error on <font
                      color="#000000">"<span
                        style="line-height:16.7999992370605px;white-space:pre-wrap">-mfloat-abi=soft"

                        flag.</span></font></font></div>
              </div>
            </blockquote>
            I'd have to see the error. But remember that the kernel
            can't use floating point opcodes (with very few exceptions).<br>
            <br>
            <blockquote type="cite">
              <div dir="ltr">
                <div><font color="#000000" face="arial, helvetica,
                    sans-serif"><span
                      style="line-height:16.7999992370605px;white-space:pre-wrap"><br>
                    </span></font></div>
                <div><font face="arial, helvetica, sans-serif"><font
                      color="#000000"><span
                        style="line-height:16.7999992370605px;white-space:pre-wrap">this

                        flag only apper in "</span></font><font
                      color="#000000"><span
                        style="line-height:16.7999992370605px;white-space:pre-wrap">arch/arm/vfp/Makefile",

                        i deleted it but clang still gave me the same
                        error.</span></font></font></div>
                <div><font color="#000000" face="arial, helvetica,
                    sans-serif"><span
                      style="line-height:16.7999992370605px;white-space:pre-wrap"><br>
                    </span></font></div>
                <div><font color="#000000" face="arial, helvetica,
                    sans-serif"><span
                      style="line-height:16.7999992370605px;white-space:pre-wrap">Could

                      you suggest me a solution for this?</span></font></div>
                <div><font color="#000000" face="arial, helvetica,
                    sans-serif"><span
                      style="line-height:16.7999992370605px;white-space:pre-wrap"><br>
                    </span></font></div>
                <div><font color="#000000" face="arial, helvetica,
                    sans-serif"><span
                      style="line-height:16.7999992370605px;white-space:pre-wrap">Thanks

                      for your time,</span></font></div>
              </div>
            </blockquote>
            Like I said, I'd need to see the error. I don't have enough
            info to be able to even guess.<br>
            <br>
            Behan<br>
            <pre cols="72">-- 
Behan Webster
<a moz-do-not-send="true" href="mailto:behanw@converseincode.com" target="_blank">behanw@converseincode.com</a></pre>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Behan Webster
<a class="moz-txt-link-abbreviated" href="mailto:behanw@converseincode.com">behanw@converseincode.com</a></pre>
  </body>
</html>