From ripley at stats.ox.ac.uk  Sun Oct  7 20:51:53 2012
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Sun, 07 Oct 2012 19:51:53 +0100
Subject: [Rd] malloc error in tab-completion: OS X
In-Reply-To: <B83EA524-7DB6-4E6B-A5F4-8F6302460756@xs4all.nl>
References: <CAAmySGNgB6S3Ww1e1mhVqxg4T4qn143-H3=dejkU+Y7PCJPakA@mail.gmail.com>
	<B83EA524-7DB6-4E6B-A5F4-8F6302460756@xs4all.nl>
Message-ID: <5071CF49.2010606@stats.ox.ac.uk>

On 07/10/2012 18:11, Berend Hasselman wrote:
>
> On 07-10-2012, at 17:34, R. Michael Weylandt wrote:
>
>> I've just built R-devel (r60889) from source on my Mac OS X 10.6.8
>> using gcc from Xcode and gfortran from Simon. I didn't use all the
>> recommended configuration flags only
>>
>> .....
>> My compiler info follows
>>
>> mweylandt-laptop:~ michaelweylandt$ gcc --version
>> i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
>> Copyright (C) 2007 Free Software Foundation, Inc.
>>
>> mweylandt-laptop:~ michaelweylandt$ gfortran --version
>> GNU Fortran (GCC) 4.2.1 (Apple Inc. build 5664)
>> Copyright (C) 2007 Free Software Foundation, Inc.
>>
>> I do think that it's only a problem with my local build, as I can't
>> replicate with Simon's nightly builds (http://r.research.att.com/),
>> which are at r60887 currently. Is there anything else I should check
>> with my setup? I don't see any advice on this particular issue in the
>> R installation manual, but I easily could have overlooked it.
>
> Just a thought.
>
> According to http://r.research.att.com/tools/ shouldn't you be using gcc 5664 on Snow Leopard.
> If I read the tools page correctly you seem to be using a Lion version of gcc.
> On my 10.6.8 I have
>
> [.../~]: gcc --version
> i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)
> Copyright (C) 2007 Free Software Foundation, Inc.

His and yours both say darwin10.  The Lion version says darwin11.  So it 
is claiming to be an OS 10.6.x aka Darwin 10.x compiler.


>
> [.../~]: gfortran --version
> GNU Fortran (GCC) 4.2.1 (Apple Inc. build 5664)
> Copyright (C) 2007 Free Software Foundation, Inc.
>
>
> Berend
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



[Rd] malloc error in tab-completion: OS X
Prof Brian Ripley