On Wed, Dec 16, 2009 at 03:01:41PM -0800, Sherry Moore wrote:
> Add "-Kpic" to CFLAGS.  
  
Already done. Actually autoconf decides to add '-KPIC', but I pass -Kpic
as a CFLAGS (thus it results in cc ... -KPIC -Kpic ...) just to be sure. 
Anyway, the man page says, that on x86 -KPIC is an alias to -Kpic - so
I guess, this is probably not the problem. But if you think there is a
difference, I can try to tweak the default rules to get rid off -KPIC.

Regards,
jel.

> On Wed, Dec 16, 2009 at 11:11:06PM +0100, Jens Elkner wrote:
> > Hi,
> > 
> > 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