bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gprofng/28983] New: gprofng: Don't build with -mx32


From: hjl.tools at gmail dot com
Subject: [Bug gprofng/28983] New: gprofng: Don't build with -mx32
Date: Mon, 21 Mar 2022 00:41:41 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=28983

            Bug ID: 28983
           Summary: gprofng: Don't build with -mx32
           Product: binutils
           Version: 2.39 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gprofng
          Assignee: vladimir.mezentsev at oracle dot com
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---

/export/gnu/import/git/sources/binutils-gdb/gprofng/libcollector/libcol_util.h:
Assembler messages:
/export/gnu/import/git/sources/binutils-gdb/gprofng/libcollector/libcol_util.h:264:
Error: incorrect register `%r10d' used with `q' suffix
/export/gnu/import/git/sources/binutils-gdb/gprofng/libcollector/libcol_util.h:264:
Error: incorrect register `%edx' used with `q' suffix

due to:

#if WSIZE(32)
  r = (void *) __collector_cas_32 ((volatile uint32_t *)mem, (uint32_t) cmp,
(uint32_t)new);
#else
  __asm__ __volatile__("lock; cmpxchgq %2, (%1)"
                       : "=a" (r), "=b" (mem) /* output */
                       : "r" (new), "a" (cmp), "b" (mem) /* input */
                       );
#endif

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]