From owner-freebsd-bugs@FreeBSD.ORG Mon Nov 30 19:10:01 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BBFA1065676 for ; Mon, 30 Nov 2009 19:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4F5998FC1C for ; Mon, 30 Nov 2009 19:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nAUJA11I061480 for ; Mon, 30 Nov 2009 19:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nAUJA1a5061479; Mon, 30 Nov 2009 19:10:01 GMT (envelope-from gnats) Resent-Date: Mon, 30 Nov 2009 19:10:01 GMT Resent-Message-Id: <200911301910.nAUJA1a5061479@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Arjan van Leeuwen Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B6C7106568B for ; Mon, 30 Nov 2009 19:04:55 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 1C9248FC1B for ; Mon, 30 Nov 2009 19:04:55 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nAUJ4s2s002230 for ; Mon, 30 Nov 2009 19:04:54 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nAUJ4sxZ002229; Mon, 30 Nov 2009 19:04:54 GMT (envelope-from nobody) Message-Id: <200911301904.nAUJ4sxZ002229@www.freebsd.org> Date: Mon, 30 Nov 2009 19:04:54 GMT From: Arjan van Leeuwen To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: bin/141034: libz in base system does not use symbol versioning X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Nov 2009 19:10:01 -0000 >Number: 141034 >Category: bin >Synopsis: libz in base system does not use symbol versioning >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Nov 30 19:10:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Arjan van Leeuwen >Release: 8.0-RELEASE >Organization: Opera Software ASA >Environment: >Description: Several libraries in the FreeBSD base system now use symbol versioning. This is great for distributors of binary software packages, such as Opera Software, since it allows us to distribute a binary that can work on several versions of FreeBSD, eliminating some of the cost associated with creating separate builds. libz, a library that is often used but whose symbols seldom change, does not support symbol versioning on FreeBSD. When FreeBSD 8 was released, the version of this library was bumped, even though the symbols did not change. This means that to provide our software to users of both FreeBSD 7 and FreeBSD 8, we have to choose between having an extra build to generate and test, or linking zlib statically into our software. We chose the second option, but this of course unnecessarily increases the size of our binary. Please turn on symbol versioning for libz. >How-To-Repeat: Link an application against libz and upgrade FreeBSD to the next major version. >Fix: Turn on symbol versioning for libz. >Release-Note: >Audit-Trail: >Unformatted: