Re: [Rd] R + OS X + gcc 3.5 = not quite there ..

From: Simon Urbanek <>
Date: Sun 01 Aug 2004 - 19:21:40 EST

On Jul 31, 2004, at 9:15 PM, Jan de Leeuw wrote:

> [cabledoc70:Developer/R/R-devel] deleeuw% bin/R
> Error in lazyLoadDBfetch(key, datafile, compressed, envhook) :
> internal error in decompress1

I forgot to post it here, but the problem I had was in libz (thanks to Luke for some tips). When I used system's libz then the problems went away. I suspect the supplied libz is miscompiled in some way, however I had no time yet to track it down exactly.

> gfortran -fno-common -g -O2 -c ppr.f -o ppr.o
> /var/tmp//ccSqEJAf.s:8241:FATAL:Symbol __BLOCK_DATA____ already
> defined.

Heh, I suspect it's the same code that my g77 cross-compiler hates, as I posed here few days ago ... got no response so far :/

> and the "bad restore file magic number" errors are there as well.

That's the libz thing: what happens is the following: first load opens the file as gzip, that should work, but for some reason it doesn't, so load falls back to raw mode and tries to read it as-is, however then the magic number is bogus since it's actually gzipped, so load fails. If you use system's libz the file is decompressed correctly.

Simon mailing list Received on Sun Aug 01 19:25:43 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:45:04 EST