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 C5D73A0561 for ; Mon, 20 Apr 2020 17:07:48 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D971A1D692; Mon, 20 Apr 2020 17:07:47 +0200 (CEST) Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) by dpdk.org (Postfix) with ESMTP id 24BD41D691 for ; Mon, 20 Apr 2020 17:07:46 +0200 (CEST) Received: by mail-pf1-f175.google.com with SMTP id r14so5075231pfg.2 for ; Mon, 20 Apr 2020 08:07:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=8l+Q6YDWCD6FVm6j+ULiUoZpnFcjOTX1f1+PVTmZ8h8=; b=IWsmHv3MLBSl1YefTHR4MBHf/gkxEXmqhn+tgTlo6dTIdNCF+5Vdd3pNkIxDylvZrZ L47L9SNR2enOXudVYN1cSadxU+CoRcy1lnF6bi24vH+Hfcgtl8RN3og95KmT1we5QCvP lLu7Xtpp7UQHiuKYd35hLVl7XnZKD6SS0Fhkd9zXJAlOxjmmJ3VCaod8Zz3lSKgeNxBB cYDXaoUWxTrdzbBW4tWBomxskxhGH26ZsnXSiOCmAvQ4PamJoJu4ltVhPlFlM25mNPsA ZShoSNBpC9MOy3CA7jmedCcD8tma5FX7nla4AwV1pMWpFmB4D4OM37WDq8lap/L6CIVz egQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=8l+Q6YDWCD6FVm6j+ULiUoZpnFcjOTX1f1+PVTmZ8h8=; b=NFt+7DmwLrXjbkraYxDEel93acaYvxSFGwDJvy79htHvVZLvYcC+NYFyznY9GF8sGU b/+DCFVYT+DQGqOto8bKREpkiXi3tfAi/hFbiod4C55Bdyc0zLOeeoRmCJ1Iwn1BWEKw i4+/1GJxZd67p2mxxiIaOszn7+wPVZCSLeGgpo1c2GjRb8JsF7RTz6uMJn2D5PM8GX37 JUTErJotgZL7zQBowWIagxjimAMY9hJ8cI37aq9026X5WI13HEa41uag+qam8yGlXx4F /nxh7StR2IeVWvkYc9vd3IMIyLYiLmmojEBnp1ai3efDsVuJbc23F54sZSSQYMspOi1t MBEQ== X-Gm-Message-State: AGi0PuatWI1lZGkV1Fvi4wSH9eDq2trcoiB2EgIEUV77EvqKG16Jdec1 13zWoP6ShgdneiCqGZ9fbww6Ug== X-Google-Smtp-Source: APiQypJgmSk8y2mdthVwditm1aqQGNopRMMKzl457mbCcEDh7XWMiw9mbe7vKwo/gNZIeIcPx5zWlQ== X-Received: by 2002:a62:7c86:: with SMTP id x128mr16088746pfc.295.1587395265125; Mon, 20 Apr 2020 08:07:45 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id a13sm1291859pfo.96.2020.04.20.08.07.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Apr 2020 08:07:44 -0700 (PDT) Date: Mon, 20 Apr 2020 08:07:36 -0700 From: Stephen Hemminger To: vikram T Cc: users@dpdk.org Message-ID: <20200420080736.6934cee7@hermes.lan> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-users] Segmentation fault at rte_cpu_get_flag_enabled X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" On Mon, 20 Apr 2020 12:39:02 +0530 vikram T wrote: > Hi, > I have been seeing the application crashes( DPDK v19.08) with segmentation > fault as below: > (gdb) bt > #0 0x000000000054fda9 in rte_cpu_get_flag_enabled () > #1 0x00000000004f5d5e in rte_hash_crc_init_alg () > #2 0x000000000084cf7d in __libc_csu_init () > #3 0x00007ffff4df9425 in __libc_start_main () from /lib64/libc.so.6 > #4 0x00000000005048df in _start () > (gdb) q > > Here the DPDK is built and linked on the machine different from the target > machine. > Hence used the flag - "CONFIG_RTE_MACHINE = default" but no success. > > Is there anything that needs to be followed to overcome this blocking issue? > > Regards > Vikram You need to to set CONFIG_RTE_MACHINE to the minimum cpu type that your product needs to run on. That value sets the compiler flags which determine which extended CPU instructions will be used.