Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp630707imu; Fri, 7 Dec 2018 06:34:20 -0800 (PST) X-Google-Smtp-Source: AFSGD/X+M3fp/rpS+zCHWa+2mcMFfkh8zT7GDnwzQwZKoCbHSE2tpmOipC5LkVfAdjWa18NJoZHO X-Received: by 2002:a62:5504:: with SMTP id j4-v6mr2487943pfb.166.1544193260222; Fri, 07 Dec 2018 06:34:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544193260; cv=none; d=google.com; s=arc-20160816; b=ViktsfnscnPOr0o4t9tn6H6NWirBUf/iVX7s+xPd542fL7oWynJIsL9cR8S0Wq76Hq DXgeEhg+GPguZR024eSAjP2ETz5w+0rhZZT06Mkr4/by9bEAwh6f839kKGF1xIZH+ZqR 4HyXv/BDMfLDBS3aDkKZsarj+vOSz2IrU7mSEHcVuRzI/Qj4wdlYddL+Lx23I53qAXTf L3Pv9xf8/Qra0f/8AB0U3fmzqfQrHR+hpXcauLrHORdsa13ekk6xiVQioK8bS8AH6mjp VVjBbDJ98kgX6pCoAtreFyzdEcqZdkGXK0Yvhkv1aPSjYiYADSqnJu9P4oq5IpEgt+rK 6OYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=pSGtoPP2+r0yfUiNpDz43tBhjDI7yAf4dWoqrivNmdE=; b=cLO8qj2/Vch4l4bNHmCYqPUpAHSuPxjiIwcZoaOztqbU3kkLDzYq23VrZxHCO79cj8 W6wG3EcW/aXj9FcMZj7Vr7+DCk9Gl1DDJoSYyvHLemhCeRd6pcC8vImzcc8bIXkqsVev qfDO0Z7E6X0ZIYSGCsWvMRBbAZENNHe9OjjB+PnkYGyy7w4+3yAR8VgJJpWcOmg+apcz KB3b/88Dk84ASsC7u+CPDOHPYv++UIZw5llzRqqtjm18iXk5EVHyonnezBQVW3wBQnvE aopJATS2vrxxyC+13KDNsjVglt054jgWdYdaZQIChycJR5qDXjvLK4cmqPWPpytrt7Kx YW2A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w7si2959464pgh.560.2018.12.07.06.33.55; Fri, 07 Dec 2018 06:34:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726097AbeLGOdU (ORCPT + 99 others); Fri, 7 Dec 2018 09:33:20 -0500 Received: from eddie.linux-mips.org ([148.251.95.138]:42132 "EHLO cvs.linux-mips.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726029AbeLGOdU (ORCPT ); Fri, 7 Dec 2018 09:33:20 -0500 Received: (from localhost user: 'macro', uid#1010) by eddie.linux-mips.org with ESMTP id S23992798AbeLGOdRhC0sC (ORCPT + 1 other); Fri, 7 Dec 2018 15:33:17 +0100 Date: Fri, 7 Dec 2018 14:33:17 +0000 (GMT) From: "Maciej W. Rozycki" To: Florian Weimer cc: Joseph Myers , Paul Burton , Firoz Khan , "open list:RALINK MIPS ARCHITECTURE" , Ralf Baechle , James Hogan , Greg Kroah-Hartman , Philippe Ombredanne , Thomas Gleixner , Kate Stewart , y2038 Mailman List , Arnd Bergmann , Linux Kernel Mailing List , Linux-Arch , Deepa Dinamani , Marcin Juszkiewicz , libc-alpha@sourceware.org Subject: Re: [PATCH v3 0/6] mips: system call table generation support In-Reply-To: <87mupiikzy.fsf@oldenburg2.str.redhat.com> Message-ID: References: <1543481016-18500-1-git-send-email-firoz.khan@linaro.org> <20181205063436.kzxgnvgexcgq572k@pburton-laptop> <87mupiikzy.fsf@oldenburg2.str.redhat.com> User-Agent: Alpine 2.21 (LFD 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 6 Dec 2018, Florian Weimer wrote: > > I seem to remember having to take extra care with how the three MIPS ABIs > > wire the syscalls to get it right in glibc, but I take it then this has > > been now addressed reliably enough for the glibc not to care how exactly > > has been arranged. > > This is a fairly recent change (commit > 2dba5ce7b8115d6a2789bf279892263621088e74, ": Use an > arch-independent system call list on Linux", first release with it is > glibc 2.27). This patch is quite backportable; we have put it into our > 2.17-derived glibc, and the upstream work was originally driven by > downstream ordering requirements of kernel header and glibc builds. > Glad to see it's useful elsewhere. Thanks for the pointer, and the work you have done to make this more robust; it was that that I missed. > The test retains the old -based macro extraction for > testing purposes, but it needs that only for the actual target > architecture and only the *names*, so it's easy to implement. Before > that, the generation would have to carefully take into account multiple > sub-targets (i386/x86-64/x32 is one of the more complicated scenarios). > Presumably, you saw problem with that part. Yeah, the MIPS o32/n64/n32 ABI set is a corresponding situation, except that somewhat longer-lived as we've had support for these three ABIs since 2001, including the ability to concurrently run user executables built for any of these ABIs under a single 64-bit Linux kernel. Maciej