GNU bug report logs - #12550
-fPIC?

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: libtool; Reported by: Mike Dupont <jamesmikedupont@HIDDEN>; dated Mon, 1 Oct 2012 15:34:01 UTC; Maintainer for libtool is bug-libtool@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 1 Oct 2012 15:33:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 01 11:33:57 2012
Received: from localhost ([127.0.0.1]:36532 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1TIi0K-00025u-5t
	for submit <at> debbugs.gnu.org; Mon, 01 Oct 2012 11:33:57 -0400
Received: from eggs.gnu.org ([208.118.235.92]:52863)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <jamesmikedupont@HIDDEN>) id 1TIfRZ-0006jB-Gp
	for submit <at> debbugs.gnu.org; Mon, 01 Oct 2012 08:49:54 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jamesmikedupont@HIDDEN>) id 1TIfR4-0006dC-Uh
	for submit <at> debbugs.gnu.org; Mon, 01 Oct 2012 08:49:27 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:59185)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jamesmikedupont@HIDDEN>) id 1TIfR4-0006cy-Ra
	for submit <at> debbugs.gnu.org; Mon, 01 Oct 2012 08:49:22 -0400
Received: from eggs.gnu.org ([208.118.235.92]:49112)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jamesmikedupont@HIDDEN>) id 1TIfQz-00034M-UM
	for bug-libtool@HIDDEN; Mon, 01 Oct 2012 08:49:22 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jamesmikedupont@HIDDEN>) id 1TIfQy-0006ZC-KT
	for bug-libtool@HIDDEN; Mon, 01 Oct 2012 08:49:17 -0400
Received: from mail-pa0-f41.google.com ([209.85.220.41]:42216)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jamesmikedupont@HIDDEN>) id 1TIfQy-0006Yb-Cx
	for bug-libtool@HIDDEN; Mon, 01 Oct 2012 08:49:16 -0400
Received: by padfa10 with SMTP id fa10so4519864pad.0
	for <bug-libtool@HIDDEN>; Mon, 01 Oct 2012 05:49:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=googlemail.com; s=20120113;
	h=mime-version:from:date:message-id:subject:to:content-type;
	bh=kmFBrVeA9aqvKFkaRJYdmut0Uks6vEr9kb8seN67b+U=;
	b=jbSsTXJGEhe/IOGrZsmqUvEodvTAxy7gxnZlrtz8eHUIky0dtR2CbyLpgHCa4/KLzJ
	icFFkGiFAAh36ZKTuTzdDA/RgadjigX+lPtkmo/4ZGV2ymgp7UQT/UrZ2mwgq9tBtR5i
	K1k7ahv4TgSwQXqMmPJISqwLsdb7Sgb9qc9lMcq5NDzaZV0wLbT3CScpBVz1cjjiD71m
	3HmMpMQwAwvp5NBMUV8aSK5qfOdfEYFDFtU7MN5rAqMb6bYyXFyeaFyu8gau3VYQe4/d
	1HpEAP/nWkyosZlHeahBkUySdY226PCkwElFDOk2NhOhTGC6q1M7h608oqRgZ3keGCJ5
	g45Q==
Received: by 10.68.222.40 with SMTP id qj8mr40352189pbc.139.1349095755006;
	Mon, 01 Oct 2012 05:49:15 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.66.228.71 with HTTP; Mon, 1 Oct 2012 05:48:53 -0700 (PDT)
From: Mike  Dupont <jamesmikedupont@HIDDEN>
Date: Mon, 1 Oct 2012 14:48:53 +0200
Message-ID: <CAF0qKV2iPcBKJYR1CtNX_wQDADQEWBs_E7P113bOyGtxoDDQRw@HIDDEN>
Subject: -fPIC?
To: bug-libtool@HIDDEN
Content-Type: text/plain; charset=ISO-8859-1
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 208.118.235.17
X-Spam-Score: -4.3 (----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Mon, 01 Oct 2012 11:33:55 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -3.4 (---)

PROBLEM :
in the lib directory, it tries to use automake and libtool to produce
a shared lib, but it failes.

/usr/bin/ld: .libs/expat_justparse_interface.o: relocation R_X86_64_32
against `a local symbol' can not be used w\
hen making a shared object; recompile with -fPIC
.libs/expat_justparse_interface.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [liboverpass-0.1.la] Error 1


SOLUTION :
in the lib dir, where needed :
make CXXFLAGS=-fPIC  CFLAGS=-fPIC

CONTEXT:
Linux gcc10 2.6.32-bpo.5-amd64 #1 SMP Fri Jun 11 08:42:31 UTC 2010
x86_64 GNU/Linux
ltmain.sh (GNU libtool) 1.5.26 Debian 1.5.26-4+lenny1 (1.1220.2.493
2008/02/01 16:58:18)
on the gnu toolserver :
h4ck3rm1k3@gcc10:~/experiments/Overpass-API/src/lib$ pwd
/home/h4ck3rm1k3/experiments/Overpass-API/src/lib
 URL: git@HIDDEN:h4ck3rm1k3/Overpass-API.git

see also, reported bug here  :
 https://github.com/drolbr/Overpass-API/issues/8


-- 
James Michael DuPont
Member of Free Libre Open Source Software Kosova http://flossk.org
Saving wikipedia(tm) articles from deletion http://SpeedyDeletion.wikia.com
Contributor FOSM, the CC-BY-SA map of the world http://fosm.org
Mozilla Rep https://reps.mozilla.org/u/h4ck3rm1k3
Free Software Foundation Europe Fellow http://fsfe.org/support/?h4ck3rm1k3




Acknowledgement sent to Mike Dupont <jamesmikedupont@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-libtool@HIDDEN. Full text available.
Report forwarded to bug-libtool@HIDDEN:
bug#12550; Package libtool. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.