Of the issues I have reported so far, this is the only one I am aware of
that has not yet resulted in a PR (or at least an issue).
The patch to fix this issue appears below.

-Paul

--- a/opal/include/opal/sys/ia32/timer.h
+++ b/opal/include/opal/sys/ia32/timer.h
@@ -35,9 +35,9 @@ opal_sys_timer_get_cycles(void)
     int tmp;

     __asm__ __volatile__(
-                         "xchg{l} {%%}ebx, %1\n"
+                         "xchgl %%ebx, %1\n"
                          "cpuid\n"
-                         "xchg{l} {%%}ebx, %1\n"
+                         "xchgl %%ebx, %1\n"
                          "rdtsc\n"
                          : "=A"(ret), "=r"(tmp)
                          :: "ecx");


On Mon, May 2, 2016 at 1:48 PM, Paul Hargrove <phhargr...@lbl.gov> wrote:

> The 2.0.0rc2 tarball fails to compile on Linux/x86-64 with the Sun/Oracle
> Studio compilers when using "-m32".
> I have reproduced with the 12.2 and 12.4 compiler releases (I have others,
> but only tested those 2).
>
> The error appears to be the same one I previously reported multiple times.
> The latest report was in
> https://www.open-mpi.org/community/lists/devel/2015/07/17585.php
> FWIW: that posting includes a 2-line patch that fixes the problem for me.
>
> -Paul
>
> --
> Paul H. Hargrove                          phhargr...@lbl.gov
> Computer Languages & Systems Software (CLaSS) Group
> Computer Science Department               Tel: +1-510-495-2352
> Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900
>



-- 
Paul H. Hargrove                          phhargr...@lbl.gov
Computer Languages & Systems Software (CLaSS) Group
Computer Science Department               Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900

Reply via email to