From owner-freebsd-arch@freebsd.org Tue Oct 20 22:00:55 2015 Return-Path: Delivered-To: freebsd-arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 43866A1AFDC for ; Tue, 20 Oct 2015 22:00:55 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 2C204C7D; Tue, 20 Oct 2015 22:00:55 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id 1F557159D; Tue, 20 Oct 2015 22:00:55 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id BC45C16556; Tue, 20 Oct 2015 22:00:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id FiBYgCM5_hJt; Tue, 20 Oct 2015 22:00:51 +0000 (UTC) Subject: Re: Retiring in-tree GDB DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com A6FD616551 To: Ian Lepore , John Baldwin , 'freebsd-arch' References: <2678091.es0AGJQ0Ou@ralph.baldwin.cx> <5626B15C.4080408@FreeBSD.org> <1445377905.99375.22.camel@freebsd.org> From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc X-Enigmail-Draft-Status: N1110 Organization: FreeBSD Message-ID: <5626B994.1030708@FreeBSD.org> Date: Tue, 20 Oct 2015 15:00:52 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <1445377905.99375.22.camel@freebsd.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HAWnLgjM9uaKRd1jX8PTL1vbmJUQwkq7V" X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Oct 2015 22:00:55 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --HAWnLgjM9uaKRd1jX8PTL1vbmJUQwkq7V Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 10/20/2015 2:51 PM, Ian Lepore wrote: > On Tue, 2015-10-20 at 14:25 -0700, Bryan Drewery wrote: >> On 10/20/2015 1:36 PM, John Baldwin wrote: >>> However, I would like to propose that we retire the in-tree GDB for >>> some of >>> our platforms (namely x86) for 11. In particular, I think we >>> should default >> >> Disabling/removing gdb. Definitely. It is unusable in many cases and >> the >> working gdb is just a 'pkg install' away. >> >>> to enabling lldb and disabling gdb for platforms that meet the >>> following >> >> Why should we include lldb in the base system? It is not needed to >> build >> or use the system and we can easily provide one from packages. >> >> Arguments about providing a default working system don't work here >> for >> me as we don't provide perl, python, valgrind, vim, emacs, X11, etc.=20 >> We >> can provide lldb and gdb on the default DVD though. >> >> If we are actually going to "package base" in 11, we should not be >> adding new things into base that can easily live in ports. Yes, I >> know >> lldb is already there but I don't think it should be. >> >> Can the same be said for tools such as truss, ktrace or nvi? Sure. >> The >> discussion is really "what packages should be installed by default". >> The answer should be "what all, or most, users _need_" Do most users >> need a debugger? I don't think so. >> >>> criteria: >>> >>> 1) devel/gdb works including thread and kgdb support >>> 2) lldb works >=20 > This just-won't-die meme that a "functional system" is nothing more > than a bare kernel and an init binary and everything else comes from > ports is extra-scary when you consider that ports can't even be (cross > -)built for some architectures. >=20 > It sucks that the project is adopting the mindset that the only way to > compete with linux is to become linux. (And it sucks that installing a= > truly functional system will require end users to have roughly the same= > knowledge as the team that assembles a linux distro.) It's not about Linux. It's about not providing the same thing twice on the system. It's about not having 2 different compilers on the system. Using ports on older releases means the base compiler is too outdated to build from ports and is thus not used. We have so much redundancy before /usr and /usr/local once you install packages or try to build from ports. There's no sane reason for that. In a world of a packaged base the default install should still mostly match what we have now for POLA. Just that it is contained in packages. My point here is that removing something is argument #1, adding something is argument #2. No one is seriously suggesting we provide a DVD with init, libc, rtld, libthr and a kernel only. That may be "a package" which is considered very critical and special, but it would be among many other packages. Yes we need cross-compiling in ports. We also need more native build servers in the cluster to provide packages. --=20 Regards, Bryan Drewery --HAWnLgjM9uaKRd1jX8PTL1vbmJUQwkq7V Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJWJrmUAAoJEDXXcbtuRpfP+koH/0f28dYPl3YM+gPFLbeHVw7F kiuLXolBcMS+STB92ezd/TWAcRsnlKPnFxBwTxgJdAdqWQNrwuV1jeztjSp9IdoH QvnL1CvAx6B0RlS5kyY2JDG+XGwUf8rB1wEotETuZXpbVVsoiILPN3v5cw3cgjVZ FwcgH97ihWvmFa/WUy5EH3/hW8G9r8XeMCyiVGhJ8FRTMF4xePaLmdkjDWaMjIYX /kXp+QsXZpq07mlJZwqYzUuqZB/d1H0bE1DSbbUAStSc4SAjORgg1NNWwj8B0bkQ AsHWWLO2Z56P02MTsSYm6me5Uz6g/T7g21/DmksbXDJ1Kp5t1BNp2yUhXFGVvx8= =jvQn -----END PGP SIGNATURE----- --HAWnLgjM9uaKRd1jX8PTL1vbmJUQwkq7V--