From owner-svn-src-all@FreeBSD.ORG Thu Jun 16 22:07:57 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F39C1065672; Thu, 16 Jun 2011 22:07:57 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id CE59E8FC0A; Thu, 16 Jun 2011 22:07:56 +0000 (UTC) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.4/8.14.4/NETPLEX) with ESMTP id p5GLqWvf015402; Thu, 16 Jun 2011 17:52:32 -0400 X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.2.6 (mail.netplex.net [204.213.176.10]); Thu, 16 Jun 2011 17:52:32 -0400 (EDT) Date: Thu, 16 Jun 2011 17:52:32 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Jilles Tjoelker In-Reply-To: <20110616212738.GA73657@stack.nl> Message-ID: References: <200705131412.l4DECf2N068712@repoman.freebsd.org> <20110612213330.D10590@maildrop.int.zabbadoz.net> <20110616212738.GA73657@stack.nl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: svn-src-head@freebsd.org, "Bjoern A. Zeeb" , svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: cvs commit: src Makefile.inc1 src/lib/libc Makefile src/lib/libc_r Makefile src/lib/libpthread Makefile pthread.map src/lib/libpthread/thread thr_private.h src/lib/librt Makefile src/lib/libthr Makefile pthread.map src/lib/libthread_db Makefile ... X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2011 22:07:57 -0000 On Thu, 16 Jun 2011, Jilles Tjoelker wrote: > On Sun, Jun 12, 2011 at 09:38:42PM +0000, Bjoern A. Zeeb wrote: >> http://svnweb.freebsd.org/base?view=revision&revision=169524 > >> I figured WITHOUT_SYMVER= hs been useless since 201001. I am no >> longer able to do build worlds with WITHOUT_SYMVER= set in src.conf >> on a system with symbol versioning. > >> I'd love someone to fix that and allow us to build libraries without >> all the historic stuff in them. If we cannot get it back working our >> libraries will grow bigger and bigger forever. > >> If one is building images for clean-state systems that will never run >> anything older than the current CURRENT build, there is no need for >> the extra size. Contrary to what people think, memory and direct >> attached storage can still be expensive in some environments. > >> Anyone who understands the system can come up with patches to fix this? > > I think disabling symver completely is too much: it implies a new > mutually incompatible set of binaries. What should be done instead is > allowing to compile out the compatibility functions. This means all > __sym_compat() directives and all functions referred to by them. A > simple approach would use a yes/no #ifdef, while a more sophisticated > approach would allow choosing the oldest version to retain compatibility > with, for example freebsd7_semctl() in lib/libc/gen/semctl.c would be > compiled in iff compatibility with FreeBSD 7.x was requested. I like this approach. But if you can do that, then is it much more to remove symbol versioning completely? I've forgotten. I know there were some potential problems trying to install a symver-free world over a symver world. -- DE