[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gprofng/29143] gprofng fails to build on x86_64-linux-gnux32
From: |
vladimir.mezentsev at oracle dot com |
Subject: |
[Bug gprofng/29143] gprofng fails to build on x86_64-linux-gnux32 |
Date: |
Thu, 12 May 2022 19:07:46 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=29143
Vladimir Mezentsev <vladimir.mezentsev at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
--- Comment #1 from Vladimir Mezentsev <vladimir.mezentsev at oracle dot com>
---
% cat -n gprofng/libcollector/libcol_util.h | head -270 | tail -13
258 __collector_cas_ptr (void *mem, void *cmp, void *new)
259 {
260 void *r;
261 #if WSIZE(32)
262 r = (void *) __collector_cas_32 ((volatile uint32_t *)mem, (uint32_t)
cmp, (uint32_t)new);
263 #else
264 __asm__ __volatile__("lock; cmpxchgq %2, (%1)"
265 : "=a" (r), "=b" (mem) /* output */
266 : "r" (new), "a" (cmp), "b" (mem) /* input */
267 );
268 #endif
269 return r;
270 }
It looks like WSIZE() is set incorrectly for x86_64-linux-gnux32-gcc
Could you attach the output of:
echo | x86_64-linux-gnux32-gcc -dM -E -
--
You are receiving this mail because:
You are on the CC list for the bug.