From nobody Tue Nov 30 13:03:14 2021 X-Original-To: freebsd-hackers@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 97FB218BA9EC for ; Tue, 30 Nov 2021 13:03:18 +0000 (UTC) (envelope-from mgorny@moritz.systems) Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) (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 4J3MpZ3Y8bz3QR6 for ; Tue, 30 Nov 2021 13:03:18 +0000 (UTC) (envelope-from mgorny@moritz.systems) Received: by mail-lj1-x236.google.com with SMTP id p8so27488767ljo.5 for ; Tue, 30 Nov 2021 05:03:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=moritz-systems.20210112.gappssmtp.com; s=20210112; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=H/E+kITh41Tw3/dE/IzozlpU4CN75t++lTzbQLVhco0=; b=3GJm8rlt6xl9iNemh5kqnGXJkEjevIQUuEh0nXl6MlIA/pyKeqTmtSQsXecHys35g/ N7HhQH7mMebMWGTdzvwkGX50LHTae6uXSzbCTbBR9PP9acx4KfhDPCMDJ+RUPSDZyM76 RRaYr2Ut+ZZV23iPcB1EyMOO4IBCheOFlQ3oFmkxbh/mQFodL1w34MJeG+s2SA/EHBKl QvMVFH8fmIkNTew8UFC0hOIr2F8fzGRp/P7yVoys26jIBbcVV9bYe3domjkh64nCg9or yb/hMZkWNrka57Um7jtoJZ4vyaJNGUnNxAO4Rqo32uBrAOWcqxXYRPtvpL/gbUEyKtS8 WxqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=H/E+kITh41Tw3/dE/IzozlpU4CN75t++lTzbQLVhco0=; b=MX7y0NIExClLwNjxotA+aocOqC5oq+vOiRthQWgy69GlYeyrufCRa14OwM8ICka7vh tWXZhwN77BLmfbu8hwOZ8c71rKCubEj7FT2T8SO8QDGQXSbvB+Eux8twUDo7frSh54qP QJrSfyqHsmGtBsh/NnXTDr7iGpFE7uWs91JGT7MQd9fnwqX5ybqHbULoWEqZKNgPsL66 2TZBUGwpuLWPAuZWegtOk7S7A1BxtkBLJ8Wh58FJ932mfiSpvJjdwrgMtjzEp8CbP7jo r2onSByp9aN4OznLjoSuwxIZycPI98lBOyaL0LjRKUEqD1h5Z8MC0pffx9NLaGRxPwhs qynQ== X-Gm-Message-State: AOAM53354YrtOrlbkaRQeLyosI51YFdfsLzuGGXRylbYgXZESU8p7E6a wl0lKjfPA3vARDXfKMCGzq+iXw== X-Google-Smtp-Source: ABdhPJzr+QG97CjF1mz1FirZA31pOPLShqq/B2SmMqeO79F6Yn/p2oPq2hB3om9avAzJsgSFiysUAg== X-Received: by 2002:a2e:81da:: with SMTP id s26mr56190508ljg.63.1638277397228; Tue, 30 Nov 2021 05:03:17 -0800 (PST) Received: from [192.168.1.17] (c139-65.icpnet.pl. [85.221.139.65]) by smtp.gmail.com with ESMTPSA id d15sm1710925lfq.38.2021.11.30.05.03.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Nov 2021 05:03:16 -0800 (PST) Message-ID: <308f3c42a357e6be288e01060868fa7b003ced4b.camel@moritz.systems> Subject: Re: llvm/clang upstream From: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= To: "Floyd, Paul" , "freebsd-hackers@freebsd.org" Date: Tue, 30 Nov 2021 14:03:14 +0100 In-Reply-To: References: <43a13a6b-baee-e8cb-3624-ee98da510ad0@gmail.com> <0E4F98DC-1B05-4E1C-813F-4246C45E9C85@FreeBSD.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4J3MpZ3Y8bz3QR6 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Tue, 2021-11-30 at 13:22 +0100, Floyd, Paul wrote: > > > It would be nice to be able to just 'git clone && cmake && make' > > > (roughly speaking). > > I do this all the time. What seems to be the problem? > > Now that I'm looking at this again, I think that the problem was that > when I first set up llvm builds I wrote a couple of scripts to run > cmake > and then to run make. The cmake config script might now be out of > date. > > When running make I get an error finding unwind.h. > > So my guess us that building libcxxapi without libunwind is broken but > either not building libcxxapi or building it with libunwind works. Please note that the "official" way of building stuff has changed a few times, so you might be using an outdated approach. I think the current way of building runtimes is via LLVM_ENABLE_RUNTIMES. -- Best regards, Michał Górny