Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Nov 2006 12:30:28 +0100
From:      Jean-Baptiste Quenot <jbq@caraldi.com>
To:        freebsd-ports <ports@freebsd.org>
Subject:   xxx failed on amd64
Message-ID:  <20061117113027.GA91412@vision.anyware>
In-Reply-To: <20061117003255.GB71929@xor.obsecurity.org> <20061117003247.GA71929@xor.obsecurity.org>
References:  <20061117003255.GB71929@xor.obsecurity.org> <20061117003247.GA71929@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Kris Kennaway:

> FYI; can you please investigate and/or report to the developers?
> ...
> ===>  Building for resin-2.1.17_1
> ...
> cc -shared -o common.o stream.o registry.o config.o memory.o
> /usr/bin/ld: stream.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
> stream.o: could not read symbols: Bad value

* Kris Kennaway:

> FYI; can you please investigate and/or report to the developers?
> ...
> ===>  Building for resin-3.0.21
> ...
> cc -shared -L/usr/lib -o libresin_os.so jni_os.o jni_jvmti.o jni_jvmdi.o -pthread
> /usr/bin/ld: jni_os.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
> jni_os.o: could not read symbols: Bad value

I don't see the point of adding special treatment of amd64 in all
my ports that use gcc.  Why this is not handled by the ports
infrastructure?  Is it satisfactory to copy/paste the three needed
lines in all ports?
-- 
     Jean-Baptiste Quenot
aka  John Banana Qwerty
http://caraldi.com/jbq/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061117113027.GA91412>