From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18989 invoked by alias); 24 Apr 2005 18:30:19 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 18599 invoked from network); 24 Apr 2005 18:30:08 -0000 Received: from unknown (HELO rwcrmhc14.comcast.net) (216.148.227.89) by sourceware.org with SMTP; 24 Apr 2005 18:30:08 -0000 Received: from lucon.org ([24.6.212.230]) by comcast.net (rwcrmhc14) with ESMTP id <20050424183008014009pvvhe>; Sun, 24 Apr 2005 18:30:08 +0000 Received: by lucon.org (Postfix, from userid 1000) id 272C563D5D; Sun, 24 Apr 2005 11:21:51 -0700 (PDT) Date: Sun, 24 Apr 2005 18:30:00 -0000 From: "H. J. Lu" To: sean darcy Cc: binutils@sources.redhat.com Subject: Re: relocation R_X86_64_PC32: but fPIC used Message-ID: <20050424182151.GA15499@lucon.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-SW-Source: 2005-04/txt/msg00649.txt.bz2 On Sun, Apr 24, 2005 at 02:12:00PM -0400, sean darcy wrote: > I'm trying to build smilutils, a video conversion utility, on amd64. > > /usr/bin/ld: .libs/filehandler.o: relocation R_X86_64_PC32 against > `std::basic_string, std::allocator > >::~basic_string()@@GLIBCXX_3.4' can not be used when making a shared > object; recompile with -fPIC > /usr/bin/ld: final link failed: Bad value > collect2: ld returned 1 exit status > > But they're al built with -fPIC: > Is this the same as http://sources.redhat.com/bugzilla/show_bug.cgi?id=584 Can you try the latest Linux binutils? H.J.