building modules on x86_64
jelmer at samba.org
Mon Nov 3 00:38:25 GMT 2003
On Mon, Nov 03, 2003 at 12:34:23AM +0000, Andrew Bartlett wrote about 'Re: building modules on x86_64':
> On Mon, Nov 03, 2003 at 01:30:56AM +0100, Jelmer Vernooij wrote:
> > On Mon, Nov 03, 2003 at 12:31:24AM +0100, Guenther Deschner wrote about 'building modules on x86_64':
> > > hi,
> > > while building samba 3_0 cvs on x86_64 my build stops in the examples/VFS -
> > > section:
> > > Linking shadow_copy_test.so
> > > /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.1/../../../../x86_64-suse-linux/bin/ld:
> > > shadow_copy_test.o: relocation R_X86_64_32 can not be used when making a
> > > shared object; recompile with -fPIC
> > > is this the correct fix?
> > Yes, that appears to be the correct way to fix this. I'm not sure
> > whether we compile all modules with -fPIC already, but we should.
> Doens't configure figure out the 'right' way to build a .so? -fPIC is
> good for GCC, but what about everything else?
configure figures them out correctly (PICFLAGS), but we don't use it
for modules yet.
Jelmer Vernooij <jelmer at samba.org>
Last CVS commit: Sun Oct 19 22:44:32 2003 (14d 1h 52m ago)
Bugs in bugzilla: 12
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20031103/2e4a918e/attachment.bin
More information about the samba-technical