From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2241 Path: news.gmane.org!not-for-mail From: Paul Schutte Newsgroups: gmane.linux.lib.musl.general Subject: Re: A few issues on MIPS Date: Mon, 5 Nov 2012 20:11:21 +0200 Message-ID: References: <20121105152832.GV24157@port70.net> <20121105173127.GQ20323@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8ff246e19ebd1304cdc36990 X-Trace: ger.gmane.org 1352139093 6309 80.91.229.3 (5 Nov 2012 18:11:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Nov 2012 18:11:33 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2242-gllmg-musl=m.gmane.org@lists.openwall.com Mon Nov 05 19:11:42 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 1TVR9C-0000cC-JC for gllmg-musl@plane.gmane.org; Mon, 05 Nov 2012 19:11:42 +0100 Original-Received: (qmail 18352 invoked by uid 550); 5 Nov 2012 18:11:33 -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 18344 invoked from network); 5 Nov 2012 18:11:33 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=2Z3OobpGILa3asFE3zKi08eLCqZwbEi6Ox7zfgQq+bA=; b=Xtzs3eOeZRBrz60sokskE7IVW6d9l03a8qGtBmLYdgVR3L5Dzo1ex+Giu54YQri5n4 SBy77AyrKiS6i+1E0H1fjdZjBHukf/mnh6o6BrFSDTwNq284JMyvEL6SXlLLXzSiSCl1 e+hjdpNX/Y1qOwFeNR+eDnTqwCIDVIUyxdGoIbmBr3CqNVoG6qQh9JjJHr+O9zH1qVuM PM0rt57W18Ac4I2wW+hRtqJlEnJftIN5fpJueNu9llGbz7E1pgQSkTk1UqkNMc4yT2Vc GSbcvdKrVrXfxTKsha8pgn1ItJzVd/FncjisSma0I9aKeBe6NifA5v1pJwBrb+s/jBCB 2vsQ== In-Reply-To: <20121105173127.GQ20323@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:2241 Archived-At: --e89a8ff246e19ebd1304cdc36990 Content-Type: text/plain; charset=ISO-8859-1 Thanks ! I will apply and report back. Regards Paul On Mon, Nov 5, 2012 at 7:31 PM, Rich Felker wrote: > On Mon, Nov 05, 2012 at 07:27:44PM +0200, Paul Schutte wrote: > > Thanks for the reply. > > > > I suspected something like you mention and therefore I made sure that I > > installed the correct kernel headers before I compiled musl or any of the > > other software. > > Kernel headers are completely irrelevant; they're not used anywhere. > nsz's analysis is right. I have a patch I'm about to commit. In case > you'd like to try it directly without using git, I'm attaching it > here. > > There may be more fixes still needed. MIPS has A LOT of gratuitous > differences in constant definitions and I thought I'd caught all of > them before, but apparently some slipped through. The fcntl part of > the patch has been tested and seems correct. The socket parts should > be right, but they're untested; I'm working on a test for them now. > > Rich > --e89a8ff246e19ebd1304cdc36990 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks !

I will apply and report back.

Regards
Paul

On Mon, No= v 5, 2012 at 7:31 PM, Rich Felker <dalias@aerifal.cx> wrote:=
On Mon, Nov 05, 2012 at 07:27:44PM +0200, Pa= ul Schutte wrote:
> Thanks for the reply.
>
> I suspected something like you mention and therefore I made sure that = I
> installed the correct kernel headers before I compiled musl or any of = the
> other software.

Kernel headers are completely irrelevant; they're not used anywhere. nsz's analysis is right. I have a patch I'm about to commit. In cas= e
you'd like to try it directly without using git, I'm attaching it here.

There may be more fixes still needed. MIPS has A LOT of gratuitous
differences in constant definitions and I thought I'd caught all of
them before, but apparently some slipped through. The fcntl part of
the patch has been tested and seems correct. The socket parts should
be right, but they're untested; I'm working on a test for them now.=

Rich

--e89a8ff246e19ebd1304cdc36990--