From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/5962 Path: news.gmane.org!not-for-mail From: u-igbb@aetey.se Newsgroups: gmane.linux.lib.musl.general Subject: Re: variadic args (was: [musl] compiling musl on x86_64 linux with pcc) Date: Thu, 28 Aug 2014 18:55:07 +0200 Message-ID: <20140828165507.GS12376@example.net> References: <20140825083457.GC12376@example.net> <20140825154617.GV12888@brightrain.aerifal.cx> <20140826193439.GH12376@example.net> <20140826195407.GG12888@brightrain.aerifal.cx> <20140827074036.GI12376@example.net> <20140827075407.GL12888@brightrain.aerifal.cx> <20140827085254.GJ12376@example.net> <20140827163413.GM12888@brightrain.aerifal.cx> <20140828081316.GN12376@example.net> <20140828144032.GX12888@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1409244940 3569 80.91.229.3 (28 Aug 2014 16:55:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Aug 2014 16:55:40 +0000 (UTC) Cc: musl@lists.openwall.com To: Rich Felker Original-X-From: musl-return-5969-gllmg-musl=m.gmane.org@lists.openwall.com Thu Aug 28 18:55:33 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1XN2yx-000716-4E for gllmg-musl@plane.gmane.org; Thu, 28 Aug 2014 18:55:31 +0200 Original-Received: (qmail 15449 invoked by uid 550); 28 Aug 2014 16:55:30 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 15441 invoked from network); 28 Aug 2014 16:55:30 -0000 X-T2-Spam-Status: No, hits=0.0 required=5.0 Received-SPF: none receiver=mailfe02.swip.net; client-ip=31.172.30.3; envelope-from=u-igbb@aetey.se Content-Disposition: inline In-Reply-To: <20140828144032.GX12888@brightrain.aerifal.cx> User-Agent: Mutt/1.5.23 (2014-03-12) Xref: news.gmane.org gmane.linux.lib.musl.general:5962 Archived-At: On Thu, Aug 28, 2014 at 10:40:32AM -0400, Rich Felker wrote: > compiler-provided stdarg.h from every possible compiler. > > Note that this is actually complex in practice (there are lots of > variants!) while the __builtin_va_* stuff is not complex in practice > (tcc is the only example anyone's given where the uniform > __builtin_va_* stuff doesn't work). Indeed, you actually convinced me that e.g. fulfilling the symbol visibility constraints (to be fully standard compliant) is not easily provided with a "simplistic" approach. So, reasoning in the practical terms, the reliance on builtins is the best fit for efficient and consistent musl development. I am otherwise satisfied with workarounds (working and good enough for my practical needs - the applications usually disregard a lot more standards than my setup :) for the sometimes "weird" compilers I happen to deal with, so this issue is in no way a showstopper here. Thanks for your time in the discussion Rich. Best regards, Rune