From owner-freebsd-ports@FreeBSD.ORG Mon Jun 21 17:30:22 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EAD3E16A4D0 for ; Mon, 21 Jun 2004 17:30:22 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 436D543D5D for ; Mon, 21 Jun 2004 17:30:22 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost.freebsd.dk [127.0.0.1]) by critter.freebsd.dk (8.12.11/8.12.11) with ESMTP id i5LHUDMe021212; Mon, 21 Jun 2004 19:30:13 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Will Andrews From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 21 Jun 2004 12:18:43 CDT." <20040621171843.GN7956@sirius.firepipe.net> Date: Mon, 21 Jun 2004 19:30:13 +0200 Message-ID: <21211.1087839013@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: ports@freebsd.org Subject: Re: HEADSUP: please eliminate -lcompat usage in ports. X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2004 17:30:23 -0000 In message <20040621171843.GN7956@sirius.firepipe.net>, Will Andrews writes: > >--uuKVzAmB+c+zQlhu >Content-Type: text/plain; charset=us-ascii >Content-Disposition: inline >Content-Transfer-Encoding: quoted-printable > >On Mon, Jun 21, 2004 at 06:30:50PM +0200, Poul-Henning Kamp wrote: >> We need to lighten our burden of backwards compatibility code and >> libcompat is in the crosshairs. >>=20 >> libcompat pertains to compatibility with FreeBSD-1 and earlier versions >> of BSD. >>=20 >> libcompat may or may not disappear in 5-stable, but it is 100% >> certain to die in -current as soon as 5-stable has been branched. >>=20 >> Therefore, please as soon as possible eliminate -lcompat use from >> your ports. > >Questions: > >1) Why get rid of backwards compatibility? Mostly because it requires us to compile complex and generally unmaintained compatibility cruft into the kernel. >2) Where is -lcompat used? Are you talking of compat3x/compat4x? No, this is not compat3x/compat4x. A quick grep shows the string "-lcompat" at least the following places. Many of these ports will undoubtedly be able to autoconfigure themselves to systems without libcompat. ./astro/openuniverse ./astro/sunclock/ ./astro/xphoon/ ./cad/chipmunk/ ./chinese/ve/ ./comms/ecu/ ./databases/msql/ ./devel/codeworker ./editors/dte/ ./editors/em/ ./editors/emacs/ ./editors/emacs20/ ./ftp/llnlxdir/ ./ftp/llnlxftp/ ./ftp/pftpd/ ./games/battalion/ ./games/freebsd-games/ ./games/icbm3d/ ./games/lbreakout ./games/xbl/ ./games/xbomb/ ./games/xbomber/ ./games/xpat2/ ./graphics/liblug/ ./graphics/tulip ./japanese/emacs20-emcws/ ./japanese/jvim/ ./lang/pdss/ ./mail/biffer/ ./mail/metamail/ ./mail/xmail/ ./math/lp_solve/ ./math/sc/ ./math/spar/ ./math/ss/ ./mbone/speak_freely/ ./misc/afbackup/ ./misc/fep/ ./misc/ytree/ ./net-mgmt/braa ./net-mgmt/rate ./net/nettest/ ./net/pmf/ ./news/pan2 ./security/cfs/ ./sysutils/su2/ ./vietnamese/vnless/ ./www/amaya ./www/web500gw/ ./www/webstone-ssl/ -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.