GNU logs - #15968, boring messages


Message sent to bug-libtool@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#15968: Wrong default value of OBJDUMP causes hard to diagnose problems during cross compilation for mingw
Resent-From: Tomasz Gajewski <tomga@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-libtool@HIDDEN
Resent-Date: Sun, 24 Nov 2013 21:45:02 +0000
Resent-Message-ID: <handler.15968.B.138532944616375 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 15968
X-GNU-PR-Package: libtool
X-GNU-PR-Keywords: 
To: 15968 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-libtool@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.138532944616375
          (code B ref -1); Sun, 24 Nov 2013 21:45:02 +0000
Received: (at submit) by debbugs.gnu.org; 24 Nov 2013 21:44:06 +0000
Received: from localhost ([127.0.0.1]:42766 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VkhTK-0004G2-E7
	for submit <at> debbugs.gnu.org; Sun, 24 Nov 2013 16:44:06 -0500
Received: from eggs.gnu.org ([208.118.235.92]:53447)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <tomga@HIDDEN>) id 1VkhTI-0004FQ-35
 for submit <at> debbugs.gnu.org; Sun, 24 Nov 2013 16:44:05 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <tomga@HIDDEN>) id 1VkhT6-00060m-5p
 for submit <at> debbugs.gnu.org; Sun, 24 Nov 2013 16:43:58 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:46550)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <tomga@HIDDEN>)
 id 1VkhT6-00060g-3I
 for submit <at> debbugs.gnu.org; Sun, 24 Nov 2013 16:43:52 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55133)
 by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <tomga@HIDDEN>)
 id 1VkhT0-0006Mg-2h
 for bug-libtool@HIDDEN; Sun, 24 Nov 2013 16:43:52 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <tomga@HIDDEN>) id 1VkhSt-0005ga-OG
 for bug-libtool@HIDDEN; Sun, 24 Nov 2013 16:43:45 -0500
Received: from mx3.wp.pl ([212.77.101.7]:13634)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <tomga@HIDDEN>)
 id 1VkhSt-0005gR-Dt
 for bug-libtool@HIDDEN; Sun, 24 Nov 2013 16:43:39 -0500
Received: (wp-smtpd smtp.wp.pl 10228 invoked from network);
 24 Nov 2013 22:43:36 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wp.pl; s=1024a;
 t=1385329417; bh=TVahZ/KcOfJLB71N5rMxPP+JyquAAyydEUid+AzcfO4=;
 h=From:To:Subject;
 b=iuktaT6IGyA/lCcuyklp8LhwfXq0ybvOrb4r4t3NyWiBZPDkXBsOX5OzujTfeBT/s
 jLcjA2sHEVu2XOipAgK3hfSTX2+ZncMIuaymuK0s6Xw5mhXGYoZA9Nby44o92Vd2wA
 wijdm7ksQlyrkKJ6xpqSa3cIF+tBYeHKKuhrXpH8=
Received: from unknown (HELO vitiris) (tomga@[217.153.177.152])
 (envelope-sender <tomga@HIDDEN>)
 by smtp.wp.pl (WP-SMTPD) with AES128-SHA encrypted SMTP
 for <bug-libtool@HIDDEN>; 24 Nov 2013 22:43:36 +0100
From: Tomasz Gajewski <tomga@HIDDEN>
Date: Sun, 24 Nov 2013 22:43:35 +0100
Message-ID: <87a9gtfpbs.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-WP-AV: skaner antywirusowy poczty Wirtualnej Polski S. A.
X-WP-SPAM: NO 0000000 [4eMk]                               
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.1 (----)


I have tried to compile on linux a project (in this case freetds but
some time ago had same problem with some other which I can't remember
right now) targetting mingw with shared libraries enabled.

During build libtool generated a following message and refused to build
dlls.

*** Warning: linker path does not have real file for library -lodbccp32.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libodbccp32 and none of the candidates passed a file format test
*** using a file magic. Last file checked: <path>/libodbccp32.a

Message is quite nice but it has a problem, that libodbccp32.a is a
proper import archive but libtool is not correctly detecting this
fact. I have spent few hours (previously) to find out that libtool
checks that this file is an archive library and then tries to check if
objects in this archive are objects being parts of import
libraries. This second check was performed using OBJDUMP which by
default is objdump which in case of cross compilation does not recognize
such import libraries properly.

Passing OBJDUMP=i686-pc-mingw32-objdump option to configure allowed to
bypass this problem, but I think that it should be addressed in libtool
itself somehow.

The best solution, at least from my perspective as a user, would be to
change libtool to properly select proper objdump utility in case of
cross compilation, because libtool itself needs this utility to work
properly for internal operation.

If that first solution cannot be done because of some technical problem
a message should be changed at least to contain information that when
targetting mingw platform proper 'objdump' utility must be passed to
make this test work reliably.

Regards
Tomasz Gajewski




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.503 (Entity 5.503)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Tomasz Gajewski <tomga@HIDDEN>
Subject: bug#15968: Acknowledgement (Wrong default value of OBJDUMP causes
 hard to diagnose problems during cross compilation for mingw)
Message-ID: <handler.15968.B.138532944616375.ack <at> debbugs.gnu.org>
References: <87a9gtfpbs.fsf@HIDDEN>
X-Gnu-PR-Message: ack 15968
X-Gnu-PR-Package: libtool
Reply-To: 15968 <at> debbugs.gnu.org
Date: Sun, 24 Nov 2013 21:45:03 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-libtool@HIDDEN

If you wish to submit further information on this problem, please
send it to 15968 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
15968: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D15968
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems



Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.