GNU logs - #12057, boring messages

Message sent to bug-libtool@HIDDEN:

X-Loop: help-debbugs@HIDDEN
Subject: bug#12057: LT_DLSYM_CONST not defined
Resent-From: Thien-Thi Nguyen <ttn@HIDDEN>
Original-Sender: debbugs-submit-bounces <at>
Resent-CC: bug-libtool@HIDDEN
Resent-Date: Thu, 26 Jul 2012 15:24:01 +0000
Resent-Message-ID: <handler.12057.B.134331618224672 <at>>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 12057
X-GNU-PR-Package: libtool
To: 12057 <at>
X-Debbugs-Original-To: bug-libtool@HIDDEN
Received: via spool by submit <at> id=B.134331618224672
          (code B ref -1); Thu, 26 Jul 2012 15:24:01 +0000
Received: (at submit) by; 26 Jul 2012 15:23:02 +0000
Received: from localhost ([]:41151
	by with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at>>)
	id 1SuPu0-0006Pa-UK
	for submit <at>; Thu, 26 Jul 2012 11:23:01 -0400
Received: from ([]:44925)
	by with esmtp (Exim 4.72)
	(envelope-from <ttn@HIDDEN>) id 1SuO8p-0003ni-RT
	for submit <at>; Thu, 26 Jul 2012 09:30:12 -0400
Received: from Debian-exim by with spam-scanned (Exim 4.71)
	(envelope-from <ttn@HIDDEN>) id 1SuO27-0007aG-5g
	for submit <at>; Thu, 26 Jul 2012 09:23:20 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI
	autolearn=unavailable version=3.3.2
Received: from ([]:33325)
	by with esmtp (Exim 4.71)
	(envelope-from <ttn@HIDDEN>) id 1SuO27-0007aC-2r
	for submit <at>; Thu, 26 Jul 2012 09:23:15 -0400
Received: from ([]:37862)
	by with esmtp (Exim 4.71)
	(envelope-from <ttn@HIDDEN>) id 1SuO21-0003Iv-Ca
	for bug-libtool@HIDDEN; Thu, 26 Jul 2012 09:23:15 -0400
Received: from Debian-exim by with spam-scanned (Exim 4.71)
	(envelope-from <ttn@HIDDEN>) id 1SuO1r-0007XJ-T4
	for bug-libtool@HIDDEN; Thu, 26 Jul 2012 09:23:09 -0400
Received: from ([]:35373)
	by with esmtp (Exim 4.71)
	(envelope-from <ttn@HIDDEN>) id 1SuO1r-0007X2-Is
	for bug-libtool@HIDDEN; Thu, 26 Jul 2012 09:22:59 -0400
Received: from zigzag.favinet ( by (
	id 500F3F97006DE4FF for bug-libtool@HIDDEN;
	Thu, 26 Jul 2012 15:22:57 +0200
Received: from ttn by zigzag.favinet with local (Exim 4.72)
	(envelope-from <ttn@HIDDEN>) id 1SuN0Z-00039A-IV
	for bug-libtool@HIDDEN; Thu, 26 Jul 2012 14:17:35 +0200
From: Thien-Thi Nguyen <ttn@HIDDEN>
Date: Thu, 26 Jul 2012 14:17:21 +0200
Message-ID: <87obn27m3y.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
	micalg=pgp-sha1; protocol="application/pgp-signature"
X-detected-operating-system: by Genre and OS details not
X-detected-operating-system: by GNU/Linux 2.6 (newer, 3)
X-Spam-Score: -6.9 (------)
X-Mailman-Approved-At: Thu, 26 Jul 2012 11:23:00 -0400
X-BeenThere: debbugs-submit <at>
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <>
List-Unsubscribe: <>,
	<mailto:debbugs-submit-request <at>>
List-Archive: <>
List-Post: <mailto:debbugs-submit <at>>
List-Help: <mailto:debbugs-submit-request <at>>
List-Subscribe: <>,
	<mailto:debbugs-submit-request <at>>
Sender: debbugs-submit-bounces <at>
Errors-To: debbugs-submit-bounces <at>
X-Spam-Score: -6.9 (------)

Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Apparently, GNU Libtool 2.4 (2010-09-22) introduced =E2=80=98LT_DLSYM_CONST=
to ltdl.h, but that particular #define is requires "manual synching"
(according to this excerpt):

  /* -*- c -*- /
  /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and te=
sts.  */
  #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
  /* DATA imports from DLLs on WIN32 con't be const, because runtime
     relocations are performed -- see ld's documentation on pseudo-relocs. =
  # define LT_DLSYM_CONST
  #elif defined(__osf__)
  /* This system does not cope well with relocations in const data.  */
  # define LT_DLSYM_CONST
  # define LT_DLSYM_CONST const

In my code, i do:

  /* -*- c -*- /
  #include "libltdl/ltdl.h"

and this alone results in a "LT_DLSYM_CONST not defined" compilation
error.  However, adding that excerpt immediately prior to the #include
allows the compilation to succeed.  I presume what i've discovered is a
workaround at best and that there should be a better way to either avoid
this, or fully hide it from me (such that the plain old #include will be
sufficient, as before).  What would that way be?

Thien-Thi Nguyen                                       GPG key: 4C807502

........... please send technical questions to mailing lists ...........
.                                 ....                                 .
.                  NB: ttn at glug dot org is not me                   .
.                 (and has not been since 2007 or so)                  .
.                      ACCEPT NO SUBSTITUTES :-D                       .

Content-Type: application/pgp-signature

Version: GnuPG v1.4.10 (GNU/Linux)


Message sent:

Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.428 (Entity 5.428)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Thien-Thi Nguyen <ttn@HIDDEN>
Subject: bug#12057: Acknowledgement (LT_DLSYM_CONST not defined)
Message-ID: <handler.12057.B.134331618224672.ack <at>>
References: <87obn27m3y.fsf@HIDDEN>
X-Gnu-PR-Message: ack 12057
X-Gnu-PR-Package: libtool
Reply-To: 12057 <at>
Date: Thu, 26 Jul 2012 15:24:01 +0000

Thank you for filing a new bug report with

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):

If you wish to submit further information on this problem, please
send it to 12057 <at>

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

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.