From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 17 Jul 2024 23:37:00 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sUCKa-000Ib0-1z for lore@lore.pengutronix.de; Wed, 17 Jul 2024 23:37:00 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1sUCKa-00071m-79; Wed, 17 Jul 2024 23:37:00 +0200 Received: from mail-am0eur02on2130.outbound.protection.outlook.com ([40.107.247.130] helo=EUR02-AM0-obe.outbound.protection.outlook.com) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sUCK5-0006sS-Ii for ptxdist@pengutronix.de; Wed, 17 Jul 2024 23:36:29 +0200 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=S+9kfGaeuF6i8b89nhEyWasYj37vDOep6yN74m8UjeL6KmbaExMovWYrqW+A9lmbLt8NKWsrCGtw2TsHY13ZwD0HiQZxe6PFnwYqMNBq408ZI6ObxzUTfuV7QBXLMIqcTfLhxJZHpCkFH6b6Q74VBBdppwSblt1LCvwnSv9hI9NGsrfNQXyOrqAs3Hy3b5V+728TGujNaWUZPjXWuv7ZYul8Kzn9GQRyJxhqKl9sdN73PrHrHxNQwEgYJtPVT0M9dY+QJ1XoGIPqMGSGqsnWyW2KZsmrVJyXHbM0K9KXfwIaiooVCbYvmqHdQQvuyI1DyaGj0ZGsRjDatNGX4G7kHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=kIyJvbCUgIGwVJi5B2F09UydhYKPjrtklOs7tCrwhPY=; b=vRWv0Cm4yHRSf6G11Q9c/+KeknpqwMpbefuWbqq6XKROtHcXoflaDZSzH1keyYMMBX9dU1lI6LR8iN+q58WrbynG13VLec79cYcNfIJcDd6hLkqI/NGtJDajyhj7MIqZQ1wZUM/wrT5X8OVgZzCOycyl3n0gt7eDWZwbcpp07tGzhoiNsuvO4JzNXpUs2DwbHmANJaprXGaGUzP9rLdtDcLmAHA0Q+5+5to8yYxPTo+Z+0fF2hQqAF/3htB0+5x0OpgcuCCN5xE93WHhaxzQwJeO1JCFe8bzxppQS6rMXXGw+c/7o8Uh3zMSVzwurhj9luT/tq85cPugwvDoXoSHVw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=t2data.com; dmarc=pass action=none header.from=t2data.com; dkim=pass header.d=t2data.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=t2datacom.onmicrosoft.com; s=selector1-t2datacom-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kIyJvbCUgIGwVJi5B2F09UydhYKPjrtklOs7tCrwhPY=; b=kYFwR3mZEnKl5LDkbTnorRyV4FEfU6LyVQygL5FNDSmJ2fOuKdA9RXtJNy109t2gFDtWtil8U2yBMT1HeHCjwGzg2SnXS+CcP02MOouFix4NH37+lKpSDkYwYao+VTJT6qtKkLBjxT+pzQw/PBrsvNeHoEbnaxUhcKDZg7CC0zI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=t2data.com; Received: from DB9P251MB0618.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:334::22) by GV1P251MB0770.EURP251.PROD.OUTLOOK.COM (2603:10a6:150:62::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.28; Wed, 17 Jul 2024 21:36:23 +0000 Received: from DB9P251MB0618.EURP251.PROD.OUTLOOK.COM ([fe80::fe8d:f825:5b29:2903]) by DB9P251MB0618.EURP251.PROD.OUTLOOK.COM ([fe80::fe8d:f825:5b29:2903%6]) with mapi id 15.20.7762.030; Wed, 17 Jul 2024 21:36:23 +0000 From: Christian Melki To: ptxdist@pengutronix.de Date: Wed, 17 Jul 2024 23:35:56 +0200 Message-Id: <20240717213557.2353045-1-christian.melki@t2data.com> X-Mailer: git-send-email 2.34.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: GV3P280CA0119.SWEP280.PROD.OUTLOOK.COM (2603:10a6:150:8::20) To DB9P251MB0618.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:334::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9P251MB0618:EE_|GV1P251MB0770:EE_ X-MS-Office365-Filtering-Correlation-Id: e1087ffe-187c-4b29-8c0f-08dca6a88159 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|366016|52116014|376014|38350700014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?TZPhlVD6OE1O5jEEPj8g78OPefAz0diJOK943sFDQkI/TCI6S9ug91qgK5QT?= =?us-ascii?Q?vxzhXaX6gH7Qy7OgCJUvQy756AFPj7vWTW78qudgsSjt2SRacgx6E8J9rGvb?= =?us-ascii?Q?ff6WP1jLR0wD30nhZ5mU915jPhcHOli9siS46K4IkTxiZ8rVwuK9sXfyW/Zz?= =?us-ascii?Q?V+B7IbGtxd8ruINPyhMAXkoDdkBbGa5vDJc9pYurtx9fboWZdKJ7VQO3W29R?= =?us-ascii?Q?rS/s6AskT3OvrezbNLiE84E45wspJCtVhKq4y1Gt3F3tbNJ1vR54cSSbVeMr?= =?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3n0jIrsj4sRIEjWSlxZSYe1PTFVoC?= =?us-ascii?Q?n7HxurOf0f0Z0aWGPeiJIz2IIZ+58fAXkXUpwzLUJsj4nqAK38giJtCjKpSI?= =?us-ascii?Q?Es8UIhDwqKPS3uPSHHGQJCmeO54YYX/jn370OH9j/y7zFABm3sB/1298iAdq?= =?us-ascii?Q?CIVsk68lo5SPIh2K/C6mI7AqgVqsehHMDnbP+eAXvIcWzCsqeVZ31YQickQ8?= =?us-ascii?Q?2jev65EZPO8WD400zhl3LsPalPVJzbCdUYAq9CAPMFo9FOeYiQ=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB9P251MB0618.EURP251.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(52116014)(376014)(38350700014); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?L6y7nAGS94s7GSmeaBBiId8K9XYgOxeWNoVnmzf1arhb0778yvDxXkQzMugp?= =?us-ascii?Q?P8IkIJXE826ORc+awav4qQBcP6Zov8NsfKtx/fUe/brGH3h1NrPFdPQ9olPj?= =?us-ascii?Q?mXQvGH6QcZoXCPKiK17Zu+Cpqw7nFbsl8xc6n09eR3gdoehk4jWcRujwV+AJ?= =?us-ascii?Q?IuounYpREbMB640yGc91Y2M6L+RzweU1pt/XvFCIA0c2TyRLVCSQvBEced6a?= =?us-ascii?Q?QF8ptQkdqDeUcKTNlnoYCgAZUn+SSuZonw4CzWO2919s/YurAPlWrc2OIoWm?= =?us-ascii?Q?hq+r3Jigz3RUwAu5e4AVjbCPAC7p19l+EBwz1AZhCvyj6szbBHQkEMdYTWUN?= =?us-ascii?Q?maaV6knqpu82Fy+gVlIhh0gR+ris8vH87ktx2zv27JH42zS2tKlIdpIHdiI6?= =?us-ascii?Q?Gsv4vF9PI1xc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/SjUovhG1zIS5?= =?us-ascii?Q?4iWuVl++csQzazx0HbC12ooWi6ybZYF6BV/zdSemwI23lx2mH+5+YPuTxQFt?= =?us-ascii?Q?9Z4f/F5A3jz6EH51g2SGrmI9YxNKahKDvZFC7+LTn5YDEqutcyoZQaUG+aNc?= =?us-ascii?Q?yUjerLABxU6UW34n3YxAYH7jkZxfyeRxkf1KvBJmE1H7s7ITddAIbeaVVNVj?= =?us-ascii?Q?lkdvlfEoU7qGKRHvanz+u5JR96G/wxpLPhJj7uQ2MCAAZyacHfpbpmgKRkw8?= =?us-ascii?Q?z1EL45IVroBVn4AKn6qf5N/G8KckP4zE9dv7alKKHhm4ULh36984/PzTnPd3?= =?us-ascii?Q?tQ=3D=3D?= X-OriginatorOrg: t2data.com X-MS-Exchange-CrossTenant-Network-Message-Id: e1087ffe-187c-4b29-8c0f-08dca6a88159 X-MS-Exchange-CrossTenant-AuthSource: DB9P251MB0618.EURP251.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jul 2024 21:36:23.5815 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 27928da5-aacd-4ba1-9566-c748a6863e6c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Uoc8TOIon6MJPzM279IuvyJwu35RdVxvSyH2qrEEhWohglatlFR8Km634VNwq65ssUashlAXf5gfChZiclGxcyPQE8+L7+FggA7iICreoUY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1P251MB0770 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Subject: [ptxdist] [PATCH 1/2] libffi: Adjust build options. X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false When upgrading automake, libffi failed to build due to a makefile error. The error is triggered when using options we don't really need. Circumvent the issue by changing options and also improve a few others. * Rearrange one option. * Disable internal builddir in the srcdir and disable using gcc as discovery for multidir arch directories. * Force static trampolines. Dynamic ones are a security issue. Now this might break some programs and probably make debugging using gobject introspection difficult, but otoh, it stops usage of self modifying code. * Keep patches. I guess they can both go away, but I don't see much harm in continuing to use them. Signed-off-by: Christian Melki --- rules/libffi.make | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rules/libffi.make b/rules/libffi.make index 4ccc437d5..f9a6bd397 100644 --- a/rules/libffi.make +++ b/rules/libffi.make @@ -33,14 +33,17 @@ LIBFFI_LICENSE_FILES := \ LIBFFI_CONF_TOOL := autoconf LIBFFI_CONF_OPT := \ $(CROSS_AUTOCONF_USR) \ + --disable-builddir \ --disable-static \ --enable-portable-binary \ --disable-pax_emutramp \ - --disable-debug \ --disable-docs \ + --disable-debug \ --enable-structs \ --enable-raw-api \ + --enable-exec-static-tramp \ --disable-purify-safety \ + --disable-multi-os-directory \ --without-gcc-arch # ---------------------------------------------------------------------------- -- 2.34.1