<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, May 20, 2014 at 8:51 PM, Sean McNeil <span dir="ltr"><<a href="mailto:seanmcneil3@gmail.com" target="_blank">seanmcneil3@gmail.com</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">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Are you bullding on 64-bit machine and
      have: </div></div></blockquote><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"><div bgcolor="#FFFFFF" text="#000000">

<div>
      <br>
      CONFIG_COMPILER_GCC=y<br>
      CONFIG_ANY_TOOLCHAIN=y<br>
      <br>
      ?<br></div></div></blockquote><div><br></div><div>CONFIG_ANY_TOOLCHAIN should not be used in most cases. What does your .xcompile file look like?<br></div><div><br></div><div>I'm building on a 64-bit host using the crossgcc toolchain. Try running the buildgcc script in util/crossgcc, then rm -f .xcompile and run make and see if that helps.</div>


<div><br></div>For reference, here are my .xcompile and .config files as well as the output from make.</div><div class="gmail_quote">​<div class="gmail_chip gmail_drive_chip" style="font-size:13px;width:396px;height:18px;max-height:18px;background-color:rgb(245,245,245);padding:5px;font-weight:bold;border:1px solid rgb(221,221,221)">

<a href="https://docs.google.com/a/google.com/file/d/0BwyScGuaZ2uNLVhwSHh4V0VWY28/edit?usp=drive_web" target="_blank" style="display:inline-block;max-width:366px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;padding:1px 0px;border:none"><img src="https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png" style="vertical-align: bottom; border: none;"> <span dir="ltr" style="vertical-align:bottom">xcompile.txt</span></a></div>

<div>​​<div class="gmail_chip gmail_drive_chip" style="font-size:13px;width:396px;height:18px;max-height:18px;background-color:rgb(245,245,245);padding:5px;font-weight:bold;border:1px solid rgb(221,221,221)"><a href="https://docs.google.com/a/google.com/file/d/0BwyScGuaZ2uNZ2hEcENPQ2kwSHM/edit?usp=drive_web" target="_blank" style="display:inline-block;max-width:366px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;padding:1px 0px;border:none"><img src="https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png" style="vertical-align: bottom; border: none;"> <span dir="ltr" style="vertical-align:bottom">config.txt</span></a></div>

​​<div class="gmail_chip gmail_drive_chip" style="font-size:13px;width:396px;height:18px;max-height:18px;background-color:rgb(245,245,245);padding:5px;font-weight:bold;border:1px solid rgb(221,221,221)"><a href="https://docs.google.com/a/google.com/file/d/0BwyScGuaZ2uNY1phV0c4c0MtM0U/edit?usp=drive_web" target="_blank" style="display:inline-block;max-width:366px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;padding:1px 0px;border:none"><img style="vertical-align: bottom; border: none;" src="https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png"> <span dir="ltr" style="vertical-align:bottom">make.txt</span></a></div>

​</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"><div bgcolor="#FFFFFF" text="#000000"><div>
      <br>
      arch/x86/exec.S:1:0: note: this is the location of the previous
      definition<br>
       /*<br>
       ^<br>
      arch/x86/exec.S: Assembler messages:<br>
      arch/x86/exec.S:43: Error: invalid instruction suffix for `push'<br>
      arch/x86/exec.S:45: Error: invalid instruction suffix for `push'<br>
      arch/x86/exec.S:52: Error: invalid instruction suffix for `push'<br>
      arch/x86/exec.S:53: Error: invalid instruction suffix for `push'<br>
      arch/x86/exec.S:54: Error: invalid instruction suffix for `push'<br>
      arch/x86/exec.S:61: Error: invalid instruction suffix for `push'<br>
      arch/x86/exec.S:62: Error: invalid instruction suffix for `push'<br>
      arch/x86/exec.S:70: Error: invalid instruction suffix for `push'<br>
      arch/x86/exec.S:73: Error: operand type mismatch for `call'<br>
      arch/x86/exec.S:81: Error: invalid instruction suffix for `pop'<br>
      arch/x86/exec.S:91: Error: invalid instruction suffix for `pop'<br>
      arch/x86/exec.S:92: Error: invalid instruction suffix for `pop'<br>
      arch/x86/exec.S:93: Error: invalid instruction suffix for `pop'<br>
      arch/x86/exec.S:97: Error: invalid instruction suffix for `pop'<br>
      make[2]: *** [build/arch/x86/exec.libc.o] Error 1<br>
      make[1]: *** [libpayload] Error 2<br>
      make: *** [filo] Error 2<div><div><br>
      <br>
      <br>
      On 05/21/2014 10:36 AM, David Hendricks wrote:<br>
    </div></div></div><div><div>
    <blockquote type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">On Tue, May 20, 2014 at 6:31 PM, Sean
            McNeil <span dir="ltr"><<a href="mailto:seanmcneil3@gmail.com" target="_blank">seanmcneil3@gmail.com</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">All
              the recent changes to how the compiler is defined have now
              caused payloads like FILO and SeaBIOS to not build on
              X86_64 machines. Is anyone working to fix this?<br>
            </blockquote>
            <div><br>
            </div>
            <div>I just tried building images with each of those as
              payloads and they seemed to compile fine for me. Try "rm
              -f .xcompile" before compiling and see if that helps.</div>
            <div><br>
            </div>
            <div>If that doesn't work, can you post more details such as
              the git version you're on and output of "make" ?</div>
          </div>
          <div><br>
          </div>
          -- <br>
          David Hendricks (dhendrix)<br>
          Systems Software Engineer, Google Inc.
        </div>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br>David Hendricks (dhendrix)<br>Systems Software Engineer, Google Inc.
</div></div>