From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9BCF1A04B6; Sat, 16 Nov 2019 09:31:19 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 87B1B3423; Sat, 16 Nov 2019 09:31:18 +0100 (CET) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 0CBA72C19 for ; Sat, 16 Nov 2019 09:31:17 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 60AD421B2F; Sat, 16 Nov 2019 03:31:16 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sat, 16 Nov 2019 03:31:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=DCjt2W3YDUea72b0KDWWKZLloP525nfNJp3wVZdYPME=; b=lAchRvt3a9Lt rdh6UhGwlfvbKXl+jYsMN7jwywHt1sTvTNE8qNBbjXE/uy3AFwdL4Wj+R6v2fX5/ RSVrO70J695ZnyA0oCJ80eGRbJKu9Ho9FF+q+R5BgvOMrxYwcz9zoLOi+GLwrQ1D SMlqWcpwIXsGdAkPpIK3jdFMcusq58s= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=DCjt2W3YDUea72b0KDWWKZLloP525nfNJp3wVZdYP ME=; b=q/PVbRDzwpowUEzAvQEvQOUDZseUVwti3amaQixoT2LxtkS24ahKGVRgu BM56yeOStcddx7+aP7jbjIa7qwH9hhcnLigmzQSbmyQK3pzxAsC51UDuYZW314w8 oISXp3NZa/F1/auJ5rjltIuBcBoH4YrnBS/NOdkKF/5Uu1Xr4ZVlkO67CWjHr7Ml efwqdBz7p/Jyf5ehtSCoAHYK/bNoYbJa0jy6GWCBPOEUgnO8i9fyAEVwJP/6vprd McJKzzKE8C6GhPAiEAYxIDJdIKbiUj8g77ccaXyIcZpj0hWWqJavOqq1Oa1BduN5 07Uzv3PW1F6bIUjQtnMQwWI0lr5Rg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudefkedguddtkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc fkphephedtrddvvdehrddujeekrddvfeeknecurfgrrhgrmhepmhgrihhlfhhrohhmpeht hhhomhgrshesmhhonhhjrghlohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from xps.localnet (unknown [50.225.178.238]) by mail.messagingengine.com (Postfix) with ESMTPA id 1AE6C80060; Sat, 16 Nov 2019 03:31:15 -0500 (EST) From: Thomas Monjalon To: Harman Kalra Cc: "dev@dpdk.org" , John McNamara , Marko Kovacevic , Bruce Richardson Date: Sat, 16 Nov 2019 09:31:13 +0100 Message-ID: <5144340.QROL6Lj2PW@xps> In-Reply-To: <20191115144549.GA158812@outlook.office365.com> References: <1566222457-17342-1-git-send-email-hkalra@marvell.com> <1638210.PZqRnmcaYt@xps> <20191115144549.GA158812@outlook.office365.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [EXT] Re: [PATCH] mk: add support for UBSAN X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 15/11/2019 15:46, Harman Kalra: > On Mon, Nov 11, 2019 at 08:07:00AM +0100, Thomas Monjalon wrote: > > External Email > > > > ---------------------------------------------------------------------- > > Hi, > > > > Sorry for the very late review. > > I hope someone else would try it. > > > > I tried this: > > devtools/test-build.sh -v x86_64-native-linux-clang+shared+UBSAN+SANITIZE_ALL > > and it triggers some link errors: > > /usr/bin/ld: rte_kvargs.c:(.text+0xc65): undefined reference to `__ubsan_handle_pointer_overflow' > Hi, > > Thanks for trying it out. I came across these errors when compiler > versions doesn't supports UBSAN If the support is not available, we should print a clear error message, not random link errors. > Can you please with latest clang version if issue still persists. I am using clang 8.