An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20120417/24e1a734/attachment.pl>
R-2.15 compile error: fatal error: internal consistency failure
3 messages · andre zege, Duncan Murdoch, Brian Ripley
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. Duncan Murdoch
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