[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Libtool convenience library on x86_64
From: |
Bill Jones |
Subject: |
Libtool convenience library on x86_64 |
Date: |
Mon, 20 Dec 2004 14:59:40 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 |
I am trying to link a shared library against a libtool convenience
library on an AMD opteron with libtool 1.5.10, automake 1.9, autoconf
2.59, and gcc-3.2.2 (SuSE Linux). If I use the normal method, that
works fine under RedHat on Intel x86 (32 bit) and MinGW, I get the
following error when linking my shared library:
relocation R_X86_64_32 can not be used when making a shared object;
recompile with -fPIC
If I explicitly specify the "-fPIC" flag as part of my convenience
library CFLAGS and rebuild it, then all links fine. My concern here is
if some later compiler does not support "-fPIC". I am counting on
libtool to figure this stuff out for me.
I have read Daniel Reed's posting to address@hidden entitled "disable
nopic on x86_64 and s390* (was: Re: GNU Libtool 1.5.8 released.)" and it
looks like you simply turned off this test. Is this to be actually
fixed at some point? Is there a work around for using libtool
convenience libraries in building shared libtool libraries?
Any help would be appreciated,
wtj
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Bill Jones address@hidden
Mail Stop 125 Data Analysis and Imaging Branch
15 Langley Boulevard Systems Engineering Competency
NASA Langley Research Center Building 1268, Room 1038
Hampton, VA 23681-2199 Phone +1 757 864-5318
Fax +1 757 864-7635
http://geolab.larc.nasa.gov
- Libtool convenience library on x86_64,
Bill Jones <=