unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: "Nelson H. F. Beebe" <beebe@math.utah.edu>
Cc: guile-devel@gnu.org, beebe@math.utah.edu
Subject: Re: Guile 1.6.6 build comments ... alpha ncurses
Date: Wed, 1 Dec 2004 16:27:17 -0700 (MST)	[thread overview]
Message-ID: <CMM.0.92.0.1101943637.beebe@psi.math.utah.edu> (raw)
In-Reply-To: Your message of Thu, 02 Dec 2004 10:18:46 +1100

Kevin Ryde <user42@zip.com.au> 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@math.utah.edu  -
- 155 S 1400 E RM 233                       beebe@acm.org  beebe@computer.org -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe  -
-------------------------------------------------------------------------------


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


             reply	other threads:[~2004-12-01 23:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-01 23:27 Nelson H. F. Beebe [this message]
2004-12-02  0:14 ` Guile 1.6.6 build comments ... alpha ncurses Kevin Ryde
  -- strict thread matches above, loose matches on Subject: below --
2004-12-01 17:24 Guile 1.6.6 build comments Nelson H. F. Beebe
2004-12-01 23:18 ` Guile 1.6.6 build comments ... alpha ncurses Kevin Ryde

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CMM.0.92.0.1101943637.beebe@psi.math.utah.edu \
    --to=beebe@math.utah.edu \
    --cc=guile-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).