From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [148.163.129.52]) by dpdk.org (Postfix) with ESMTP id 382745F1B for ; Tue, 8 May 2018 09:44:24 +0200 (CEST) X-Virus-Scanned: Proofpoint Essentials engine Received: from webmail.solarflare.com (uk.solarflare.com [193.34.186.16]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1-us4.ppe-hosted.com (Proofpoint Essentials ESMTP Server) with ESMTPS id 1B307800056; Tue, 8 May 2018 07:44:22 +0000 (UTC) Received: from [192.168.38.17] (84.52.114.114) by ukex01.SolarFlarecom.com (10.17.10.4) with Microsoft SMTP Server (TLS) id 15.0.1044.25; Tue, 8 May 2018 08:44:16 +0100 To: Santosh Shukla , Jerin Jacob CC: "dev@dpdk.org" From: Andrew Rybchenko Message-ID: <3f340d4b-0429-fdbc-1ff7-6e9607b6a308@solarflare.com> Date: Tue, 8 May 2018 10:44:13 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 Content-Language: en-GB X-Originating-IP: [84.52.114.114] X-ClientProxiedBy: ocex03.SolarFlarecom.com (10.20.40.36) To ukex01.SolarFlarecom.com (10.17.10.4) X-TM-AS-Product-Ver: SMEX-11.0.0.1191-8.100.1062-23830.003 X-TM-AS-Result: No-3.279100-0.000000-31 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-MDID: 1525765463-A6GaG4cliRys Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] octeontx_ssovf build issue on clang 6.0 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: Tue, 08 May 2018 07:44:24 -0000 Hi, dpdk master build fails for me on Ubuntu 18.04 with clang installed. I've not tried to dig it. /tmp/dpdk-next-net/x86_64-native-linuxapp-clang/lib/librte_pmd_octeontx_ssovf.a(timvf_worker.o): In functi on `timvf_timer_cancel_burst': timvf_worker.c:(.text+0x80): undefined reference to `__atomic_fetch_add_8' /tmp/dpdk-next-net/x86_64-native-linuxapp-clang/lib/librte_pmd_octeontx_ssovf.a(timvf_worker.o): In functi on `timvf_timer_arm_burst_sp': timvf_worker.c:(.text+0x224): undefined reference to `__atomic_fetch_add_8' timvf_worker.c:(.text+0x26f): undefined reference to `__atomic_store_2' timvf_worker.c:(.text+0x2af): undefined reference to `__atomic_fetch_add_4' timvf_worker.c:(.text+0x320): undefined reference to `__atomic_store_2' /tmp/dpdk-next-net/x86_64-native-linuxapp-clang/lib/librte_pmd_octeontx_ssovf.a(timvf_worker.o): In functi on `timvf_timer_arm_burst_mp': timvf_worker.c:(.text+0x498): undefined reference to `__atomic_fetch_add_8' timvf_worker.c:(.text+0x525): undefined reference to `__atomic_store_2' timvf_worker.c:(.text+0x557): undefined reference to `__atomic_fetch_add_4' timvf_worker.c:(.text+0x5de): undefined reference to `__atomic_store_2' /tmp/dpdk-next-net/x86_64-native-linuxapp-clang/lib/librte_pmd_octeontx_ssovf.a(timvf_worker.o): In functi on `timvf_timer_arm_tmo_brst': timvf_worker.c:(.text+0x9ae): undefined reference to `__atomic_fetch_add_8' timvf_worker.c:(.text+0xbc2): undefined reference to `__atomic_fetch_sub_2' timvf_worker.c:(.text+0xcf7): undefined reference to `__atomic_fetch_sub_2' timvf_worker.c:(.text+0xd04): undefined reference to `__atomic_fetch_add_4' timvf_worker.c:(.text+0xecc): undefined reference to `__atomic_store_2' timvf_worker.c:(.text+0xed9): undefined reference to `__atomic_fetch_add_4' clang: fatal error: linker command failed with exit code 1 (use -v to see invocation) make[3]: *** [dpdk-procinfo] Error 1 make[2]: *** [proc-info] Error 2 make[2]: *** Waiting for unfinished jobs.... $ clang --version clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin Andrew.