From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 160FC4261E; Fri, 22 Sep 2023 19:48:44 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9CDA840150; Fri, 22 Sep 2023 19:48:43 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by mails.dpdk.org (Postfix) with ESMTP id AD9C54013F for ; Fri, 22 Sep 2023 19:48:41 +0200 (CEST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 8E5F25C00FF for ; Fri, 22 Sep 2023 13:48:38 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Fri, 22 Sep 2023 13:48:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:sender :subject:subject:to:to; s=fm2; t=1695404918; x=1695491318; bh=2Z 895K3zDev5lsfTaGBboqUtpZFgHaDmapwH+XjMLj4=; b=TdggaOy4PiDcS6Bxzt I1kx/A7fQZDBHz5H6Ql0mx5bmULjtRCLm/i2YUtCEdiCesexSbpzACrYXPDfJn5d Vs89p+WZYzJGnBtp/eNAzoRqfyhgHjqLFx98Lzw4e7rTmMPwRpVc3iTZ6qsrn8Wk 9AK/+7C0ok3V+5ENUS86U6ixTLlX1iSvfSLKuhZrLtmpU/uzOHo11sL6V1g6GUgh BdHBMYvfWxB75pfeEV7VoOgz0blzOQdBQB8wk6EINXpbW7VugDlRNb5K2jk8qbmg 7Q+nXB1mdC/RtmQwRwJFZIJFuO8Bw8C4MsDq1WvCSz3kYu0h7qMTJT9TI+EjLm6D IbxA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1695404918; x=1695491318; bh=2Z895K3zDev5l sfTaGBboqUtpZFgHaDmapwH+XjMLj4=; b=KA5dDBDsGsCnvoeYTQrZFTxOqbx+P Zdd9yKUCuZMQfk1mr55jYW11SZ9WhSbabUrFbzDg0UxjxkzjoNhcoKChI+Bpl3JY qauhPf0z3qGAvz2toTVkaemO+rjLVXJMBVJL0iy2JXzm8rPhuRCdGZIID0pGmNbu RPfFW0cn0zIsFpZkXJupAL/j3GEAC64quhW0mwuH4pRJzqlCux7lNEtJEwjjkPP6 Dc2GLk6Pz46SnD41D2jYKbtkQ7rBuNmdfieu97eyugZMXlXbBtTYnmHsbF/8HJO9 e9KlHjwSnKrQwB7tTx9ruEaOIXaLhwmYDLsdsk6/Te1ER57wMqCtF9zsA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudekkedgleekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfvhffutgfgsehtjeertd dtvdejnecuhfhrohhmpeeuvghrnhguucfutghhuhgsvghrthcuoegsshgplhhishhtshes rggrkhgvfhdrfhgrshhtmhgrihhlrdhfmheqnecuggftrfgrthhtvghrnhepveegledvff ettdfhtdeugeegtdefvddukeetvdfhlefhgfetuddvjefhvddttdeinecuffhomhgrihhn peguphgukhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpegsshgplhhishhtshesrggrkhgvfhdrfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Feedback-ID: id8a84192:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Fri, 22 Sep 2023 13:48:37 -0400 (EDT) Message-ID: <089a8254-82e8-44a1-9641-4b6da6515dde@aakef.fastmail.fm> Date: Fri, 22 Sep 2023 19:48:35 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US, de-DE To: dev@dpdk.org From: Bernd Schubert Subject: SIGILL in rte_cpu_get_flag_enabled / RTE_CPUFLAG_RTM Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Hello, I'm trying to compile our tools on an older lab system and get Program received signal SIGILL, Illegal instruction. 0x00007ffff434c766 in rte_cpu_get_flag_enabled (feature=feature@entry=RTE_CPUFLAG_RTM) at ../lib/eal/x86/rte_cpuflags.c:173 173 return (regs[feat->reg] >> feat->bit) & 1; (gdb) bt #0 0x00007ffff434c766 in rte_cpu_get_flag_enabled (feature=feature@entry=RTE_CPUFLAG_RTM) at ../lib/eal/x86/rte_cpuflags.c:173 #1 0x00007ffff3ffb572 in rte_rtm_init () at ../lib/eal/x86/rte_spinlock.c:14 ##2 0x00007ffff7fc947e in call_init (l=, argc=argc@entry=1, argv=argv@entry=0x7fffffffe088, env=env@entry=0x7fffffffe098) at ./elf/dl-init.c:70 #3 0x00007ffff7fc9568 in call_init (env=0x7fffffffe098, argv=0x7fffffffe088, argc=1, l=) at ./elf/dl-init.c:33 #4 _dl_init (main_map=0x7ffff7ffe2e0, argc=1, argv=0x7fffffffe088, env=0x7fffffffe098) at ./elf/dl-init.c:117 #5 0x00007ffff7fe32ea in _dl_start_user () from /lib64/ld-linux-x86-64.so.2 This already has been reported here https://inbox.dpdk.org/users/C7FF2508-D633-404E-95AF-5F604D8E8E4B@intel.com/t/ but I don't see a solution there. It just ends up asking for the line numbers. Well, the line is __cpuid_count(feat->leaf, feat->subleaf, regs[RTE_REG_EAX], regs[RTE_REG_EBX], regs[RTE_REG_ECX], regs[RTE_REG_EDX]); /* check if the feature is enabled */ return (regs[feat->reg] >> feat->bit) & 1; ====> line 173 Maybe this should catch SIGILL? Thanks, Bernd