On Wed, Dec 16, 2009 at 03:25:25PM -0800, Enrico Perla wrote:

>      couple of things
>    compiling wiht -g should actually give us a 'name' for that unknown symbol.
>    are you sure that all the objects that then will build libR.so have been
>    properly compiled with -Kpic ?

Well, flags are set and at least the output says so.

>    May I also see your entire CFLAGS and LDFLAGS ?

Sure:
CC=cc \
F77=f95 \
CFLAGS=-fsimple=0 -xlibmil -xlibmopt -m64 -xarch=sse3 -xdepend \
-xcrossfile -xO4 -I/export/scratch/elkner/build/root4build/usr/include \
-I/usr/sfw/include
FFLAGS=-Kpic -g -nofstore -xmodel=medium -xvector=simd -fsimple=0 \
-xlibmil -xlibmopt -m64 -xarch=sse3 -xdepend -xcrossfile -xO4 \
-I/export/scratch/elkner/build/root4build/usr/include -I/usr/sfw/include \
FCFLAGS=-Kpic -g -nofstore -xmodel=medium -xvector=simd -fsimple=0 \
-xlibmil -xlibmopt -m64 -xarch=sse3 -xdepend -xcrossfile -xO4 \
-I/export/scratch/elkner/build/root4build/usr/include -I/usr/sfw/include \
LDFLAGS=-xmodel=medium -Wl,-z,defs -Wl,-z,now -m64 \
-L/export/scratch/elkner/build/root4build/usr/lib/amd64 \
-L/usr/sfw/lib/amd64 \
 \
./configure --prefix=/usr --disable-rpath \
--enable-shared --disable-static --enable-R-shlib --enable-BLAS-shlib \
--with-blas=sunperf --with-lapack --with-system-zlib --with-system-bzlib \
--with-system-pcre

The complete make.log and output is availabve via
http://iws.cs.uni-magdeburg.de/~elkner/studio/make.out
http://iws.cs.uni-magdeburg.de/~elkner/studio/mk.log

> On Wed, Dec 16, 2009 at 11:11:06PM +0100, Jens Elkner wrote:
> 
> trying to compile R, but always get:
> 
> ld.so.1: R: fatal: relocation error: R_AMD64_32: file
> /export/scratch/elkner/build/R-2.10.1/lib/libR.so: symbol (unknown):
> value 0xfffffd7fedbd0000 does not fit
> 
> Compiled the stuff already with several flag combinations, incl.
> CFLAGS with '-xmodel=medium -m64' and
> LDFLAGS with '-xmodel=medium -Wl,-z,defs -Wl,-z,now -m64'
> (amd64,snv_b126,studio 12.1), but seems to be unfixable :(.
> 
> Any hints, what's going wrong or how to find out that "strange" symbol
> in question/where it comes from?
>       

-- 
Otto-von-Guericke University     http://www.cs.uni-magdeburg.de/
Department of Computer Science   Geb. 29 R 027, Universitaetsplatz 2
39106 Magdeburg, Germany         Tel: +49 391 67 12768
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to