<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">It looks like the Apple-modified version of the GNU assembler (part of binutils) doesn't support the well-known Intel syntax for assembly language.  For some reason the binutils team decided they wanted to use a different source code syntax than the entire rest of the world.  The instruction "mov eax, ebx" in Intel syntax is "mov.l %ebx, %eax" in GNU syntax.  The problem you observe would also arise with any compiler or OS for x86 that doesn't use an assembler that supports this syntax.<DIV><BR class="khtml-block-placeholder"></DIV><DIV>The easiest solutions that I can think of are 1) disable assembly loops and take the speed hit or 2) build your own copies of vanilla binutils and gcc and then use those to build GROMACS.<DIV><BR class="khtml-block-placeholder"></DIV><DIV>--Tom</DIV><DIV><BR><DIV><DIV>On Mar 29, 2006, at 6:46 PM, Arnie Hagler wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">I have recently attempted to install gromacs on the newly released Macbook pro (w/ intel chips). I am having a problem w/ binutils. From the config.log file:<BR><BR style="color: rgb(0, 0, 255);"><DIV style="color: rgb(0, 0, 255); font-style: italic;">configure:26987: checking whether your compiler can handle assembly files  (*.s)</DIV> <DIV style="color: rgb(0, 0, 255); font-style: italic;">configure:27006: cc -c conftestasm.s</DIV> <DIV style="color: rgb(0, 0, 255); font-style: italic;">configure:27009: $? = 0</DIV> <DIV style="color: rgb(0, 0, 255); font-style: italic;">configure:27012: result: yes</DIV> <DIV style="color: rgb(0, 0, 255); font-style: italic;">configure:27031: checking whether as understands 'lock cmpxchg'</DIV> <DIV style="color: rgb(0, 0, 255); font-style: italic;">configure:27051: cc -c conftest.s</DIV> <DIV style="color: rgb(0, 0, 255); font-style: italic;">conftest.s:1:Unknown pseudo-op: .intel_syntax</DIV> <DIV style="color: rgb(0, 0, 255); font-style: italic;">conftest.s:1:Rest of line ignored. 1st junk character valued 110 (n).</DIV> <DIV style="color: rgb(0, 0, 255); font-style: italic;">conftest.s:3:invalid character '[' in first operand</DIV> <DIV style="color: rgb(0, 0, 255); font-style: italic;">configure:27054: $? = 1</DIV> <DIV style="color: rgb(0, 0, 255); font-style: italic;">configure:27059: result: no</DIV> <DIV style="color: rgb(0, 0, 255);"><SPAN style="font-style: italic;">configure:27061: error: Upgrade to binutils &gt;= 2.12.1 (or disable  assembly loops).</SPAN><BR><BR><SPAN style="color: rgb(0, 0, 0);">corresponding I believe to the code in configure:<BR><BR></SPAN> <DIV style="font-style: italic;"> echo "$as_me:$LINENO: checking whether as understands 'lock cmpxchg'"  &gt;&amp;5</DIV> <DIV style="font-style: italic;">echo $ECHO_N "checking whether as understands 'lock cmpxchg'... $ECHO_C"  &gt;&amp;6</DIV> <DIV style="font-style: italic;">  if test "$enable_x86_64_sse" = "yes"; then</DIV> <DIV style="font-style: italic;">    cat &gt; conftest.s &lt;&lt; EOF</DIV> <DIV style="font-style: italic;">.intel_syntax noprefix</DIV> <DIV style="font-style: italic;">checkasm:</DIV> <DIV style="font-style: italic;">        lock cmpxchg [rsi], ebx</DIV> <DIV style="font-style: italic;">        emms</DIV> <DIV style="font-style: italic;">        ret</DIV> <DIV style="font-style: italic;">EOF</DIV> <DIV style="font-style: italic;">  else</DIV> <DIV style="font-style: italic;">    cat &gt; conftest.s &lt;&lt; EOF</DIV> <DIV style="font-style: italic;">.intel_syntax noprefix</DIV> <DIV style="font-style: italic;">checkasm:</DIV> <DIV style="font-style: italic;">        lock cmpxchg [esi], ebx</DIV> <DIV style="font-style: italic;">        emms</DIV> <DIV style="font-style: italic;">        ret</DIV> <DIV style="font-style: italic;">EOF</DIV> <DIV style="font-style: italic;">  fi</DIV><BR style="color: rgb(0, 0, 0);"><SPAN style="color: rgb(0, 0, 0);">I doubt that the problem is an old version of binutils on this new platform and would prefer not to disable assembly loops.<BR><BR>Any advice would be greatly appreciated.<BR><BR>Thanks<BR></SPAN></DIV><BR><DIV>                 <BR class="khtml-block-placeholder"></DIV><HR size="1">New <A href="http://us.rd.yahoo.com/mail_us/taglines/postman4/*http://us.rd.yahoo.com/evt=39666/*http://beta.messenger.yahoo.com">Yahoo! Messenger with Voice.</A> Call regular phones from your PC for low, low rates.<DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">gmx-developers mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:gmx-developers@gromacs.org">gmx-developers@gromacs.org</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://www.gromacs.org/mailman/listinfo/gmx-developers">http://www.gromacs.org/mailman/listinfo/gmx-developers</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Please don't post (un)subscribe requests to the list. Use the<SPAN class="Apple-converted-space"> </SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">www interface or send it to <A href="mailto:gmx-developers-request@gromacs.org">gmx-developers-request@gromacs.org</A>.</DIV> </BLOCKQUOTE></DIV><BR></DIV></DIV><DIV><DIV></DIV></DIV></BODY></HTML>