From: "kosaki (Motohiro KOSAKI)" <kosaki.motohiro@...>
Date: 2012-12-15T06:36:59+09:00
Subject: [ruby-core:50904] [ruby-trunk - Bug #7485] ruby cannot build on mingw32 or FreeBSD 8 due to missing __sync_val_compare_and_swap


Issue #7485 has been updated by kosaki (Motohiro KOSAKI).


> Please check my ChangeLog message for accuracy.

Looks correct. thank you!
----------------------------------------
Bug #7485: ruby cannot build on mingw32 or FreeBSD 8 due to missing __sync_val_compare_and_swap
https://bugs.ruby-lang.org/issues/7485#change-34752

Author: drbrain (Eric Hodel)
Status: Closed
Priority: Normal
Assignee: drbrain (Eric Hodel)
Category: build
Target version: 2.0.0
ruby -v: trunk


mingw32 GCC has the other atomic builtins but not this one.  The attached patch checks for the GCC builtins used in ruby_atomic.h but not checked for by configure.


-- 
http://bugs.ruby-lang.org/