From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-00196b01.pphosted.com (mx0b-00196b01.pphosted.com [67.231.157.166]) by dpdk.org (Postfix) with ESMTP id 47A2E1B20C for ; Fri, 19 Oct 2018 18:24:43 +0200 (CEST) Received: from pps.filterd (m0096262.ppops.net [127.0.0.1]) by mx0b-00196b01.pphosted.com (8.16.0.23/8.16.0.23) with SMTP id w9JGLLM3028457 for ; Fri, 19 Oct 2018 12:24:42 -0400 Received: from nam04-co1-obe.outbound.protection.outlook.com (mail-co1nam04lp0056.outbound.protection.outlook.com [216.32.181.56]) by mx0b-00196b01.pphosted.com with ESMTP id 2n6w36sb9t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 19 Oct 2018 12:24:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thescout.onmicrosoft.com; s=selector1-netscout-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lsRP8b8LalYj3GSqZltTJu+nU8YeDdseeX3aVUo7AqY=; b=Chz1Om6KKo7Jx6PLYIVc8qOuzPfhvwbDYm0YVWsrUKMrzUzHAylNxEVsbzD7DKAsh53k4ldGCsuD/0OF6Uvvca4fnSQUuRRe4GsJgnNighlutAGxPeX3LIoS6hxdx7xFFDVG97c0oLPS8wXpfbvZq6poPZBOXdYqNoV2MCVMNWc= Received: from DM5PR0101MB2954.prod.exchangelabs.com (10.174.181.144) by DM5PR0101MB3195.prod.exchangelabs.com (10.174.181.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1228.25; Fri, 19 Oct 2018 16:24:40 +0000 Received: from DM5PR0101MB2954.prod.exchangelabs.com ([fe80::ccae:c43a:a7ae:dab9]) by DM5PR0101MB2954.prod.exchangelabs.com ([fe80::ccae:c43a:a7ae:dab9%4]) with mapi id 15.20.1228.033; Fri, 19 Oct 2018 16:24:40 +0000 From: "Shubhachint, Chaitanya" To: "dev@dpdk.org" Thread-Topic: Build DPDK for different target machine. Thread-Index: AdRnx9l6HkfiSVHcQ1W8YdtcyP+TFQ== Date: Fri, 19 Oct 2018 16:24:40 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [4.30.79.129] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DM5PR0101MB3195; 6:MhwRAQrFPGDYReCvzwHoX/4BTAP5n76PcoedYkriFAMRlF9QG3k5lWSXA4fKdCbILXk6xC9FxFdOyzBr4Wa39cqpvpSVJw/wkL/NXltbB12JX8WRLBbF1y/e+Mc2bsngwW6kygup5f7r+FRsTUDQJwYgwniTCZd3NiyU18A3p3u3FJkaB2zWN9o3vJjjPHJ+PiTNE9ULVN+PehWqdg1Pzi3fb9YNscmossygMPDB0fU/+AmWFNrCDMy4yi4EkzodW2LKrbBt8+hpaqjRtJ1h7FQH7gH591UDeNXAnAXOX2W0KQWXN2FsvC29zdPsaUvq24jYm+v4YWQWlwJ8xEudpnghsX/CbrJFLC8ZFYxOz3wGJwZL8qsK9RZDXtplyW7nppk0r8o2IhWY2aZGKBSk25HkSIGwznvw+2WsuVHr0VpPc1nXp9EXVj4GPlnXh51j4WkWMFJs1tmYSdL8SeZFYQ==; 5:eirOlaEA5/b+HVLgU92P3QLZIwKLQNeFYp0+sqmEUPM/vVrR4Iff4+QAtZlZ3XVWhwBpuD7NKk4rdD6QCzYkLRj58Bk5uf5FY8uj5y//mr6WfidhOsb+GCcX2BhoEPM11N2lpQoUMHgpRjBRMdcmDDl4170ikrijSxEwTpyadEI=; 7:4OK9fJ6iLGeccFXUoEpJotjhpo6Rr6lfTICDST/rw0WYyf9yVjKbYEEWYYGJSllbL7Ope+pyNgrBSWaP76NZLk+d/sgxBiU1q2ZgzqDJcL1gPo2lHc1LJwuQ9uSI+LCEuwpKjWlMMn6mapCi1rHfhIh08fVnt2FWYosNVpRQ9bSrMMyxKXCClGTATzpl5vGJL0UxQq4VyjQCHCmt1gfiljfRzLHbl66fqmTspBtyTHgmwMscmyNk+KKpQ0SGHXrl x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 1d206d2b-9dbf-4b39-2fde-08d635df5eaa x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:DM5PR0101MB3195; x-ms-traffictypediagnostic: DM5PR0101MB3195: x-netscout-xtra: NETSCOUT to External through ProofPoint x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(21748063052155)(28532068793085)(190501279198761)(227612066756510); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(8121501046)(5005006)(3231355)(944501410)(52105095)(3002001)(93006095)(93001095)(10201501046)(148016)(149066)(150057)(6041310)(20161123562045)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(201708071742011)(7699051)(76991095); SRVR:DM5PR0101MB3195; BCL:0; PCL:0; RULEID:; SRVR:DM5PR0101MB3195; x-forefront-prvs: 0830866D19 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(346002)(39850400004)(136003)(396003)(366004)(376002)(199004)(189003)(2906002)(86362001)(186003)(2900100001)(5630700001)(1730700003)(68736007)(99286004)(81156014)(8676002)(486006)(81166006)(5640700003)(53936002)(6436002)(6306002)(9326002)(6116002)(55016002)(9686003)(790700001)(105586002)(25786009)(8936002)(54896002)(316002)(6506007)(476003)(478600001)(7736002)(2501003)(102836004)(72206003)(256004)(26005)(33656002)(2351001)(14454004)(7696005)(74316002)(5250100002)(19609705001)(97736004)(6916009)(106356001)(5660300001)(3846002)(66066001)(71190400001)(71200400001)(14444005)(473944003); DIR:OUT; SFP:1102; SCL:1; SRVR:DM5PR0101MB3195; H:DM5PR0101MB2954.prod.exchangelabs.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: netscout.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: Jw6e+DiQlpPptljD6ayEZWb49ldzJWSHX2iR1jLUG/KkOtAw1u3Y6ryKay6HPTE8isd5D+0Nl31+fXFr3sFUqLv54ElMsgF1Po+NF6SSo4mH6E2j+dMPl66qKCMVCNtac+uifowVHvA2tgX1pcBX6HxDGtTjpppX19zEh2ZsqaZs+w4pjBWO+SaT04a1/he9G5mqWJ40iHW6p40CL0HSmT7jIykl2/1uV+NOEU7O3kruQFvT2xQOEudvQI/iZlTDGOas4HrD5tE3KJoqnkt/tCyVZx5W0aKn9S/66Gg2byd9ki/i9XuC3PPnCktF4uoGQLscvmKNQOYPhQ7YEAxbrXUQATwR8ZyVX56m6KZj9pg= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: netscout.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1d206d2b-9dbf-4b39-2fde-08d635df5eaa X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Oct 2018 16:24:40.1382 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 54f11205-d4aa-4809-bd36-0b542199c5b2 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR0101MB3195 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-10-19_07:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_policy_notspam policy=outbound_policy score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1810190145 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Build DPDK for different target machine. 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: , X-List-Received-Date: Fri, 19 Oct 2018 16:24:43 -0000 Hello, I am trying to build DPDK library set (shared) so that there are somewhat p= ortable. I want to build them once on a designated build machine and run th= em on other machines of similar architecture. I can build DPDK and use it l= ocally successfully but running them on a different target machine always g= ives me core dump with 'Illegal instruction'. I am building with make install T=3Dx86_64-native-linuxapp-gcc export RTE_TARGET=3Dx86_64-native-linuxapp-gcc and CONFIG_RTE_BUILD_SHARED_LIB=3Dy I have tried setting CONFIG_RTE_MACHINE, as "default" or "snb" but that doe= s not help. Help is much appreciated. Details of Build machine and target machine below= : Thanks Chai. Build machine: DPDK_Build/dpdk-18.08# lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 1 Core(s) per socket: 8 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 79 Model name: Intel(R) Xeon(R) CPU E5-2640 v4 @ 2.40GHz Stepping: 1 CPU MHz: 2399.998 BogoMIPS: 4799.99 Hypervisor vendor: VMware Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 25600K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge= mca cmov pat pse36 clflush dts mmx fxsr sse sse2 ss ht syscall nx pdpe1gb = rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology tsc_reliable no= nstop_tsc cpuid aperfmperf pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 = x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor= lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti fsgsbase tsc_= adjust bmi1 hle avx2 smep bmi2 invpcid rtm rdseed adx smap xsaveopt dtherm = ida arat pln pts Target Machine: $lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 6 On-line CPU(s) list: 0-5 Thread(s) per core: 1 Core(s) per socket: 6 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 45 Model name: Intel(R) Xeon(R) CPU E5-2667 0 @ 2.90GHz Stepping: 7 CPU MHz: 1682.069 CPU max MHz: 3500.0000 CPU min MHz: 1200.0000 BogoMIPS: 5785.61 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 15360K NUMA node0 CPU(s): 0-5 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge= mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall= nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtop= ology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx = smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_d= eadline_timer aes xsave avx lahf_lm epb pti tpr_shadow vnmi flexpriority ep= t vpid xsaveopt ibpb ibrs stibp dtherm ida arat pln pts