logo       

Re: Guile 1.6.6 build comments ... alpha ncurses: msg#00005

lisp.guile.devel

Subject: Re: Guile 1.6.6 build comments ... alpha ncurses

Kevin Ryde <user42@xxxxxxxxxx> 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: beebe@xxxxxxxxxxxxx -
- 155 S 1400 E RM 233 beebe@xxxxxxx beebe@xxxxxxxxxxxx -
- Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe -
-------------------------------------------------------------------------------


_______________________________________________
Guile-devel mailing list
Guile-devel@xxxxxxx
http://lists.gnu.org/mailman/listinfo/guile-devel



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise