From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 754FEA04EF; Tue, 2 Jun 2020 11:08:29 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B3C421BF95; Tue, 2 Jun 2020 11:08:28 +0200 (CEST) Received: from mail-il1-f170.google.com (mail-il1-f170.google.com [209.85.166.170]) by dpdk.org (Postfix) with ESMTP id 656341BF94 for ; Tue, 2 Jun 2020 11:08:27 +0200 (CEST) Received: by mail-il1-f170.google.com with SMTP id v11so12205663ilh.1 for ; Tue, 02 Jun 2020 02:08:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=NQ4ULmlh5wxxKVjfT02NVvGrod/ir5cPmyQ/A55MazI=; b=BMGdiwjD2V39cKuBUeZiCnAK6nbMjpW5CtutW53mZzCH4aunUhAmoZQ0wuTHOigcxV ICQUawnW2E4KoZ1mqj3cDkhEU/DmFUoSt2ZtxaOGrGqr1l6kUNXKiH/UHNMOLTXkVW5H hwyIlwNe1vX7kP0Pfzbd/fMxLM4TiH7CfpcttoVv/h+rSjbrHSV/cNlp8VmHaSeE4nI2 JxRHnFxxdbHHTJGz6xPEfsxKPHyfQhX/49MhMbDDhO0rO9Nh3fOVcCsViI53WidVEs2Z SrmCI9U6hlyhod5rcDXDmMJBBRSa7JjxewNGHMyr5WQ92b8FCeVnvGjDZ5VHMqNvLpLB /VjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=NQ4ULmlh5wxxKVjfT02NVvGrod/ir5cPmyQ/A55MazI=; b=Zx80B270zp033U+pIl3zOpPanezKFmJP9KGxyoCgYVnAxUqlTdR4mlvahLZGqyigHq JmBTIVqTldk0x7dCK4RvMPtcG1SkfJSSTm+trQmqtAqrx59pfud2RtnvEWmvTE8DuW5Y 0Lw1TZQdenbTVZ5ulk8mDAcll5ujmpvOFSRMM+y8dZbGgRWBVfuRfytqL9m1Su3qqehQ VCA8Z+u3UvpG27u+CtuDqOBiG9u+ZvxJkCgr+ym+tiASn/SepwDyIuKbq881PQAyL/OD 2DpClwLI87Fps4Y7/JKxKnQLsvLMnEeWzNrWcobRjwYddpiauUXRGMYWAhBFWXaRdgN0 8pvg== X-Gm-Message-State: AOAM532E8rJxgRiUS63UJq3s5u6YG2tMVLNAh1YTocy8CmcMCqZ7Ky7f Nt+4LW/7g3b5Dp4KLQcntMz1NSxzvYPtJPFOyeOB9tYuOi0= X-Google-Smtp-Source: ABdhPJygcrZIsqt4hbGgVyHCNDuQPxo49BTdc2TKnqE/BY18MIrzTQE9wRU7p6LW94rJ7zGvIVWHd+QNI76tLySRy04= X-Received: by 2002:a05:6e02:13f4:: with SMTP id w20mr7185218ilj.294.1591088905974; Tue, 02 Jun 2020 02:08:25 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jerin Jacob Date: Tue, 2 Jun 2020 14:38:09 +0530 Message-ID: To: =?UTF-8?Q?Juraj_Linke=C5=A1?= Cc: "dev@dpdk.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] Non-deterministic build failure in rte_ethdev.h:4287:10 on Taishan ARM server 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Tue, Jun 2, 2020 at 12:43 PM Juraj Linke=C5=A1 wrote: > > Hi Jerin, > > I forgot to mention that I'm using GCC 8 and this fixed the issue. A bit = of googling illuminated why this could be so, according to https://gcc.gnu.= org/onlinedocs/cpp/Include-Syntax.html, the angle brackets directive looks = for files in a standard list of system directories while the quotes directi= ve looks in the directory containing the current file first. What it doesn'= t really explain is the random failues. Any idea why it sometimes built fin= e and sometimes it errored? Some race condition perhaps? it is racy due to the fact that rte_ethdev_core.h need to show up in build/include/ before .c file compiles in order to make #include <> works. In case of #include "", that dependency is not there. Makefile file infrastructure is not defining the dependency anywhere. > > Thanks, > Juraj > > -----Original Message----- > From: Jerin Jacob > Sent: Monday, June 1, 2020 4:37 PM > To: Juraj Linke=C5=A1 > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] Non-deterministic build failure in rte_ethdev.h:4= 287:10 on Taishan ARM server > > On Mon, Jun 1, 2020 at 6:15 PM Juraj Linke=C5=A1 wrote: > > > > Hi DPDK devs, > > > > I'm hitting a build failure with dpdk 20.02.1 with rte_ethdev.h that's = happening seemingly at random: > > make install T=3Darm64-armv8a-linuxapp-gcc -j In file included from > > /tmp/openvpp-testing/dpdk/lib/librte_ethdev/rte_class_eth.c:13:0: > > /tmp/openvpp-testing/dpdk/lib/librte_ethdev/rte_ethdev.h:4287:10: > > fatal error: rte_ethdev_core.h: No such file or directory #include > > ^~~~~~~~~~~~~~~~~~~ > > > Try as #include "rte_ethdev_core.h" instead of #include > > > compilation terminated. > > make[5]: *** [rte_class_eth.o] Error 1 > > make[5]: *** Waiting for unfinished jobs.... > > make[4]: *** [librte_ethdev] Error 2 > > make[3]: *** [lib] Error 2 > > make[2]: *** [all] Error 2 > > make[1]: *** [pre_install] Error 2 > > make: *** [install] Error 2 > > > > Full log here: > > https://logs.fd.io/production/vex-yul-rot-jenkins-1/csit-dpdk-perf-veri= fy-master-3n-tsh/11/archives/log.html.gz > >