From nobody Tue Dec 14 19:09:35 2021 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 365F218E31C7 for ; Tue, 14 Dec 2021 19:09:49 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-vk1-xa2f.google.com (mail-vk1-xa2f.google.com [IPv6:2607:f8b0:4864:20::a2f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JD7H10mxTz4q3r for ; Tue, 14 Dec 2021 19:09:49 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-vk1-xa2f.google.com with SMTP id b192so13150529vkf.3 for ; Tue, 14 Dec 2021 11:09:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tYZEq104rf9gmS2NcZ1MT9SxGGpPFVlT8YE66zILRfQ=; b=Dj+TihDfEC4Y7YFVjGNyj2EwoCkoVgvWoHmpj7UlV+Ptyd4Ccpzg69rYGVvJHb+lXx NsA18BsBsW3LRrx6nwisAaJQ8/937pEFnIWdAwhbcIOc5yFctNefWvKy868EZOdztMFv MUHfFBCMWFm1MriJZyOJO/qFmHET1QlONuO06TErKlQ67riczo6vKjFJT2lb4afdgDJ4 0Q65Q1n7+CLx3vmc75jdDZWZ9RLSDHVlVU+1npXmHv47PQ+nbs4LwfS5aY81szepz+12 dfTm6ZpAR80ImOnqnaCVVxOLylr4AqAr2VoMOLH8qnYHGARQOKlIqvKC/lfH3yhiEYOc I0Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tYZEq104rf9gmS2NcZ1MT9SxGGpPFVlT8YE66zILRfQ=; b=F+xiFI9FIE5GQjBrOF2WE/Hb6EXTbXzl0BFANfff5u5wLldNPWR4JyeFtxZ/xGqK0Y 4h/v463zekGuRFLMgCdQlr+u/TQxLAsL7tdW/v/7s8tsm9yC728fsnnnflyByMiVmHj5 RO+Od6z8fQTVW3vf1onWaC4aT5qch8F3L2mdzTKlTrIoo1ZoRBzrmzeR6bm9W9TXI/J/ 8PeVeNUgEg+NESfUPNTtClBNOkldUW0UDub+5Vc6FxsDZBc/j9XqC30J/w9MoMqYflK7 CfY+Uo2HWALOEgUv9T1Gzlb540XP3G8mr27QXvxllvT5s1pTYNvXkyZehQfObhS7tPiq t4JA== X-Gm-Message-State: AOAM533dmiN97ABwdi0TkxthqAWRq5ptT/v262e/pogHN2YKa6nT9TY6 Q5znJ/E5IekKQcn3O8S33nG9W0+XErqm31eHjarPfw== X-Google-Smtp-Source: ABdhPJwudwD4bblDC5kk/BEMgzp+LaLGZjuUVR5Gzr0nHqpXXBLhB6YM7G6HriPJ9VcADkIB4110zAx68fR9pNlg6Y8= X-Received: by 2002:a1f:14c5:: with SMTP id 188mr1120283vku.5.1639508985971; Tue, 14 Dec 2021 11:09:45 -0800 (PST) List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 References: <202112101831.1BAIVQbm048153@gitrepo.freebsd.org> <367d9216-53f7-044d-34b9-fae8460bd7bc@FreeBSD.org> In-Reply-To: <367d9216-53f7-044d-34b9-fae8460bd7bc@FreeBSD.org> From: Warner Losh Date: Tue, 14 Dec 2021 12:09:35 -0700 Message-ID: Subject: Re: git: 4dbc7835cdfc - main - mips: Turn off LLVM MIPS targets by default To: John Baldwin Cc: Ed Maste , Warner Losh , src-committers , "" , dev-commits-src-main@freebsd.org Content-Type: multipart/alternative; boundary="000000000000b8bcfc05d31fee52" X-Rspamd-Queue-Id: 4JD7H10mxTz4q3r X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N --000000000000b8bcfc05d31fee52 Content-Type: text/plain; charset="UTF-8" On Tue, Dec 14, 2021 at 11:57 AM John Baldwin wrote: > On 12/14/21 10:42 AM, Ed Maste wrote: > > On Tue, 14 Dec 2021 at 13:27, John Baldwin wrote: > >> > >> This breaks NO_CLEAN=yes builds in I think a lot of object files. > >> ... > >> Perhaps we should be generating those header files in OBJDIR (and use a > move-if-changed > >> scheme to avoid bumping the date if the contents haven't changed) so > that make can handle > >> these changes? > > > > Seems reasonable if that change is straightforward, but we could also > > just add a special case in tools/build/depend-cleanup.sh to handle > > this. depend-cleanup can be fairly liberal, e.g. delete *.def. > > Yes, but the problem isn't deleting *.def. Those are static files whose > content > changes based on -D flags passed on the command line and you need to > delete all > the *.o files that include those .def files. Note that if you switch from > WITHOUT_LLVM_TARGET_ALL to WITH_LLVM_TARGET_ALL or vice versa between > builds > you would also hit this issue. > True that. Hence my desire to move these into a file that changes when the option changes :) If there's some cheap hack I can do to fix this, I'm open to suggestions. I just don't want to spend a day futzing with it since I have other things I'm trying to get done this week.... Warner --000000000000b8bcfc05d31fee52--