From bhh at xs4all.nl  Sun Oct  7 19:11:01 2012
From: bhh at xs4all.nl (Berend Hasselman)
Date: Sun, 7 Oct 2012 19:11:01 +0200
Subject: [Rd] malloc error in tab-completion: OS X
In-Reply-To: <CAAmySGNgB6S3Ww1e1mhVqxg4T4qn143-H3=dejkU+Y7PCJPakA@mail.gmail.com>
References: <CAAmySGNgB6S3Ww1e1mhVqxg4T4qn143-H3=dejkU+Y7PCJPakA@mail.gmail.com>
Message-ID: <B83EA524-7DB6-4E6B-A5F4-8F6302460756@xs4all.nl>


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.

[.../~]: gfortran --version
GNU Fortran (GCC) 4.2.1 (Apple Inc. build 5664)
Copyright (C) 2007 Free Software Foundation, Inc.


Berend



[Rd] malloc error in tab-completion: OS X
Berend Hasselman