From owner-freebsd-current@freebsd.org Sun Mar 15 19:52:44 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 459D6276F11 for ; Sun, 15 Mar 2020 19:52:44 +0000 (UTC) (envelope-from ctuffli@gmail.com) Received: from mail-ot1-f68.google.com (mail-ot1-f68.google.com [209.85.210.68]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48gVTQ2MRLz4QbW; Sun, 15 Mar 2020 19:52:42 +0000 (UTC) (envelope-from ctuffli@gmail.com) Received: by mail-ot1-f68.google.com with SMTP id g15so15685506otr.0; Sun, 15 Mar 2020 12:52:42 -0700 (PDT) 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; bh=0mIf7dWNLg3+gAfgTrK2Dy0Lv10RtCCNowfqr5Xf/CI=; b=HVXau2tMAOXHfV/hbr2wUmagvnm9XB1T7ptcWYjvyUuew96Ll5VzTaL/uJNvrt5771 OTA+HTCau8kGfl3JqO/DA6YPcPkxWdE6OnveaeLSgtC7CyDiBRdiweGKReh16+hA591V 8dz3rqVuT4PZj1wVFU6U/2glLytJaHF6y3DUmxvrONLZR8E6o7EIfTjEvuykn/Mb6C9W kRlAvnMCDgnzx6ivM04Br/kGXzsQJEjlIyX8yqmmY9zTZxiw0ySRh7DGYFkXFtbM3JYH Y4VZ2aRKOHB1up9FBfxMWvvUBS9Mgjvyzwnkq8tS/YF1EoNDRECjsV4+oyFKsz+B2U4Z Amxw== X-Gm-Message-State: ANhLgQ1ghxFj4X04UQ2SpVFIW+zuQsO0i8XPAEDNGlMMfTzBbOPkbUOB rftQUAI5c83OneWJ89j+IQAhstH7 X-Google-Smtp-Source: ADFU+vuE+M45/YfWtsdQJRcaneNX9CStwrGzYxgc/cnO/jsOepjOcYc+rAny6RJZfZAPR1ujtxa3pg== X-Received: by 2002:a05:6830:1ad4:: with SMTP id r20mr12337262otc.316.1584301960341; Sun, 15 Mar 2020 12:52:40 -0700 (PDT) Received: from mail-ot1-f45.google.com (mail-ot1-f45.google.com. [209.85.210.45]) by smtp.gmail.com with ESMTPSA id l19sm8053419otj.69.2020.03.15.12.52.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 15 Mar 2020 12:52:40 -0700 (PDT) Received: by mail-ot1-f45.google.com with SMTP id r2so259454otn.6; Sun, 15 Mar 2020 12:52:39 -0700 (PDT) X-Received: by 2002:a05:6830:10b:: with SMTP id i11mr17158063otp.99.1584301959425; Sun, 15 Mar 2020 12:52:39 -0700 (PDT) MIME-Version: 1.0 References: <5606b11ff31f576b48458a15d224f8b1@waitman.net> <6973b60ef1e9ef142bf9b8fd8f2f3b41@waitman.net> <20200314.125321.1799337201319868712.ish@amail.plala.or.jp> In-Reply-To: From: Chuck Tuffli Date: Sun, 15 Mar 2020 12:52:28 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Build failed compiling ittnotify_static.pico To: Dimitry Andric Cc: freebsd-current@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 48gVTQ2MRLz4QbW X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of ctuffli@gmail.com designates 209.85.210.68 as permitted sender) smtp.mailfrom=ctuffli@gmail.com X-Spamd-Result: default: False [-2.94 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[68.210.85.209.rep.mailspike.net : 127.0.0.18]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; IP_SCORE(-0.95)[ip: (-0.07), ipnet: 209.85.128.0/17(-2.97), asn: 15169(-1.65), country: US(-0.05)]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[68.210.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_MEDIUM(-0.99)[-0.987,0]; FORGED_SENDER(0.30)[chuck@freebsd.org,ctuffli@gmail.com]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[chuck@freebsd.org,ctuffli@gmail.com] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Mar 2020 19:52:44 -0000 On Sat, Mar 14, 2020 at 1:16 AM Dimitry Andric wrote: > > On 14 Mar 2020, at 04:53, Masachika ISHIZUKA wrote: > > > >>>>>>> cc: error: no such file or directory: > >>>>>>> '/usr/src/contrib/llvm-project/openmp/runtime/src/thirdparty/ittnotify/ittnotify_static.c' > >>>>>>> cc: error: no input files > >>>>>>> *** [ittnotify_static.pico] Error code 1 > >> > >> 'make cleanworld' solved it, build without error. > >> I used to always delete obj for years, but I've not done that for a > >> couple of years without any problems I've noticed. > > > > Thank you for information. > > I'll try it. > > Obviously, cleaning up your /usr/obj will always help, but that is not > the point of the fix. It should always be possible to do an incremental > buildworld, but there is a deficiency in our dependency tracking system. > When a file changes extension, but its basename stays the same, the > tracking does not notice it. 0. rm -rf the obj directory contents 1. buildworld using r358851 (just prior to the llvm/clang commit) this completed. Note I do use MAKEOBJDIRPREFIX when building 2. update to r359007 and buildworld fails with: cc: error: no such file or directory: '/usr/home/ctuffli/dev/freebsd/freebsd.hg/contrib/llvm-project/openmp/runtime/src/thirdparty/ittnotify/ittnotify_static.c' cc: error: no input files *** [ittnotify_static.pico] Error code 1 The build log does not show "Removing stale dependencies" The first two lines of the amd64 depend are: $ head -2 ../obj/usr/home/ctuffli/dev/freebsd/freebsd.hg/amd64.amd64/lib/libomp/.depend.ittnotify_static.pico ittnotify_static.pico: \ /usr/home/ctuffli/dev/freebsd/freebsd.hg/contrib/llvm-project/openmp/runtime/src/thirdparty/ittnotify/ittnotify_static.c \ The first two lines of the 32-bit depend are: $ head -2 ../obj/usr/home/ctuffli/dev/freebsd/freebsd.hg/amd64.amd64/obj-lib32/lib/libomp/.depend.ittnotify_static.pico ittnotify_static.pico: \ /usr/home/ctuffli/dev/freebsd/freebsd.hg/contrib/llvm-project/openmp/runtime/src/thirdparty/ittnotify/ittnotify_static.c \ --chuck