[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Guile 1.6.6 build comments ... alpha ncurses
From: |
Nelson H. F. Beebe |
Subject: |
Re: Guile 1.6.6 build comments ... alpha ncurses |
Date: |
Wed, 1 Dec 2004 16:27:17 -0700 (MST) |
Kevin Ryde <address@hidden> observes about my long guile-1.6.6
build-problem report:
>> > ld:
>> > /usr/local/lib/gcc-lib/alpha-unknown-linux-gnu/3.3/../../../libncurses.a(lib_termcap.o):
>> > gp-relative relocation against
dynamic symbol BC
>>
>> Looks like the linker doesn't like putting a .a library into a .so.
>> Dunno what's supposed to be done about that, you'd hope libtool would
>> handle it. :(
On many architectures, shared libraries must be compiled with special
compiler options to generate position-independent code (-fpic, -fPIC,
-kPIC, and -kpic are common names for these options), whereas ordinary
load libraries don't need that feature, which sometimes involves extra
instructions for data access.
It may well be that is what is happening here: extracting
lib_termcap.o from libncurses.a is producing mixed data-access
conventions, causing the linker error.
-------------------------------------------------------------------------------
- Nelson H. F. Beebe Tel: +1 801 581 5254 -
- University of Utah FAX: +1 801 581 4148 -
- Department of Mathematics, 110 LCB Internet e-mail: address@hidden -
- 155 S 1400 E RM 233 address@hidden address@hidden -
- Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe -
-------------------------------------------------------------------------------
- Re: Guile 1.6.6 build comments ... alpha ncurses,
Nelson H. F. Beebe <=