From owner-svn-src-head@freebsd.org Sat May 19 19:44:49 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8E9C9EE16DD; Sat, 19 May 2018 19:44:49 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-pl0-x241.google.com (mail-pl0-x241.google.com [IPv6:2607:f8b0:400e:c01::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0CE1F7CC9C; Sat, 19 May 2018 19:44:49 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by mail-pl0-x241.google.com with SMTP id az12-v6so6476079plb.8; Sat, 19 May 2018 12:44:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=jNVwiX8P8CmnOGsMA0853yl1SVpfCnlbMJkQZ+XihRs=; b=UeS+MsvF1FCdd0H4hFo/HF1BjHOw+SIGifWkcb6EQ4JfyzGsy03NW377oRjgOW3Atd LNzvvzsQZyRdbpFTcmvhQGylgUOCNBFWbelmly/TdKvrBbz578aAUI0MedoC+SAxTm0w /LUkX5UUFWg7hS0EskVOHpWWuxLh/hS1vRQ6jjh3RU0Yd9HeKmiRYIrJ9OKzydl+jyLu qMnvhfLyYK8Rgnd1WITq7RIhO9puK7wpjeZMEXJcBahkel3kGzoQzPsUHdZeXS8nab7q yjQkpmCDrIPEpnYyMIGt5tBOm66xWwKnyrX2I/EZMGwerpSUiTSEat6LXg5WHdhEuElC PB5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=jNVwiX8P8CmnOGsMA0853yl1SVpfCnlbMJkQZ+XihRs=; b=rXxytoAjzLjSzSiEc01nwd0nlAKte7y3dY6jV5/yhF9BapEntCc70CYn3EDcTfRJwm 35tp184iHgWgssAgrv1ZYLZcyMKj8MIVBQOLFDtHrf//jHMZNgjy4tsUkIYeaHh7DLc7 Ucyp1eL0dvl9QglSwhbKbAm6VJZk0GiP+cZKmvxzv74tlSWseVFMRCQjC/Q0Khn5UdfR LnNU0oPLyX8RuZG3zayp34Vge5afTMqbsps2hIyKXntT23/qJ3+svPs5niz2RAR/tHX3 7/28qb5P983A0965OMhHpgp3PdxE6FhW9gaaz1f5kLpIT4nNJqVwjVsfW9mjUvtlF+YP QjuQ== X-Gm-Message-State: ALKqPwfAQ2KujBCCm8ZJnV/yp+jPVmrSsfwFWGP0T0zAEOolOqDNpTC5 qvWSp4PumG2OhyOqAygfLwIHIg== X-Google-Smtp-Source: AB8JxZojlPlKuLiFTAG74Olym0H4nuVowr1RVvHnr/Tu532/iiVBwp45PqWJQrXBxw8x4eLONDR8lg== X-Received: by 2002:a17:902:40d:: with SMTP id 13-v6mr14575839ple.117.1526759087810; Sat, 19 May 2018 12:44:47 -0700 (PDT) Received: from raichu (toroon0560w-lp140-02-70-49-169-130.dsl.bell.ca. [70.49.169.130]) by smtp.gmail.com with ESMTPSA id q64-v6sm17213765pfg.180.2018.05.19.12.44.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 19 May 2018 12:44:46 -0700 (PDT) Sender: Mark Johnston Date: Sat, 19 May 2018 15:44:37 -0400 From: Mark Johnston To: Matthew Macy Cc: Ed Maste , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r333872 - head/cddl/contrib/opensolaris/tools/ctf/cvt Message-ID: <20180519194437.GA21485@raichu> References: <201805190631.w4J6VHhr094225@repo.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.5 (2018-04-13) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 May 2018 19:44:49 -0000 On Sat, May 19, 2018 at 11:00:22AM -0700, Matthew Macy wrote: > On Sat, May 19, 2018 at 4:49 AM, Ed Maste wrote: > > On 19 May 2018 at 02:31, Matt Macy wrote: > >> Author: mmacy > >> Date: Sat May 19 06:31:17 2018 > >> New Revision: 333872 > >> URL: https://svnweb.freebsd.org/changeset/base/333872 > >> > >> Log: > >> ctfconvert: silence useless enum has too many values warning > > > > I agree it's reasonable to silence this warning as it is not > > actionable for almost everyone who encounters it. It does indicate a > > real problem in our tool chain though and I added an entry to > > https://wiki.freebsd.org/DTraceTODO. > > Conrad brought up the need to change the CTF ABI on IRC. This will > involve an on-disk format change which he and I believe to be > acceptable, but perhaps interoperability with other operating systems > is still considered important. I don't really think it's important. The main consideration is the toolchain. We use illumos as an upstream, which is pretty inactive at this point. Joyent's illumos fork has put a lot of work into the CTF toolchain, and OpenBSD has made some progress towards an ISC-licensed ctfconvert utility. I'd like to import the latter, since the permissive license means that we can use it in DDB. It requires more work because of some missing functionality, though. At some point I think we'd like to pursue one of these two upstreams, so it becomes a question of whether they're amenable to modifying the CTF binary format (and there are some other limitations that ought to be fixed in the process), and if not, whether it's painful to maintain the local modifications needed to support large enums.