Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Feb 2004 02:59:15 +0000 (UTC)
From:      naddy@mips.inka.de (Christian Weisgerber)
To:        freebsd-amd64@freebsd.org
Subject:   Re: CFLAGS+= -fPIC per default?
Message-ID:  <c195u3$2q5s$1@kemoauc.mips.inka.de>
References:  <BD6DAE5F-64A6-11D8-ACAA-000A95BAD088@raisdorf.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hendrik Scholz <hscholz@raisdorf.net> wrote:

> I'm just fixing a bunch of ports reported broken on amd64 by bento.
> Most of these errors are related to a common linker problem:
> ld: foo.o: relocation R_X86_64_32 can not be used when making a shared 
> object; recompile with -fPIC

Why are these shared objects not built with -fPIC in the first place?

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c195u3$2q5s$1>