From owner-freebsd-amd64@FreeBSD.ORG Sat Feb 21 18:59:18 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB41916A4CE for ; Sat, 21 Feb 2004 18:59:18 -0800 (PST) Received: from mail-in-04.arcor-online.net (mail-in-04.arcor-online.net [151.189.21.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B9B043D1D for ; Sat, 21 Feb 2004 18:59:18 -0800 (PST) (envelope-from mailnull@mips.inka.de) Received: from kemoauc.mips.inka.de (dsl-213-023-058-162.arcor-ip.net [213.23.58.162]) by mail-in-04.arcor-online.net (Postfix) with ESMTP id 1CF908F7C69 for ; Sun, 22 Feb 2004 03:59:17 +0100 (CET) Received: from kemoauc.mips.inka.de (localhost [127.0.0.1]) by kemoauc.mips.inka.de (8.12.10/8.12.10) with ESMTP id i1M2xGhw092535 for ; Sun, 22 Feb 2004 03:59:16 +0100 (CET) (envelope-from mailnull@kemoauc.mips.inka.de) Received: (from mailnull@localhost) by kemoauc.mips.inka.de (8.12.10/8.12.10/Submit) id i1M2xGQG092534 for freebsd-amd64@freebsd.org; Sun, 22 Feb 2004 03:59:16 +0100 (CET) (envelope-from mailnull) From: naddy@mips.inka.de (Christian Weisgerber) Date: Sun, 22 Feb 2004 02:59:15 +0000 (UTC) Message-ID: References: Originator: naddy@mips.inka.de (Christian Weisgerber) To: freebsd-amd64@freebsd.org Subject: Re: CFLAGS+= -fPIC per default? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2004 02:59:18 -0000 Hendrik Scholz 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