unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: "Nelson H. F. Beebe" <beebe@math.utah.edu>
To: bug-guile@gnu.org
Cc: beebe@math.utah.edu
Subject: guile-1.8.8 problems on GNU/Linux AMD64
Date: Thu, 16 Dec 2010 12:59:04 -0700 (MST)	[thread overview]
Message-ID: <CMM.0.95.0.1292529544.beebe@psi.math.utah.edu> (raw)

A build of guile-1.8.8 on GNU/Linux AMD64 fails because the included
libtool is overriding library paths, and supplying incorrect 32-bit
paths:

% env CC=gcc CXX=g++ LDFLAGS="-L/usr/local/lib64 -Wl,-rpath,/usr/local/lib64" ./configure && make
...
libtool: link: gcc -g -O2 -Wall -Wmissing-prototypes -Werror -Wl,-rpath -Wl,/usr/local/lib64 -o gen-scmconfig gen-scmconfig.o  -L/usr/local/lib64 /usr/local/lib/libgmp.so -lcrypt -lm /usr/local/lib64/libltdl.so -ldl -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib64 -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib64
/usr/local/lib/libgmp.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status

I tried replacing -lgmp with /usr/local/lib64/libgmp.so in Makefiles,
and that got somewhat further:

% find . -name Makefile | xargs sed -i -e 's@-lgmp@/usr/local/lib64/libgmp.so@' 
% make all check
...
PASS: stack-limit-calibration.scm
=============
1 test passed
=============
...
PASS: test-scm-with-guile
===================
All 16 tests passed
===================
...
Running ports.test
UNRESOLVED: ports.test: port-for-each: passing freed cell
Running posix.test
...
Running socket.test
ERROR: socket.test: AF_INET6/SOCK_STREAM: bind/sockaddr - arguments: ((wrong-type-arg #f "Wrong type: ~S" (#(10 1 9998 0 0)) (#(10 1 9998 0 0))))
ERROR: socket.test: AF_INET6/SOCK_STREAM: connect/sockaddr - arguments: ((wrong-type-arg #f "Wrong type: ~S" (#(10 1 8889 0 0)) (#(10 1 8889 0 0))))

At that point, the tests hang in a wait state, without any
CPU consumption, so I killed the build.

-------------------------------------------------------------------------------
- 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/ -
-------------------------------------------------------------------------------



             reply	other threads:[~2010-12-16 19:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-16 19:59 Nelson H. F. Beebe [this message]
2010-12-17 13:39 ` guile-1.8.8 problems on GNU/Linux AMD64 Ludovic Courtès

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.95.0.1292529544.beebe@psi.math.utah.edu \
    --to=beebe@math.utah.edu \
    --cc=bug-guile@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).