From owner-svn-src-head@freebsd.org Fri Dec 16 20:07:17 2016 Return-Path: Delivered-To: svn-src-head@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 B56CBC837A5 for ; Fri, 16 Dec 2016 20:07:17 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from pmta2.delivery6.ore.mailhop.org (pmta2.delivery6.ore.mailhop.org [54.200.129.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9000F1EAE for ; Fri, 16 Dec 2016 20:07:17 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: 3ed95f45-c3cb-11e6-acc0-c7e6c9ad01d6 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.78.92.27 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.78.92.27]) by outbound2.ore.mailhop.org (Halon) with ESMTPSA id 3ed95f45-c3cb-11e6-acc0-c7e6c9ad01d6; Fri, 16 Dec 2016 20:07:18 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id uBGK7EsU004151; Fri, 16 Dec 2016 13:07:14 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <1481918834.1972.77.camel@freebsd.org> Subject: Re: svn commit: r310138 - head/lib/libc/stdio From: Ian Lepore To: Baptiste Daroussin , "Conrad E. Meyer" Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Date: Fri, 16 Dec 2016 13:07:14 -0700 In-Reply-To: <20161216193128.wgskqt4vc44vdd7o@ivaldir.etoilebsd.net> References: <201612160144.uBG1ipjW016736@repo.freebsd.org> <20161216193128.wgskqt4vc44vdd7o@ivaldir.etoilebsd.net> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 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: Fri, 16 Dec 2016 20:07:17 -0000 On Fri, 2016-12-16 at 20:31 +0100, Baptiste Daroussin wrote: > On Fri, Dec 16, 2016 at 01:44:51AM +0000, Conrad E. Meyer wrote: > > > > Author: cem > > Date: Fri Dec 16 01:44:50 2016 > > New Revision: 310138 > > URL: https://svnweb.freebsd.org/changeset/base/310138 > > > > Log: > >   vfprintf(3): Add support for kernel %b format > >    > >   This is a direct port of the kernel %b format. > >    > >   I'm unclear on if (more) non-portable printf extensions will be a > >   problem. I think it's desirable to have userspace formats include > > all > >   kernel formats, but there may be competing goals I'm not aware > > of. > >    > >   Reviewed by: no one, unfortunately > >   Sponsored by: Dell EMC Isilon > >   Differential Revision: https://reviews.freebsd.org/D8426 > > > I really don't think it is a good idea, if used in userland it would > be make > more of our code difficult to port elsewhere. > > Other than that, it makes more difficult to use vanilla gcc with out > userland. > and it is adding more complexity to be able to build freebsd from a > non freebsd > system which some people are working on. > > Personnaly I would prefer to see those extensions removed from the > kernel rather > than see them available in userland. > > Can't we use simple helper function instead? > > Best regards, > Bapt I'll add a big +1 for the concept of eliminating the extensions from the kernel instead of extending them to userland.  People ask why freebsd can't be built using standard tools on foreign build hosts, and these non-standard extensions are part of the reason why. -- Ian