Received: from eggs.gnu.org ([2001:4830:134:3::10]:49747) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UqK6W-0003pm-8e for qemu-devel@nongnu.org; Sat, 22 Jun 2013 05:27:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UqK6U-0006Ap-Qu for qemu-devel@nongnu.org; Sat, 22 Jun 2013 05:27:32 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:55412) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UqK6U-0006AZ-Jc for qemu-devel@nongnu.org; Sat, 22 Jun 2013 05:27:30 -0400 From: Michael Tokarev Date: Sat, 22 Jun 2013 13:24:36 +0400 Message-Id: <1371893076-9643-18-git-send-email-mjt@msgid.tls.msk.ru> In-Reply-To: <1371893076-9643-1-git-send-email-mjt@msgid.tls.msk.ru> References: <1371893076-9643-1-git-send-email-mjt@msgid.tls.msk.ru> Subject: [Qemu-devel] [PULL 17/17] configure: Add signed*signed check to [u]int128_t test List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Peter Maydell , Michael Tokarev , qemu-devel@nongnu.org From: Peter Maydell clang 3.3 with -fsanitize=undefined will fail to link code containing an int128_t * int128_t multiply (http://llvm.org/bugs/show_bug.cgi?id=16404) so add this to our configure test for whether [u]int128_t are usable. Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Signed-off-by: Michael Tokarev --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index bb126e8..0e0adde 100755 --- a/configure +++ b/configure @@ -3329,6 +3329,7 @@ __uint128_t b; int main (void) { a = a + b; b = a * b; + a = a * a; return 0; } EOF -- 1.7.10.4