GNU bug report logs - #12550
-fPIC?

Previous Next

Package: libtool;

Reported by: Mike Dupont <jamesmikedupont <at> googlemail.com>

Date: Mon, 1 Oct 2012 15:34:01 UTC

Severity: normal

Done: Mike Frysinger <vapier <at> gentoo.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12550 in the body.
You can then email your comments to 12550 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-libtool <at> gnu.org:
bug#12550; Package libtool. (Mon, 01 Oct 2012 15:34:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mike Dupont <jamesmikedupont <at> googlemail.com>:
New bug report received and forwarded. Copy sent to bug-libtool <at> gnu.org. (Mon, 01 Oct 2012 15:34:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mike  Dupont <jamesmikedupont <at> googlemail.com>
To: bug-libtool <at> gnu.org
Subject: -fPIC?
Date: Mon, 1 Oct 2012 14:48:53 +0200
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 <at> gcc10:~/experiments/Overpass-API/src/lib$ pwd
/home/h4ck3rm1k3/experiments/Overpass-API/src/lib
 URL: git <at> github.com: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




Information forwarded to bug-libtool <at> gnu.org:
bug#12550; Package libtool. (Wed, 17 Jan 2024 06:48:03 GMT) Full text and rfc822 format available.

Message #8 received at 12550 <at> debbugs.gnu.org (full text, mbox):

From: Mike Frysinger <vapier <at> gentoo.org>
To: Mike Dupont <jamesmikedupont <at> googlemail.com>
Cc: 12550 <at> debbugs.gnu.org, bug-libtool <at> gnu.org
Subject: Re: -fPIC?
Date: Wed, 17 Jan 2024 06:47:02 +0000 (UTC)
On Mon, 01 Oct 2012 14:48:53 +0200, Mike Dupont wrote:
> see also, reported bug here  :
>  https://github.com/drolbr/Overpass-API/issues/8

sounds like it was a bug in the build and/or user, not libtool
-mike




bug closed, send any further explanations to 12550 <at> debbugs.gnu.org and Mike Dupont <jamesmikedupont <at> googlemail.com> Request was from Mike Frysinger <vapier <at> gentoo.org> to control <at> debbugs.gnu.org. (Wed, 17 Jan 2024 06:48:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 14 Feb 2024 12:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 85 days ago.

Previous Next


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