From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/1462 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: Bug with fcntl() on mipsel Date: Wed, 8 Aug 2012 08:51:20 -0400 Message-ID: <20120808125120.GH27715@brightrain.aerifal.cx> References: 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: dough.gmane.org 1344430248 13799 80.91.229.3 (8 Aug 2012 12:50:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Aug 2012 12:50:48 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-1463-gllmg-musl=m.gmane.org@lists.openwall.com Wed Aug 08 14:50:48 2012 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 1Sz5im-00022w-VK for gllmg-musl@plane.gmane.org; Wed, 08 Aug 2012 14:50:45 +0200 Original-Received: (qmail 25785 invoked by uid 550); 8 Aug 2012 12:50:44 -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 25777 invoked from network); 8 Aug 2012 12:50:43 -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:1462 Archived-At: On Wed, Aug 08, 2012 at 02:46:20PM +0200, Yoran Heling wrote: > Hi, > > I've been playing around a bit with the mips support in the new 0.9.3 > release, but stumbled upon something that looks like a bug. This is on > debian-mipsel 6.0.5 running within qemu. The problem is with the > fcntl64() call, visible in the strace output below. It looks like > anything after the first argument is garbage. Thanks for the report. I'll check it out. The problem is almost certainly incorrect macros in bits/fcntl.h, so if anybody wants to look at it before I get a chance and find out what's wrong, you're welcome to. Rich