From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EC7F0E8FDDC for ; Wed, 4 Oct 2023 07:48:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241551AbjJDHs6 (ORCPT ); Wed, 4 Oct 2023 03:48:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241571AbjJDHs5 (ORCPT ); Wed, 4 Oct 2023 03:48:57 -0400 Received: from server43.webgo24.de (server43.webgo24.de [185.30.32.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A6CDB4 for ; Wed, 4 Oct 2023 00:48:52 -0700 (PDT) Received: from earendil.localnet (dynamic-089-013-002-233.89.13.pool.telefonica.de [89.13.2.233]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by server43.webgo24.de (Postfix) with ESMTPSA id 7949B4111082 for ; Wed, 4 Oct 2023 09:48:50 +0200 (CEST) From: Thorsten Otto To: dash@vger.kernel.org Subject: Signal names when cross-compiling Date: Wed, 04 Oct 2023 09:48:49 +0200 Message-ID: <19502212.sIn9rWBj0N@earendil> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Precedence: bulk List-ID: X-Mailing-List: dash@vger.kernel.org Hi, when cross-compiling dash, signames.c is generated by a mksignames that was compiled for the host. This will generate wrong signal mappings because obviously this will use the signal numbers of the build system, not the target. I currently dont't have no idea how to solve that, other than populating the signal_names array at runtime rather than compile time.