From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0085.outbound.protection.outlook.com [104.47.34.85]) by dpdk.org (Postfix) with ESMTP id 5F5C023B for ; Mon, 23 Apr 2018 10:45:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=jUveKyzwBcq11Azvlr+s4LTt34D25USrbidz1Xdv1yA=; b=cGOi5t0kMzP6FSdyqWY5EtX6hWavFQWmGLFd3rHf4KlBYttIzW9PJgZCFAAtp1qQ+VceGBZ/dU9HtkD5XXdTA6EHNWFAPuhErU3JO28UaV2/6Ve8DdNYCn89iN3OvaDxSi2LAVrRSCJsRJ1PJjeapYb+Mm6s3RPBr3wIqFqNfgI= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from ltp-pvn (111.93.218.67) by MWHPR07MB3471.namprd07.prod.outlook.com (2603:10b6:301:63::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.696.12; Mon, 23 Apr 2018 08:44:55 +0000 Date: Mon, 23 Apr 2018 14:14:34 +0530 From: Pavan Nikhilesh To: Ali Alnubani , Thomas Monjalon , Shahaf Shuler , Raslan Darawsheh , jerin.jacob@caviumnetworks.com Cc: dev@dpdk.org Message-ID: <20180423084433.GA29406@ltp-pvn> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.5 (2018-04-13) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: HK2PR04CA0079.apcprd04.prod.outlook.com (2603:1096:202:15::23) To MWHPR07MB3471.namprd07.prod.outlook.com (2603:10b6:301:63::22) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:MWHPR07MB3471; X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3471; 3:2d88KSuoXSVmXtojbIPe9d8MDcoxy3pu/MFcuTZiLvJPKJuWIar0Jow/gXdJCNzIZ07vm0kmIg5ZjmsuO3S3W0xRv+k2TXQF6G3u6pZKh4GKf8fAK3ySPPlxtWW7vKVqm/U4h/YX83rDfpFiSL5ox2t4UBap6xo1xmxaqsqK3A+PGKFmXgSmeVRn7KQHMKNnaQLH0MJr+6OZU+ORljFZgik35CEzgrcFM0pNGSjZIXTVmI5UDM6UrW8DfmNX6XVR; 25:AnI3YUnqIT5/JLZD1cMIZk//KGUXoI8RgKXWQVvIFORCaorw0/JYCIAxgEN8DFggA/DTj9jfU+pLJ2W/J6qJDd1xTkZHioC1aZbZnPuKvqlFjB31KU1ivD6OHEFRcIEB+mINwYQ65Spa69r2EhLGZmuhi8cNAESAzBP/4NwMtBJ/mVN/Ukb4iAmJlO5Hy5cprTbkwz6fnsCUUqOQUKZWispTD1iDMRn/bXhepSYxh+frlEaZHt/VW7wv68WcStIXELtf0UFksYo1smj2XogRHgdxvFj3eIUjNR+v2TBKM79bcYf61hOpCfPe8S12vdjaWJKxemW4q4pnFCcXZcUdTA==; 31:DbBdrzTzFHG/va65dhndQ6y1aJUbAuqZa4HMImYCZtN37+Io/oE3miOW1SNjPuNSNo9VGVcIOeJFLkBSJ6XGBd/8r5lWI8IxNaJo5nQTpJIkDOjB/DCckCZxQ2/7R5Bz4SfKw5adx+qL9sxNIBPL+PLsJNExLU2Vjwiu34bOzJWx7Pdtuibd6sU62AlQan19abd+2oL7gbMRLoVZDb6b8s2Nqs6088R9fHQTHME6gyo= X-MS-TrafficTypeDiagnostic: MWHPR07MB3471: X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3471; 20:+bOLlfWYJh247OhuY5OMP2gRgdHoP8HQcrqZfsTXaiRTVYQp2ZBHk3eUi1W2mq2F+Z8unmaLi4LGfCwoM+xKnPbyugSPM88dKA1880M+3dpuyzn9HCrtp41rocqw9USGbsgeYgeS8c3bmVdGPqgC7IY2mOUZzp74lH8K8JQOPndEZdK9RyxJ3BBQRnbkPVW6hKpJ+wkWwnDzJLJpAkScd2fP9egHIChoVp3UCfsjIVPOPn/PQ57/+Kp0s2LQPrIMdjDBTqthV0fiEfGXegUIp2GRLfbRS6ftVWZzrFNOKobAN9xzYHcAgTj4XYQ2E9Coo5SE/a/2qc2nukO69xlTJX4Ghf01fyN2ilBFj3LBGMJY0mUrk19Pws0ermOoIuy+A9+nXgSOPEZ3ozH6EsfRL1DsptVvAZ461eBv2oaiAJT5lCtxnlrHCZ183kUDt4Y+dKjJ6aOAlhRzwJAPSyUrqv6Y+m93YCwVQ6rd3Ean9GriP7RNESk1eBDX4cG6ccnqrPRoyWjcCfwv4sx8r+7INmB/h2g0dISKDVRlMWtvchDQIkCKWXtSeeiDPjdbH16kcDY/hB8a6X/58k6f4PvrK2UWcEHu6scrx9aDDZVhw7k=; 4:/zYmE9D+mii3p5U3pEpzK75KM3zzwEL05t5N+aOJJ0GQVmL+Hvj04mXZ2iVjmKdvYCl5Hu+PHWiqVVL5vfBBC7STgBxTIFinp6njie0zlur2fujsFqJiFwuYDsNr87MJ4GA4RbBZY8Nv0jKjDDHC+hFxodOAB3N9pjjwIgTUQFGrvgM82fFtuknSRCb4Rx6U+UrPl5UsLbs7U21sS1r2dZS53lehSktBghSlFWAi4uhOe/+aFPo5SOve6IwRorfSOERHiski1jUOg6iebefDLlUug7TQgKmgY7GnzayuBVYz8sINcL67D6cHDeXbNUdv X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(83566789882024); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231232)(944501410)(52105095)(10201501046)(3002001)(93006095)(6041310)(20161123562045)(20161123564045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:MWHPR07MB3471; BCL:0; PCL:0; RULEID:; SRVR:MWHPR07MB3471; X-Forefront-PRVS: 06515DA04B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(346002)(39380400002)(396003)(39850400004)(376002)(366004)(76176011)(966005)(5890100001)(476003)(478600001)(16526019)(186003)(52116002)(386003)(72206003)(55016002)(11346002)(446003)(33716001)(956004)(42882007)(7736002)(25786009)(6246003)(53376002)(110136005)(9686003)(58126008)(229853002)(26005)(16586007)(6636002)(53936002)(6666003)(6496006)(4326008)(316002)(1076002)(23726003)(6116002)(3846002)(50466002)(5009440100003)(5660300001)(305945005)(8676002)(59450400001)(81166006)(47776003)(33656002)(66066001)(8936002)(33896004)(2906002)(6306002)(18370500001)(107986001)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR07MB3471; H:ltp-pvn; FPR:; SPF:None; LANG:en; MLV:nov; PTR:InfoNoRecords; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR07MB3471; 23:UkgxiJqAFxvYY5J7loPf++KRCSRQKR1IAmfMixkLx?= =?us-ascii?Q?QOB9kOEk36wQYyc/aLPwVw631Ku6kANCEu8POg4eQU6U2kajZG8pMzo3i/fI?= =?us-ascii?Q?N9q5Hs6ByYLw4ds+5iQ+etmrx8Z1J47vpY0X2qkRlsDgyQvxt5q7FPQjBwNj?= =?us-ascii?Q?SbkJVHWiHeTFPlTxxFZ7s+TYb6f9gW4Z5SxBKjYc4KsIPaLUP5/SACyt05w3?= =?us-ascii?Q?Ay7dXJ/qXYSeBn07KlEgo7qYHzAYSDQZT6OIQiNcjzv9bpwt/gYUUvzKyj9x?= =?us-ascii?Q?d2FyzTHvZP+UOH+DWs0FAl5qe0EThCDIo+MhOtG1ugqyHys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rsaAjBJfw1DyPpViML2G/SkBzJmkyQmB2rAXPEC2fHwI1XcS9P71+n0Hlv0VvEme0KMO2xjsWz8/Fiak8f1Ll3s+MmuI6f/tNbj6MOg= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3471; 7:CUfmNrxp/VzK2HyDXMmyc+BQnY0wAiddL06Mvbjl80d4iAOnZA+hTKuJWUWIECZm8BF8FQYAql4XtqqrvQhCTG/0DFEQlsBWYXtKy/hx3hovjyvusy7V3ef1+lqKgdXl0vYdKn55Sq1wWWNpGzerZut38CO46vARGI7EpjVJfu0877tXE8KSQFwovyV3oLFhjcdERKiZZuhYQrbl+2hYIUN9ZrVAHRXSafjZN1ctmHZLIUpOWpT5zlchQSv6TC6u X-MS-Office365-Filtering-Correlation-Id: 761fbf3a-5e16-44b8-8855-08d5a8f67e95 X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Apr 2018 08:44:55.5849 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 761fbf3a-5e16-44b8-8855-08d5a8f67e95 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR07MB3471 Subject: Re: [dpdk-dev] event/octeontx: add event timer adapter driver 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: Mon, 23 Apr 2018 08:45:01 -0000 Hi Ali, Looks like a compiler bug rather than code issue, I have verified this on x86 with gcc 4.8.5 and don't see an issue. Looking around I found that compiling with -O1 on aarch64 gcc 4.8.5 seems to fix the compiler bug. Thanks, Pavan. On Sun, Apr 22, 2018 at 04:03:36PM +0000, Ali Alnubani wrote: > Hi Pavan, > > The patchset http://dpdk.org/ml/archives/dev/2018-April/094928.html is causing a compilation error on QUALCOMM ARM with RHEL7.5 and gcc version 4.8.5: > > """ > /download/dpdk-next-net-mlx/drivers/event/octeontx/timvf_worker.c: In function 'timvf_timer_arm_burst_sp': > /download/dpdk-next-net-mlx/drivers/event/octeontx/timvf_worker.c:89:1: error: could not split insn > } > ^ > (insn 95 98 99 (parallel [ > (set (reg:DI 0 x0 [orig:98 D.8130 ] [98]) > (mem/v:DI (reg/f:DI 21 x21 [orig:88 D.8136 ] [88]) [-1 S8 A64])) > (set (mem/v:DI (reg/f:DI 21 x21 [orig:88 D.8136 ] [88]) [-1 S8 A64]) > (unspec_volatile:DI [ > (plus:DI (mem/v:DI (reg/f:DI 21 x21 [orig:88 D.8136 ] [88]) [-1 S8 A64]) > (const_int -281474976710656 [0xffff000000000000])) > (const_int 0 [0]) > ] UNSPECV_ATOMIC_OP)) > (clobber (reg:CC 66 cc)) > (clobber (reg:DI 1 x1)) > (clobber (reg:SI 2 x2)) > ]) /download/dpdk-next-net-mlx/drivers/event/octeontx/timvf_worker.h:95 1832 {atomic_fetch_adddi} > (expr_list:REG_UNUSED (reg:CC 66 cc) > (expr_list:REG_UNUSED (reg:SI 2 x2) > (expr_list:REG_UNUSED (reg:DI 1 x1) > (nil))))) > /download/dpdk-next-net-mlx/drivers/event/octeontx/timvf_worker.c:89:1: internal compiler error: in final_scan_insn, at final.c:2897 > Please submit a full bug report, > with preprocessed source if appropriate. > See for instructions. > PMDINFO opdl_evdev.o.pmd.c > CC opdl_evdev.o.pmd.o > LD opdl_evdev.o > PMDINFO sw_evdev.o.pmd.c > CC sw_evdev.o.pmd.o > LD sw_evdev.o > Preprocessed source stored into /tmp/ccmqxmH7.out file, please attach this to your bugreport. > make[6]: *** [timvf_worker.o] Error 1 > make[5]: *** [octeontx] Error 2 > make[5]: *** Waiting for unfinished jobs.... > AR librte_pmd_opdl_event.a > INSTALL-LIB librte_pmd_opdl_event.a > AR librte_pmd_sw_event.a > INSTALL-LIB librte_pmd_sw_event.a > make[4]: *** [event] Error 2 > make[3]: *** [drivers] Error 2 > make[2]: *** [all] Error 2 > make[1]: *** [pre_install] Error 2 > make: *** [install] Error > """ > > The compilation only passes with CONFIG_RTE_LIBRTE_OCTEONTX_PMD, CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF and CONFIG_RTE_LIBRTE_OCTEONTX_MEMPOOL set to false. > It also passes if I upgrade gcc, but can we have a fix for old gcc versions? > > Thanks, > Ali