[Gluster-devel] OS X porting merged

Justin Clift justin at gluster.org
Sun May 4 13:18:00 UTC 2014


On 04/05/2014, at 8:44 AM, Harshavardhana wrote:
> On Sat, May 3, 2014 at 11:48 PM, Harshavardhana
> <harsha at harshavardhana.net> wrote:
>> On Sat, May 3, 2014 at 7:38 PM, Anand Avati <avati at gluster.org> wrote:
>>> Can you reproduce by recompiling with CFLAGS="-g -O0" ?
>> 
>> You got it right - some sort of weird optimization problem, doesn't
>> happen on 10.9 series - looks like a Xcode/Clang bug.
> 
> Looks there are segfaults pretty much at a lot of different places,
> similarly with optimizations.
> 
> - pthread_mutex_lock()
> - poll()
> - _gf_log_internal* - again under fflush()
> 
> Don't know what to make of this - perhaps i should just force -O0 for
> OSX for now.

Cool, I'll try this out on OSX 10.7 today.

As a data point, it's possible to install gcc 4.8 through Homebrew.

  $ brew install gcc

You could try using that (then update your PATH to find /usr/local
stuff), too see if the problem goes away on OSX 10.8 with that.

If it works, that's a useful data point... ;)

+ Justin

--
Open Source and Standards @ Red Hat

twitter.com/realjustinclift




More information about the Gluster-devel mailing list