From ripley at stats.ox.ac.uk  Wed Apr 18 09:19:07 2012
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Wed, 18 Apr 2012 08:19:07 +0100
Subject: [Rd] R-2.15 compile error: fatal error: internal consistency
 failure
In-Reply-To: <4F8E01FD.1010807@gmail.com>
References: <CACU3EkN08eYEvufjJBCWuG7o9E9D-qYjBMQQ8yNkgnQyTdvv0g@mail.gmail.com>
	<4F8E01FD.1010807@gmail.com>
Message-ID: <4F8E6AEB.1010206@stats.ox.ac.uk>

On 18/04/2012 00:51, Duncan Murdoch wrote:
> On 12-04-17 5:24 PM, andre zege wrote:
>> I am unable to compile R-2.15.0 source. I configured it without problems
>> with options that i used many times before
>>
>> ./configure --prefix=/home/andre/R-2.15.0
>> --enable-byte-compiled-packages=no --with-tcltk --enable-R-shlib=yes

>> Then when i started making it, it died while making lapack,
>> particularly on
>> the line
>>
>> gfortran -fopenmp -fpic -g -O2 -c dlapack3.f -o dlapack3.o
>> dlapack3.f: In function ?dsbgst?:
>> dlapack3.f:12097: fatal error: internal consistency failure
>> compilation terminated.
>> make[4]: *** [dlapack3.o] Error 1
>>
>> Could anyone give me a clue what is going wrong and how could i fix
>> that? I
>> am running Centos 5.5, in particular, the following
>>
>> $ more /proc/version
>> Linux version 2.6.18-194.el5 (mockbuild at builder10.centos.org) (gcc
>> version
>> 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Fri Apr 2 14:58:14 EDT 2010
>
> That looks like a message from your compiler. I think gcc 4.1.2 is
> fairly old (Windows builds are using gcc 4.6.3). Perhaps it's time to
> upgrade.

Correct, it is very old (the date shows 2008).  But then so are the 
lapack sources, and that file is unchanged since 2006 (and R compiled on 
Linux perfectly well over those years).  So if R compiled on this system 
before, the system has changed ....

Your first port of call is to see if there are missing patches on your 
OS, then report to the vendor.  I might see if a lower optimization 
level would work.

>
> Duncan Murdoch
>
> ______________________________________________
> 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] R-2.15 compile error: fatal error: internal consistency failure
Prof Brian Ripley