From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4482 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: Re: Am I using PRIxPTR wrong? Musl-libc complains, glibc doesn't Date: Tue, 14 Jan 2014 16:45:53 -0500 Message-ID: <20140114214553.GE24286@brightrain.aerifal.cx> References: <20140114210601.GF1685@port70.net> <20140114212010.GD24286@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 1389735958 4172 80.91.229.3 (14 Jan 2014 21:45:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Jan 2014 21:45:58 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4486-gllmg-musl=m.gmane.org@lists.openwall.com Tue Jan 14 22:46:06 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 1W3BoE-0006aG-1z for gllmg-musl@plane.gmane.org; Tue, 14 Jan 2014 22:46:06 +0100 Original-Received: (qmail 5276 invoked by uid 550); 14 Jan 2014 21:46:05 -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 5268 invoked from network); 14 Jan 2014 21:46:05 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:4482 Archived-At: On Tue, Jan 14, 2014 at 09:37:28PM +0000, David Wuertele wrote: > Rich Felker aerifal.cx> writes: > > On Tue, Jan 14, 2014 at 10:06:01PM +0100, Szabolcs Nagy wrote: > > > * David Wuertele wuertele.com> [2014-01-14 20:36:36 +0000]: > > > > ** Both native (x86_64 glibc) and target (arm musl-libc) define > > > > ** PRIxPTR as "lx", but uintptr_t as unsigned int: > > > > > > musl defines it to "x" on 32bit archs > > > > Maybe I misread; it looks like David's problem is finding "lx" in the > > header while the actual type is "unsigned int". Perhaps this is due to > > using an older version of musl where the "lx" was there incorrectly? > > I'm using musl-0.9.14, I see that 9.15 just came out this month. > Did 0.9.14 have the problem? I know a problem like this was fixed sometime not too long ago, and it was probably between the 0.9.14 and 0.9.15 releases. Rich