GNU logs - #28728, boring messages


Message sent to bug-libtool@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#28728: libtool on NetBSD: bug in shared library versioning
Resent-From: Thomas Klausner <tk@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-libtool@HIDDEN
Resent-Date: Sat, 07 Oct 2017 07:40:01 +0000
Resent-Message-ID: <handler.28728.B.150736199924041 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 28728
X-GNU-PR-Package: libtool
X-GNU-PR-Keywords: 
To: 28728 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-libtool@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.150736199924041
          (code B ref -1); Sat, 07 Oct 2017 07:40:01 +0000
Received: (at submit) by debbugs.gnu.org; 7 Oct 2017 07:39:59 +0000
Received: from localhost ([127.0.0.1]:53709 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1e0jiH-0006Fe-Re
	for submit <at> debbugs.gnu.org; Sat, 07 Oct 2017 03:39:59 -0400
Received: from eggs.gnu.org ([208.118.235.92]:43374)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <wiz@HIDDEN>) id 1e0jiF-0006FM-Pg
 for submit <at> debbugs.gnu.org; Sat, 07 Oct 2017 03:39:56 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <wiz@HIDDEN>) id 1e0ji9-00063D-Jt
 for submit <at> debbugs.gnu.org; Sat, 07 Oct 2017 03:39:50 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:36647)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <wiz@HIDDEN>)
 id 1e0ji9-00062y-G5
 for submit <at> debbugs.gnu.org; Sat, 07 Oct 2017 03:39:49 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:34342)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <wiz@HIDDEN>) id 1e0ji8-0001CW-Bj
 for bug-libtool@HIDDEN; Sat, 07 Oct 2017 03:39:49 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <wiz@HIDDEN>) id 1e0ji5-000619-9p
 for bug-libtool@HIDDEN; Sat, 07 Oct 2017 03:39:48 -0400
Received: from danbala.ifoer.tuwien.ac.at ([128.130.168.114]:56699)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <wiz@HIDDEN>)
 id 1e0ji5-0005zu-0I
 for bug-libtool@HIDDEN; Sat, 07 Oct 2017 03:39:45 -0400
Received: by danbala.ifoer.tuwien.ac.at (Postfix, from userid 116)
 id 7D683A50B; Sat,  7 Oct 2017 09:39:41 +0200 (CEST)
Date: Sat, 7 Oct 2017 09:39:41 +0200
From: Thomas Klausner <tk@HIDDEN>
Message-ID: <20171007073941.tjd7reknzuayq2ux@danbala>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="wbvkyms7o6ihmpsu"
Content-Disposition: inline
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://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: <https://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: -5.0 (-----)


--wbvkyms7o6ihmpsu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi!

According to the libtool documentation at
https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html,
when adding a function to a shared library, one should bump current
and age by one each and set revision to zero (current because of rule
3, revision because of rule 4, and age because of rule 5).

So if the library versioninfo was 5:0:0, it should become 6:0:1.

When I do that on Linux, I get *.so.5.0.0 -> *.so.5.1.0 which looks
fine to me.

However, when I do that on NetBSD, I get *.so.5.0 -> *.so.6.0 which is
not fine, because it's a quite unnecessary shared library major bump.

That's with libtool-2.4.6.

I've attached a very simple project as a testcase, just unpack it and
run 'autoreconf -fiv; ./configure; make'.

I'm not quite sure why NetBSD needs to be different from Linux at all,
since it has been following the ELF specification for a very long
time.

Please fix this!

Thanks,
 Thomas

--wbvkyms7o6ihmpsu
Content-Type: application/x-tar-gz
Content-Disposition: attachment; filename="libtooltest.tar.gz"
Content-Transfer-Encoding: base64

H4sIADeE2FkAA+3VT2+bMBwG4Jz9Kaz2QqQE7IQSqVumMUJSNBIyIFKlrEIukMQqMRV/2mnT
vvuANFs6acolSnf4PQcQ2MaW8Wsn/L5I06SI80KZsod4xZNYZtvWKRFKiKapLUIIHVyR+k6o
2jw3+gPaon2qabSqqfVbdWmPDFrkpKP4hzIvWIZx65l/P1IvzvJzDOi89IXvTPXPZuDMfcuZ
ecNVmsV8LRDSDdsxdDvQp2Nbn3jDroW3Kq6uSplnSpKGLFHyDctihYXNE0IJvw9s37Y+ubpr
mR4e4uTP8pIThtAlZkme4vIxYkWMjXrF2Twvcrn4VuDnTSxwuGFizcUaP1XzzVOBDj4RJCyw
Ry/DEWm3FFG1YEUc4e5L7S4XqxRr1+Sa/t3QcxauYXrDZiwheuuJ/08cTJISpmLF12VWbQDh
Kfs4nv/ePv9kQAdN/lUV8n8OuhHMXdM1v0jLnqyRu3aV+8CaWb60PFgad50llUl1LR4+rvma
yWkms2JX2XBmY2sSeK4xslxpuYvXq6IbUx+ZrictdwtM3rwqneqG6wRN261al0yb/oP9zoSa
ITqTwDBQ00yfOTOr3pluHM+v35i3pnnrI9tvGqKDb48t26z63R9su36dhT9f+LABNA7zv/t1
p+/jWP5pT/2df41e1fnv9wYq5P8MLrkIkzKK8fu8iHgqbz4g9JTy6PD0lOoXbfQD4cpjxkWx
ki7qguqYliuYdnCvg/tfxUX7HfoJyQIAAAAAAAAAAAAAAAAAAAAAgDfwC8XIb2EAKAAA

--wbvkyms7o6ihmpsu--




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Thomas Klausner <tk@HIDDEN>
Subject: bug#28728: Acknowledgement (libtool on NetBSD: bug in shared
 library versioning)
Message-ID: <handler.28728.B.150736199924041.ack <at> debbugs.gnu.org>
References: <20171007073941.tjd7reknzuayq2ux@danbala>
X-Gnu-PR-Message: ack 28728
X-Gnu-PR-Package: libtool
Reply-To: 28728 <at> debbugs.gnu.org
Date: Sat, 07 Oct 2017 07:40:02 +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 28728 <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
28728: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D28728
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.