From owner-freebsd-current@freebsd.org Tue Sep 10 05:08:56 2019 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 CC260F1033 for ; Tue, 10 Sep 2019 05:08:56 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x836.google.com (mail-qt1-x836.google.com [IPv6:2607:f8b0:4864:20::836]) (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 46SCjz57DRz3Pr9 for ; Tue, 10 Sep 2019 05:08:55 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x836.google.com with SMTP id g4so19256002qtq.7 for ; Mon, 09 Sep 2019 22:08:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2O2WJjPCf9pHLKztQElG+QooeNNCmWs13v7CLFPbCPk=; b=DfS3UfG+uaA2YZfAPcoLXM5tk0xR2B/grkcSbxxPaeRbLgkG6WCMs/sVdq35vw69lA ia/4x5vBDdlx5rUInI1VQ4WEiydgMNfNX0ws+1lgm2lb/Mt8QxtQYcpf6nLrcFx9YO1E L4wWVXls1bwSIWzFOVvBcSDzEAaZYfUgot6nJhSbTxnmUyW7hZ07mm0EznzLgcrcdLko Joe4D6gvTOWY7DIK1ywQBDiJv9xTclrCxzEnZNgQLHuAeEltCZX5bIkPWkADfgV/uVEM 8SdENefGHXNQozuMzNougL7SjLChBJANXdrjkKnBLVD/6Eu5fLT6/AjjnzKktas0F6zv BdkQ== 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=2O2WJjPCf9pHLKztQElG+QooeNNCmWs13v7CLFPbCPk=; b=IbjYoMeHLmI49+MvMWLY0iu+jVbvrYTstYYiwObZS0s5qE9t1XNXQ12ksJBliPR3Q5 +CRmT66VK0stAiV0cINZmz88M4s5g37unAn0F37EaZ4BnC5CqnCmMSDg1umIo8DJVK1K uj5TESx0SYYo5wL9gCpoHGVRPrlVRR25Ryb8OI9bHSOrvBHbRSD1wqZhRpgDWCMRGZDW ch9+aic+juBINCJFaDkLl1Y5t6T1g6Z+AvLRgBrCa5hUjDAody1eK71L5JErKXW/lytz LH8FtfRjE59tfDJ77PdfZ+DrrnRoyOeIQTKwDpver//SiDRr707DkrhNIts+djK9LbKl E1Jg== X-Gm-Message-State: APjAAAXypQY6+E2wu+vlXfGMulRIXfkOTtfb9g+3YiuoULgEp72nk62Q NHHOCQphFqHZeXbIfRN8It+j89vLNs6G3v0aVTXt9J4o X-Google-Smtp-Source: APXvYqy4mWjj7+0UwwLTp0cVcSBSi8QQEazT40RARJgPhgRgTxPOndAZ+3sM5XhP8/oGjFYAQXu8EMU3OvSJ16avFDY= X-Received: by 2002:ac8:71cb:: with SMTP id i11mr25868833qtp.32.1568092134544; Mon, 09 Sep 2019 22:08:54 -0700 (PDT) MIME-Version: 1.0 References: <4c4d4ccf-4662-572a-d6ff-7ce9a0c36f38@bsdio.com> In-Reply-To: From: Warner Losh Date: Mon, 9 Sep 2019 23:08:43 -0600 Message-ID: Subject: Re: Building world with gcc9 not working To: "Conrad E. Meyer" Cc: Rebecca Cran , FreeBSD Current X-Rspamd-Queue-Id: 46SCjz57DRz3Pr9 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=DfS3UfG+; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::836) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-4.86 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[6.3.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-2.86)[ip: (-9.26), ipnet: 2607:f8b0::/32(-2.74), asn: 15169(-2.26), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Tue, 10 Sep 2019 05:08:56 -0000 On Mon, Sep 9, 2019 at 11:05 PM Conrad Meyer wrote: > On Mon, Sep 9, 2019 at 8:25 PM Rebecca Cran wrote: > > > > Is building world with gcc still supported? I'm getting an error runnin= g > > the following: > > > > make XCC=3D/usr/local/bin/gcc9 XCXX=3D/usr/local/bin/g++9 buildworld > > Hi Rebecca, > > Aspirationally, yes. I did a successful CROSS_TOOLCHAIN=3Damd64-gcc > buildworld earlier this week. (It doesn't play well with binary pkg's > built with Clang, so I ended up replacing it with a Clang-built world > instead, but it compiled.) > > Unfortunately, amd64-xtoolchain-gcc is stuck on GCC 6.4.0, while > you're running the much more recent GCC9. I think GCC6.4.0 is more or > less expected to build world today, but I don't think many people are > building with GCC9. I would love for amd64-xtoolchain to move to a > newer version, but I don't know what is blocking that =E2=80=94 it seems = like > it should be straightforward. > I did a gcc8 build about a year or so ago, though I had to turn off Werror to complete the build... Warner