From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759783AbcILPAm (ORCPT ); Mon, 12 Sep 2016 11:00:42 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:63975 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759739AbcILPAg (ORCPT ); Mon, 12 Sep 2016 11:00:36 -0400 From: Arnd Bergmann To: Guenter Roeck Cc: Dave Hansen , Thomas Gleixner , "open list:ABI/API" , linux-arch , linux-kernel@vger.kernel.org Subject: Re: Build failures in -next: sys_pkey_mprotect etc. undefined Date: Mon, 12 Sep 2016 16:59:30 +0200 Message-ID: <9369809.1DWhqOZ7mo@wuerfel> User-Agent: KMail/5.1.3 (Linux/4.4.0-34-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: <9d74497b-1522-b350-42fa-49df2df48c4a@roeck-us.net> References: <9d74497b-1522-b350-42fa-49df2df48c4a@roeck-us.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:LkDc1Vc/Vb21FQYZz1wex72AW/CVgpoUCiBVHPkmkV1h08r5+3N gXFXk48+aUDVGQlX8+VIYY6652FfZLBolAFwcBvBK7PvToufO7OpoCDrBXihMwVZ8bWtkDv UEl0Yuq6UNv+4E5r6c8mIyd8oyhCdpZZHImEByzyUUdjrEU+um71TuT+LaZe+EPJt9LpQoN ZYRg+YLlf1otb7+65ImzQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:FSZiVeBN6BA=:Vm7B1XYWV4m+gm89w0yDrM vfKwVAxe3nOAvoiSQcUALDTOwd8rm/a2F3/wfH1XYFHG3xI6HS7z/tVsVA0kbxxT1F0i2pPSG K4pqLqymsbb9nptg34rQ7xVv1U4UAMxSV2D7wi/0yhE9mi47RFpyFY6CM4k9EyHO5XO1p1mQf m+46dcn1q54tC8hhopehNyUoSnupv1O0awsCJQ0TUK/4fdvKkac5+BnoFY0oJoUvIrbOVBBwr sEXrSCJ5ynbQlWHf+LM6ATGkeb37TloO1SRgQEKVM8Uy4GjhQ329Vwp685l/O/BLlqqeCGeoq 00XixsXUcRgzUV3V9eRVdbcK+w3wjQq454MFIsJlukaxq9kdAYYNf3JEq6VK8GjRzlcbPqL4s tzHWRf15qxkHjbUegOKG7oq71J6MdqqhNcB6XYyFc5G5GltGD26/hXJQmcFixULHvS3/V6VQY /cChefvn6eopeSmE7x4mAfs+3nJlzUrFM8q5ybek10k7e8Vgp6Va8GEb1Ea6sizPSE40A6q/o 51CXvXxgNn3ISO51APpoVgrjC/eKAxGg6OSe6Ouk32zFP2w0GDFYM4yN9Hg23TKdW+idPrihA BcFzAtY2F1eHZ/4GLpEWS4LSRooWTs2TADWc3Hkl/rvj7D59FVHanTaIjlWkeoEqSKNbr0aCo zvJcMyDNlFWFHWPxQzbbswaBsgbIDxRJ7Bzzl3jDGcxQsBp9Vxn6T7mIVpYmSD8/7d4D7XS6W zqzZ6TR7uCoKK2al Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Monday, September 12, 2016 7:55:33 AM CEST Guenter Roeck wrote: > Building h8300:allnoconfig ... failed > Building h8300:h8300h-sim_defconfig ... failed > Building c6x:dsk6455_defconfig ... failed > > [ and more builds for the same architectures ] > > -------------- > Error log: > arch/h8300/kernel/built-in.o:(.data+0x480): undefined reference to `sys_pkey_mprotect' > arch/h8300/kernel/built-in.o:(.data+0x484): undefined reference to `sys_pkey_alloc' > arch/h8300/kernel/built-in.o:(.data+0x488): undefined reference to `sys_pkey_free' > > Other architectures (frv, xtensa, score) currently fail to build for other reasons, > so I don't really know if the above are the only ones affected. > > I think the best solution would be to add them to kernel/sys_ni.c so we can assign syscall numbers for all architectures regardless of whether they use it or not (most of them will never use these AFAICT). Arnd From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: Build failures in -next: sys_pkey_mprotect etc. undefined Date: Mon, 12 Sep 2016 16:59:30 +0200 Message-ID: <9369809.1DWhqOZ7mo@wuerfel> References: <9d74497b-1522-b350-42fa-49df2df48c4a@roeck-us.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: In-Reply-To: <9d74497b-1522-b350-42fa-49df2df48c4a-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org> Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Guenter Roeck Cc: Dave Hansen , Thomas Gleixner , "open list:ABI/API" , linux-arch , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-api@vger.kernel.org On Monday, September 12, 2016 7:55:33 AM CEST Guenter Roeck wrote: > Building h8300:allnoconfig ... failed > Building h8300:h8300h-sim_defconfig ... failed > Building c6x:dsk6455_defconfig ... failed > > [ and more builds for the same architectures ] > > -------------- > Error log: > arch/h8300/kernel/built-in.o:(.data+0x480): undefined reference to `sys_pkey_mprotect' > arch/h8300/kernel/built-in.o:(.data+0x484): undefined reference to `sys_pkey_alloc' > arch/h8300/kernel/built-in.o:(.data+0x488): undefined reference to `sys_pkey_free' > > Other architectures (frv, xtensa, score) currently fail to build for other reasons, > so I don't really know if the above are the only ones affected. > > I think the best solution would be to add them to kernel/sys_ni.c so we can assign syscall numbers for all architectures regardless of whether they use it or not (most of them will never use these AFAICT). Arnd