From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from delivery.mailspamprotection.com (delivery.mailspamprotection.com [198.143.161.21]) by dpdk.org (Postfix) with ESMTP id 13C071B43A for ; Fri, 15 Feb 2019 06:45:18 +0100 (CET) Received: from ns1.es18.siteground.eu ([37.60.250.193] helo=es18.siteground.eu) by se2.mailspamprotection.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1guWJC-00050f-2S; Thu, 14 Feb 2019 23:45:16 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=filipjaniszewski.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=U/rAHrlPOrjlAnw7hB8jDiZReNXoYiPS3wP9wD030bs=; b=K3XXE8XMbusnfb5MqD9Byzm/n5 YuPz9cWrL5A/GMRza+jEaTHEnvXOZwnLGtBO/MXFcM9mjfAZ2cEX6Jd0fwAP/45IYS+7FR6ghyMmx HEP8qcyYraLL3VpjXY/Wdc1oEI1DtUu+T5j1ms0OopUcDDGfjPWzQG3xLG5lUC3Z1tGzwAl0pu9AE jktdzs/bDQk09hTid31jt5eeowmjjnpAGtidcLZb0yFLMcN2CdvkhXofHFc4cqMne5MIWBzmcSAW7 8T/UmnattBRT0WNzT1j40Ro51KKVyDimQFazzwn0wzxRwWdy8sVaAPbl9tZlxfwCnS3HXnb/X9lAo 38a6ckPA==; Received: from [89.64.173.160] (port=57336 helo=localhost.localdomain) by es18.siteground.eu with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_34-9f6032f-XX) (envelope-from ) id 1guWJ9-0005zi-E1; Fri, 15 Feb 2019 06:45:07 +0100 To: "Van Haaren, Harry" , "Wiles, Keith" Cc: "users@dpdk.org" References: <61d2793d-ca13-fdb3-e54f-4db40d95e9e0@filipjaniszewski.com> From: Filip Janiszewski Message-ID: Date: Fri, 15 Feb 2019 06:45:06 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: 37.60.250.193 X-SpamExperts-Domain: es18.siteground.eu X-SpamExperts-Username: 37.60.250.193 Authentication-Results: mailspamprotection.com; auth=pass smtp.auth=37.60.250.193@es18.siteground.eu X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.07) X-Recommended-Action: accept X-Filter-ID: EX5BVjFpneJeBchSMxfU5oDLCuF9Y3kypuSgMJBGczV602E9L7XzfQH6nu9C/Fh9KJzpNe6xgvOx q3u0UDjvO/HgfYHNbHMZNn8uVEcaq0hO+JUrlpL+1xYGDni+Jm/nFkFduhcqbASSWQS3O6IHuPjz h9g8HwN9k10h1xPjXOO+Q/MvHbmPhNXxghXjpsyh4KN+AsTCbHxVUUZfje10MwMKLuTqRXdyatVH Ucn7kzP1ovOIk4DDNaFsD4G1PhVO+MK6ALFmAlNT6zjKkGgfYmeupYYdzPm7YfRDaULOU2lOmBYm WxTgbb/iRl38Ae7OMA40duYmngMBDJXLOO5KlFuV5THgwMQk+PqOpyEq6LTRr2kUpSCGUrxH9qcX ya2eVKMFubonU3oCh++9VDymDYlaLh3ZpCMV9kZiLe0lK/DSu4V0uFdos+XyMRrtb4AGcPP3VgGm Qx42IZrMARgp/1L3BPugQurFq9vDN1fdDP+yZh+nO3B2TH1MXyQy88bT48Hb+QR7J2HnGzrsBX16 XplQuz/H/CJjhs5BUf8fRBA8F/IJRA8ZF8C5AnJBxSFDwxO+9yalkPwznrBYSgtTH8dU0xkDwv/G mxRfaMDoXQH4FQgRxUtemRJbsSjeI7pL9/wyR8kiMkUYmQJ8RxdH4tckr4+35XlktvqF0fzELcfj XtI7t2T/AtVlzJte3A6IGauShmlZu3Y2HAHX4yPuGdgjnpyoP32il1B037uY9xDL4Ve6CP1XGwDb 6ZLnEt5yLApknrmQI9GtDrqiLGQsqjs/Wq4O2nzqFFUGjvu65WKiWyOwqYSnGdRbclyySjQ+sTx4 T0DVv5y2GtJJLakRx+bnRiO8Y2fezcza9apHZ5/A+syPbEEN/BszDy+/STGHiwQzKw+6v3CaIMG6 s7LqJNfKR8jQ9jcoKrJm2TCJszeK1aoE+Qr3TETnoZ4nZSDoeTXgI5oc4s06MESwCWlJ9z8SkOMP f4rNxoEqf0yAXi9RXxKF5tPxTxfD0dMN+t5ZsUYAM+/lowqgBa6Xuu761N1FZIV+/GXHWbViba4u JV0kjurxM4NceB84TBPPlqb31iE7ifg1F7rry7oWxbjJev1B+0muDoTwqghyCWtzzdxhexjuk+m5 2LttQtfiBaljRwWe+zJULIFG6lbSYepTEeT7ndTtTkkWmLdUh15W6KoT73vLSIl4JB+u3K/Qfa3V 9jihx+Za/cV70jOJzN2r4A== X-Report-Abuse-To: spam@quarantine1.mailspamprotection.com Subject: Re: [dpdk-users] Segfault while running on older CPU 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: , X-List-Received-Date: Fri, 15 Feb 2019 05:45:18 -0000 Il 14/02/19 15:46, Van Haaren, Harry ha scritto: >> -----Original Message----- >> From: users [mailto:users-bounces@dpdk.org] On Behalf Of Filip Janiszewski >> Sent: Thursday, February 14, 2019 2:15 PM >> To: Wiles, Keith >> Cc: users@dpdk.org >> Subject: Re: [dpdk-users] Segfault while running on older CPU >> >> Hi, >> >> I prepared a simple test application with only a call to rte_eal_init >> and it crashes, DPDK version is 18.05 and apparently the problem is with >> the BMI2 instruction set, the faulty line is: >> >> . >> │0x57fec9 shrx %eax,%edx,%eax >> . >> >> I'm attempting to disable those instructions by setting march to corei7 >> which according to gcc does not include BMI2, but still when opening the >> asm list of the binary can see that instruction. >> >> If I understand correctly how the DPDK building process works then I >> should be able to set this 'corei7' switch by just changing >> mk/machine/default/rte.vars.mk and then setting >> CONFIG_RTE_MACHINE="default" in the x86_64-native-linuxapp-gcc/.config >> file, but I'm not sure whether it's picking it up while building (make >> T=x86_64-native-linuxapp-gcc DESTDIR=. -j28). > > > Possibly related crashing bugs; > > DPDK rte memcpy / binutils 2.30: > https://bugs.dpdk.org/show_bug.cgi?id=97#c48 > > Gcc bug report; > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88096 > And a related/duplicate: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86735 > > > Please check if you're using binutils 2.30, and if so try latest DPDK code which has > merged a fix for disabling certain features as a workaround. > I'm running version 2.27, will try to upgrade to the latest DPDK code and check if things are getting fixed. > As Keith mentioned, what OS / Distro / Release, and what version of gcc / binutils is in use? > OS CentOS 7.5.1804 with 3.10.0-862.14.4.el7.x86_64, gcc 4.8.5 (20150623) and binutils 2.27. Thanks. > > Regards, -Harry > > > > -- BR, Filip +48 666 369 823