Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp1176212lqs; Wed, 6 Mar 2024 08:19:55 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUMaJq7pHWySls8kqLuPQ5n3wGsLsAcy8cXHlwq/kRbkDIk+nQ1JSoc/wZpsAs7lTtoHDuLtwKItahLekveMEFco/5LX3IoWVV0+Gb4bg== X-Google-Smtp-Source: AGHT+IFG0pXfZYNoLUCvEcv/nByW9yDAahpBYOQsrL3JvdpcUM9CbDHMdl5azWSstNVnd+Io3Imk X-Received: by 2002:a17:903:32d0:b0:1dc:2d63:9bf6 with SMTP id i16-20020a17090332d000b001dc2d639bf6mr6637758plr.4.1709741994962; Wed, 06 Mar 2024 08:19:54 -0800 (PST) Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id e6-20020a170903240600b001dcd2ed9cb5si12502181plo.567.2024.03.06.08.19.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 08:19:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-94237-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@axis.com header.s=selector1 header.b=DIt79yuE; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-94237-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94237-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=axis.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id BEB14B231D9 for ; Wed, 6 Mar 2024 16:15:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5D18D136652; Wed, 6 Mar 2024 16:14:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=axis.com header.i=@axis.com header.b="DIt79yuE" Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2080.outbound.protection.outlook.com [40.107.105.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7332660912 for ; Wed, 6 Mar 2024 16:14:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.105.80 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709741697; cv=fail; b=NFPRSx9DqLFSlFnBUlHYMZif1mJsAsMph5csZim2XeKkTfd8P1/mID2zr/LaCnOCphKH3QER0RWq+4xianlaNhRLWivO4E0KtVvrqht2h7sQ+tK4X0PYZDCxGsPqKG1XajYNOIJinCEbJX/EkEnv0GUqeZGCj2EZzS+v43jQrhQ= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709741697; c=relaxed/simple; bh=DNxqdqC8r0lCM34bh8T5BCIEp+Vq6tkUweyx+L3Pf6c=; h=From:To:CC:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=Lv854iM6tXJ2obnSeRv1V5cOhIoYuekhOddzL/6nAxUJ/+Wj6r//OVe3pEhR0o+jJJ63DuJPTbQQs9z9+OcHy48jzB3tFV8XZVIQsCte5dUtkDauuQGZu+WmhC39iEldX5Elz6vtMDQdQYIO7VLhvO8o6u9zICuzTxIAhqUFHpE= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=axis.com; spf=pass smtp.mailfrom=axis.com; dkim=pass (1024-bit key) header.d=axis.com header.i=@axis.com header.b=DIt79yuE; arc=fail smtp.client-ip=40.107.105.80 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=axis.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=axis.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Pk0ysPWEKZF1yVp7+P1WuTCOPOwMiJ0lQdG+NCK9zPjxWsYA7k71Q/XIyeUzSTvcoPpFufT9L4dh83ICeeXkvpty+eXK4y+qX48CmVdqzfMCaQ9/elOrIcE/hJtOI8e05nlqQhlAM1J3vXBzlLfQJk3cFpb9qGyM+ifxkTavTlSI5zEb6kQlVihN4OyKuZtZcpAe+g3/+/eKrEFa0DbasJNivz8p88fgcmUKyMejC/84Au290/Kopa/dSIzXlpUJ0DgphrPmB7LHwGVGGZ4rYO08bQNf5xjnqpmTHdcRjaO7KBm/mySRLqZkCxCWCvQMyw4DvAxyow71aQ8i8y2RzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=w/KlU02qP3DuMI4MuSALqPeEkY+/6f96bXviwBTkv+0=; b=eH2l8GM0ha5A+dxvFC64DeRJM/CgOIYGyXnZOVmRElMY+KuDndhw20A25QV5z99s0bz2MpHXKW0pHxvp8xqCdwDePrXUxPtVjcA5a80QJUXMzyZbaL76sOD1rCXFAVdTtPN2yr3aptImUmjlZfXoSo6EScD2Uw6HUeCLH+3KS/IFzF+0GLyqt753JNejBGWGV5darkCd21nbWy9vukDYDq5wiYvdBQljv9hcfPz2P6AlVDF4d2XBzSTsDbihUQlEVGy7T9vib0VssAphJDceJHvXTZVFKk/IQd18gdOccARCj08pIUHwOUFPPFgdjzp4squLERcGRE7eM2AzWsG67g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 195.60.68.100) smtp.rcpttodomain=lists.infradead.org smtp.mailfrom=axis.com; dmarc=fail (p=none sp=none pct=100) action=none header.from=axis.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=w/KlU02qP3DuMI4MuSALqPeEkY+/6f96bXviwBTkv+0=; b=DIt79yuExA/OrhKD85umx0KbbzPnfCh5a+w4qIQcNfdQaADdRM9DexOIB5a2EObWSwkueFDrOjTwsNFQJy1ZWd3LCWCOIUYjTrCf51o8qLFNuPRfwtuezi+tSnejQSYM71G2mQqdkftFB8tOL/DvKp5OAfUFecjvEnyXzn/xmoQ= Received: from AM0PR10CA0053.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:150::33) by DB9PR02MB6537.eurprd02.prod.outlook.com (2603:10a6:10:21b::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.39; Wed, 6 Mar 2024 16:14:50 +0000 Received: from AM4PEPF00027A66.eurprd04.prod.outlook.com (2603:10a6:20b:150:cafe::2f) by AM0PR10CA0053.outlook.office365.com (2603:10a6:20b:150::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.24 via Frontend Transport; Wed, 6 Mar 2024 16:14:50 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 195.60.68.100) smtp.mailfrom=axis.com; dkim=none (message not signed) header.d=none;dmarc=fail action=none header.from=axis.com; Received-SPF: Fail (protection.outlook.com: domain of axis.com does not designate 195.60.68.100 as permitted sender) receiver=protection.outlook.com; client-ip=195.60.68.100; helo=mail.axis.com; Received: from mail.axis.com (195.60.68.100) by AM4PEPF00027A66.mail.protection.outlook.com (10.167.16.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7362.11 via Frontend Transport; Wed, 6 Mar 2024 16:14:50 +0000 Received: from pc52311-2249 (10.0.5.60) by se-mail01w.axis.com (10.20.40.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Wed, 6 Mar 2024 17:14:49 +0100 From: Waqar Hameed To: Ingo Molnar CC: , , , Richard Weinberger , Anton Ivanov , Johannes Berg , Subject: Re: pcap-dbus.o:undefined reference to `dbus_message_demarshal' In-Reply-To: <202403052336.y6DkUd8a-lkp@intel.com> (kernel test robot's message of "Tue, 5 Mar 2024 23:11:26 +0800") References: <202403052336.y6DkUd8a-lkp@intel.com> User-Agent: a.out Date: Wed, 6 Mar 2024 17:14:49 +0100 Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-ClientProxiedBy: se-mail01w.axis.com (10.20.40.7) To se-mail01w.axis.com (10.20.40.7) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM4PEPF00027A66:EE_|DB9PR02MB6537:EE_ X-MS-Office365-Filtering-Correlation-Id: 09f8211d-51de-4c7d-4739-08dc3df88cc0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vsD4WJ0cmEV5xQ4ik2pQE26Ps+o+1JUOx6MXbAUiu5EPxGbYpvPV49VkouID95JEzu+JjMw9q9tsA4QnJ44RB8SUjhQlNFrhOsoYTY+f1bNiOaPGth0rtQNLpiXJvLsI2PMM7IepNDPZYoNaQ6KqmcNiw4rCOXW5BE5+AvotZBGpkt+sMN5s7ZLAz9tIZEJkhsbs2kCk+1dm+/kfXA0htKtwEmpkd35kKA1d+8x2R2iXGiGrL9OsfA3+juV+riSnVoiVL8MhVqQ7HDFmlQ+MgNq+r6XYOiDJaIovtddgu5diFuO5XXOClfvkK0GzfkE1d/0YdUYcNQKw8dJK5ON8rmZdmJtqHMN2gacT8O5l7h5XCbrhIFiR2Oo3rkwFl/m6wKXNIT7xMbhP6AsbfknAICkr8zRZa873gBTLgd+yQDxB5qzRnhjSirNugiJKAmg6Dwc1cZbCpw3Wif3t8RAdgccNk4Ge5/Rks/yYV5fyUJ+Jjeh6khF9UbGo5JzCJTNyGhq+AV18UxF0BloP2AXbid/px/eNyTSctu2hoc+GHVUHUO1Ri5rK063uHzzbmJO4Y2AzDq6DQ2gtB+BW/zQaQO6qZ6XNY36+rKcOHZamKPCerU/nayrG04NSUJub0XyROFhN+0J6qxeeDZS15uZsOPCvLM0fBhu/8cWi+/BDP7tmfpTJqnLj8POY1aIBhOPEomcDsRMMZ2lNyrbzm00Kiw== X-Forefront-Antispam-Report: CIP:195.60.68.100;CTRY:SE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.axis.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(36860700004)(376005)(82310400014);DIR:OUT;SFP:1101; X-OriginatorOrg: axis.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Mar 2024 16:14:50.1894 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 09f8211d-51de-4c7d-4739-08dc3df88cc0 X-MS-Exchange-CrossTenant-Id: 78703d3c-b907-432f-b066-88f7af9ca3af X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=78703d3c-b907-432f-b066-88f7af9ca3af;Ip=[195.60.68.100];Helo=[mail.axis.com] X-MS-Exchange-CrossTenant-AuthSource: AM4PEPF00027A66.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR02MB6537 On Tue, Mar 05, 2024 at 23:11 +0800 kernel test robot wrote: > Hi Vincent, > > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: 90d35da658da8cff0d4ecbb5113f5fac9d00eb72 > commit: 10f4c9b9a33b7df000f74fa0d896351fb1a61e6a x86/asm: Fix build of UML with KASAN > date: 6 months ago > config: um-randconfig-r111-20240305 (https://download.01.org/0day-ci/archive/20240305/202403052336.y6DkUd8a-lkp@intel.com/config) > compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240305/202403052336.y6DkUd8a-lkp@intel.com/reproduce) > > If you fix the issue in a separate patch/commit (i.e. not just a new version of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot > | Closes: https://lore.kernel.org/oe-kbuild-all/202403052336.y6DkUd8a-lkp@intel.com/ > > All errors (new ones prefixed by >>): > > /usr/bin/ld: arch/um/drivers/pcap.o: in function `dbus_write': >>> pcap-dbus.o:(.text+0x244ff): undefined reference to `dbus_message_demarshal' >>> /usr/bin/ld: pcap-dbus.o:(.text+0x24515): undefined reference to `dbus_connection_send' >>> /usr/bin/ld: pcap-dbus.o:(.text+0x2451e): undefined reference to `dbus_connection_flush' >>> /usr/bin/ld: pcap-dbus.o:(.text+0x24526): undefined reference to `dbus_message_unref' >>> /usr/bin/ld: pcap-dbus.o:(.text+0x24574): undefined reference to `dbus_error_free' > /usr/bin/ld: arch/um/drivers/pcap.o: in function `dbus_read': >>> pcap-dbus.o:(.text+0x245c0): undefined reference to `dbus_connection_pop_message' >>> /usr/bin/ld: pcap-dbus.o:(.text+0x245e2): undefined reference to `dbus_connection_pop_message' >>> /usr/bin/ld: pcap-dbus.o:(.text+0x245f8): undefined reference to `dbus_connection_read_write' >>> /usr/bin/ld: pcap-dbus.o:(.text+0x24662): undefined reference to `dbus_message_is_signal' >>> /usr/bin/ld: pcap-dbus.o:(.text+0x2467e): undefined reference to `dbus_message_marshal' >>> /usr/bin/ld: pcap-dbus.o:(.text+0x246e6): undefined reference to `dbus_free' > /usr/bin/ld: arch/um/drivers/pcap.o: in function `dbus_cleanup': >>> pcap-dbus.o:(.text+0x2474c): undefined reference to `dbus_connection_unref' > /usr/bin/ld: arch/um/drivers/pcap.o: in function `dbus_activate': >>> pcap-dbus.o:(.text+0x247f6): undefined reference to `dbus_connection_open' >>> /usr/bin/ld: pcap-dbus.o:(.text+0x2480e): undefined reference to `dbus_bus_register' >>> /usr/bin/ld: pcap-dbus.o:(.text+0x248fc): undefined reference to `dbus_bus_add_match' >>> /usr/bin/ld: pcap-dbus.o:(.text+0x24904): undefined reference to `dbus_error_is_set' >>> /usr/bin/ld: pcap-dbus.o:(.text+0x2494b): undefined reference to `dbus_bus_get' > /usr/bin/ld: pcap-dbus.o:(.text+0x2497c): undefined reference to `dbus_error_free' > /usr/bin/ld: pcap-dbus.o:(.text+0x2498d): undefined reference to `dbus_bus_add_match' > /usr/bin/ld: pcap-dbus.o:(.text+0x24995): undefined reference to `dbus_error_is_set' > /usr/bin/ld: pcap-dbus.o:(.text+0x249ce): undefined reference to `dbus_error_free' >>> /usr/bin/ld: pcap-dbus.o:(.text+0x249da): undefined reference to `dbus_connection_unref' > /usr/bin/ld: pcap-dbus.o:(.text+0x24a06): undefined reference to `dbus_bus_get' > /usr/bin/ld: pcap-dbus.o:(.text+0x24a42): undefined reference to `dbus_error_free' >>> /usr/bin/ld: pcap-dbus.o:(.text+0x24a55): undefined reference to `dbus_connection_set_max_received_size' > /usr/bin/ld: pcap-dbus.o:(.text+0x24a66): undefined reference to `dbus_connection_unref' > /usr/bin/ld: pcap-dbus.o:(.text+0x24adc): undefined reference to `dbus_error_free' > /usr/bin/ld: pcap-dbus.o:(.text+0x24b1a): undefined reference to `dbus_error_free' > collect2: error: ld returned 1 exit status Hi Ingo! This error seems to be unrelated to the reported commit 10f4c9b9a33b ("x86/asm: Fix build of UML with KASAN"). The root cause seems to be the option `CONFIG_UML_NET_PCAP` (which is deprecated, as stated in `arch/um/drivers/Kconfig`), which tries to build `pcap.o`. In the Makefile, one can find LDFLAGS_pcap.o = $(shell $(CC) $(KBUILD_CFLAGS) -print-file-name=libpcap.a) and at the top the very old comment # pcap is broken in 2.5 because kbuild doesn't allow pcap.a to be linked # in to pcap.o `libpcap` is indeed the one referencing these symbols (that can be found in `libdbus-1` and `libsystemd`). I'm guessing we should just ignore this report, right? (Can it even be disabled somehow?) Thank you Waqar Hameed P.S Vincent has left the company and has therefore been removed from the CC list. D.S