From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/12009 Path: news.gmane.org!.POSTED!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: Re: [LEDE-DEV] [PATCH 1/2] musl: update to 1.1.16+ git HEAD 2017-09-28 Date: Mon, 16 Oct 2017 17:01:29 +0200 Message-ID: <20171016150128.GS15263@port70.net> References: <1507540908-26635-1-git-send-email-koen.vandeputte@ncentric.com> <20171016140355.GR15263@port70.net> <9f1a274a-1529-a1c3-0de3-d3bab1f7e8fe@nbd.name> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1508166117 1480 195.159.176.226 (16 Oct 2017 15:01:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 16 Oct 2017 15:01:57 +0000 (UTC) User-Agent: Mutt/1.6.0 (2016-04-01) Cc: Koen Vandeputte , Syrone Wong , Felix Fietkau To: musl@lists.openwall.com Original-X-From: musl-return-12022-gllmg-musl=m.gmane.org@lists.openwall.com Mon Oct 16 17:01:45 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1e46tc-0006fR-4Q for gllmg-musl@m.gmane.org; Mon, 16 Oct 2017 17:01:36 +0200 Original-Received: (qmail 17545 invoked by uid 550); 16 Oct 2017 15:01:41 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 17521 invoked from network); 16 Oct 2017 15:01:40 -0000 Mail-Followup-To: musl@lists.openwall.com, Koen Vandeputte , Syrone Wong , Felix Fietkau Content-Disposition: inline In-Reply-To: <9f1a274a-1529-a1c3-0de3-d3bab1f7e8fe@nbd.name> Xref: news.gmane.org gmane.linux.lib.musl.general:12009 Archived-At: * Felix Fietkau [2017-10-16 16:09:16 +0200]: > On 2017-10-16 16:03, Szabolcs Nagy wrote: > > * Koen Vandeputte [2017-10-16 10:31:11 +0200]: > >> I've proposed to update the musl libc within the LEDE project and received > >> some feedback from Syrone Wong (in cc). > >> > >> According to him, your upstream commit in musl [1] seems to break something. > >> (see below) > >> > >> - Can you confirm this? > >> - Would you have any clue what the reason could be? > > ... > >> [1] > >> "powerpc{64}: fix MAP_NORESERVE and MAP_LOCKED in mman.h" > >> http://git.musl-libc.org/cgit/musl/commit/?id=c10bc61508dc52b8315084e628f36a6c3c2dabb1 > >> > > > > these are rarely used mmap flags, i think my patch is correct. > > > > the old value in musl was wrong on powerpc (i think the old > > value did not collide with other map flags so the kernel would > > report EINVAL if these flags were ever used). > I don't think this commit is the cause at all. The bug reporter was > using an ARM device and this commit only touches powerpc header files. > Probably the issue is somewhere between the version that LEDE uses now > and the version with this commit id. > some more details would be useful, e.g. strace output of the failing processes. or libc.so before and after (mmap code in my libc.so looks ok, but there might be some toolchain issue). does the system use >4k page size?