From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 56691 invoked by alias); 19 Feb 2019 10:48:43 -0000 Mailing-List: contact elfutils-devel-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: elfutils-devel-owner@sourceware.org Received: (qmail 56461 invoked by uid 89); 19 Feb 2019 10:48:38 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.100.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1052, upgrading X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: gnu.wildebeest.org Received: from wildebeest.demon.nl (HELO gnu.wildebeest.org) (212.238.236.112) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 19 Feb 2019 10:48:36 +0000 Received: from librem.wildebeest.org (deer0x15.wildebeest.org [172.31.17.151]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id 4612B304D6F7; Tue, 19 Feb 2019 11:48:33 +0100 (CET) Received: by librem.wildebeest.org (Postfix, from userid 1000) id D7F0913F84F; Tue, 19 Feb 2019 11:48:32 +0100 (CET) Date: Tue, 19 Feb 2019 10:48:00 -0000 From: Mark Wielaard To: Ulf Hermann Cc: "elfutils-devel@sourceware.org" Subject: Symbol versioning (Was: [Bug general/24000] couple of testsuite fails with uclibc library) Message-ID: <20190219104832.GA9572@wildebeest.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Flag: NO X-IsSubscribed: yes X-SW-Source: 2019-q1/txt/msg00160.txt.bz2 On Tue, Feb 19, 2019 at 07:59:53AM +0000, Ulf Hermann wrote: > >>> Don't disable symbol versioning, without it binary compatibility is broken. > >> As per the following commit disabled symbol versioning for uclibc > >> https://sourceware.org/git/?p=elfutils.git;a=commit; > >> h=bafacacaf7659a4933604662daba26a480b29a8d > >> > >> with uclibc,the test suite hangs in middle when compiled with Symbol > >> versioning > > > > hmmm. I think that commit might have been a mistake in hindsight. > > The option to disable symbol versioning is appreciated here. I don't > think it's a mistake. There are platforms which don't support symbol > versioning at all. The problem is that without it every elfutils release would (possibly) break the ABI between the shared libraries and programs using them. And we don't have/use a different mechanism to indicate symbols/ABI changed. How do you prevent things breaking when upgrading the elfutils libraries? Cheers, Mark