libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

address@hidden: Bug#97759: libtool: build problem]


From: Ossama Othman
Subject: address@hidden: Bug#97759: libtool: build problem]
Date: Wed, 16 May 2001 23:18:54 -0700
User-agent: Mutt/1.2.5i

Hi guys,

Bug report for libtool 1.4 from a Debian user.  Any ideas?

-Ossama

----- Forwarded message from "Etienne M. Gagnon" <address@hidden> -----

Subject: Bug#97759: libtool: build problem
Reply-To: "Etienne M. Gagnon" <address@hidden>, address@hidden
Resent-From: "Etienne M. Gagnon" <address@hidden>
Orignal-Sender: egagnon
Resent-To: address@hidden
Resent-CC: Ossama Othman <address@hidden>
Resent-Date: Thu, 17 May 2001 06:03:45 GMT
Resent-Message-ID: <address@hidden>
Resent-Sender: address@hidden
X-Debian-PR-Message: report 97759
X-Debian-PR-Package: libtool
X-Debian-PR-Keywords: 
X-Loop: address@hidden
Date: Thu, 17 May 2001 00:49:20 -0400
From: "Etienne M. Gagnon" <address@hidden>
Organization: J-Meg inc.
X-Mailer: Mozilla 4.7 [en] (X11; U; Linux 2.2.18 i586)
X-Accept-Language: en
To: address@hidden
Delivered-To: address@hidden

Hi again,

Sorry, "bug" seems to be buggy.  My message was cut in the middle.

Here it is, again

Package: libtool
Version: 1.4-1
Severity: important
 
Hi,
 
Here's a new problem that appeared since the upgrade to libtool 1.4.
I am also using a locally compiled automake 1.4-p1 (see bug #97690
for the reason I'm not using unstable's automake).

Here is what I get when I compile a project (sablevm).  The
Makefile.am contains:

libsablevm_la_LIBADD = -lffi -lpthread -lm -ldl

Of these 4 libraries, 3 are static, but "libffi" is dynamic.  Notice
how the "gcc" command fails because it tries to link to
"/usr/lib/.libs/libffi.so"
instead of "/usr/lib/libffi.so".

I have "manually" added blank lines between commands, for clarity.
The 3rd commad is the interesting one.  The 1st one shows that
everything is in order.  I have taken time to check the "generated"
Makefile, it looks ok (it includes: 
libsablevm_la_LIBADD = -lffi -lpthread -lm -ldl
as expected).


/bin/sh ../../libtool --mode=link gcc  -g -O2 -Wall -W -Wundef
-Wshadow                 -Wpointer-arith -Wbad-function-cast
-Wcast-align                -Wwrite-strings -Wsign-compare              
-Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations                 -Wnested-externs
-Winline               -Wlong-long -O0 -ggdb -Werror  -o libsablevm.la
-rpath /home/egagnon/work/lib -version-info 0:6:0 invoke_interface.lo
init.lo alloc.lo thread.lo util.lo native_interface.lo class_loader.lo
macros.lo clalloc.lo error.lo system.lo class_file.lo class_init.lo
verifier.lo resolve.lo global_refs.lo local_refs.lo prepare.lo
prepare_code.lo heap_manager.lo interpreter.lo method_invoke.lo
pthread_rec_svm.lo vmlib.lo native.lo -lffi -lpthread -lm -ldl 
rm -fr .libs/libsablevm.la .libs/libsablevm.* .libs/libsablevm.*
gcc -shared  invoke_interface.lo init.lo alloc.lo thread.lo util.lo
native_interface.lo class_loader.lo macros.lo clalloc.lo error.lo
system.lo class_file.lo class_init.lo verifier.lo resolve.lo
global_refs.lo local_refs.lo prepare.lo prepare_code.lo heap_manager.lo
interpreter.lo method_invoke.lo pthread_rec_svm.lo vmlib.lo native.lo 
-Wl,--rpath -Wl,/usr/lib/.libs  /usr/lib/.libs/libffi.so -lpthread -lm
-ldl   -Wl,-soname -Wl,libsablevm.so.0 -o .libs/libsablevm.so.0.0.6
gcc: /usr/lib/.libs/libffi.so: No such file or directory
make[3]: *** [libsablevm.la] Error 1

This bug is relatively serious, to me.  Do you have any quick 
suggestion to circumvent this bug?  Or should I get an older libtool
version and compile it from sources manually?

Please, feel free to ask for precisions (and source code).

Thanks,

Etienne
-- 
----------------------------------------------------------------------
Etienne M. Gagnon, M.Sc.                     e-mail: address@hidden
Author of SableCC:                             http://www.sablecc.org/
and SableVM:                                   http://www.sablevm.org/

-- System Information
Debian Release: testing/unstable
Kernel Version: Linux www 2.2.18 #1 Tue Jan 2 17:52:31 EST 2001 i586
unknown

Versions of the packages libtool depends on:
ii  cpp            2.95.3-7       The GNU C preprocessor.
ii  file           3.33-5         Determines file type using "magic"
numbers
ii  gcc            2.95.3-7       The GNU C compiler.
ii  libc6-dev      2.2.3-1        GNU C Library: Development Libraries
and Hea
ii  gcc-2.95       2.95.4-0.01050 The GNU C compiler.
        ^^^ (Provides virtual package c-compiler)
ii  libc6-dev      2.2.3-1        GNU C Library: Development Libraries
and Hea
        ^^^ (Provides virtual package libc-dev)

----- End forwarded message -----

-- 
Ossama Othman <address@hidden>
Distributed Object Computing Laboratory, Univ. of California at Irvine
1024D/F7A394A8 - 84ED AA0B 1203 99E4 1068  70E6 5EB7 5E71 F7A3 94A8



reply via email to

[Prev in Thread] Current Thread [Next in Thread]