From owner-freebsd-stable@freebsd.org Tue Jul 9 17:02:19 2019 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E269215DF017 for ; Tue, 9 Jul 2019 17:02:18 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) (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 826C472308 for ; Tue, 9 Jul 2019 17:02:17 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x831.google.com with SMTP id w17so19211289qto.10 for ; Tue, 09 Jul 2019 10:02:17 -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=7QCG0SPu1wfSW9LseYXfsD+IyVZ55kvJWQu0jSH/6EM=; b=zk2T4gh1g5LUiznZ4nNfJ60LP+eZ/rt+1AqKKqSbJ6BznBI6i0WAv79Of8MAT2qjB+ xEmRYgDvET3CPpbdw0I4tSULGy/t+MygSZ7iiwxiKs3rgTC8LJPT0FYCDudF94TpN2We Ng3ssaa956a/rpAvSABdNpqKRp2Vw39erUHTIFZRJewPFMoHz8XUQW5QIcNkwFcO0Hve eRj19+otbSx088XKlOl2tlfesk97BSBvACr/kP0XFrNuWRP6dHII/Z9woStyJMhqJQwa KHcPhBWEOxl5TfO22kaI7EDYzw0IH4zU7JaG6J6R9/2i9jPJzOUIec3tgh6QSFtBdPhU jrSg== 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=7QCG0SPu1wfSW9LseYXfsD+IyVZ55kvJWQu0jSH/6EM=; b=e/W3OOSA4vvZOTP+zrT7UuPV1ZX2JUL7xMADPsBHJVia/ixwywn5tH+zHHMRIMBOGI RW4jCVRnfFqgGpCS/hFB1aBdKPb4zVE8HIOVTAFYBMU8WiFsGoHd2iARIoX/J435Gnz1 UTxK/FFoOhrIPDs+CHrLbCSvzUwArQpEuvMnCO02fltDsivHrkntDL9K6Xmw9+VMkJlV 3hxcUY27ITyDTf9g6GOW0R3wU9Uv9CTWPDmM7dhv0cd7hRHX45UhOxML96GD8wQU4gtK mtZ0GJ0c8T/aj8g1h64x9hBGGZuNH8RoJyTxoedhOYc/Z2BzJadxOH3yX4dJQxhHwSpB dLWg== X-Gm-Message-State: APjAAAV7PnNOURHcetx1GbmFuL6ae3V/lpCNZIYvZZrAzjLcAJ882ntD dcqFPD/SNEYsIsChxdueB9K6zuWSH2HaICP36dsodA== X-Google-Smtp-Source: APXvYqxdesx3HUWCbbm1Nfsh7XiSyzXcyPzXfhGlFOhMvk6ZCEVZd8LYTONwmgUIP5jxB+6sr/QHJQVafl8QOofPTWU= X-Received: by 2002:ac8:431e:: with SMTP id z30mr19730560qtm.291.1562691736614; Tue, 09 Jul 2019 10:02:16 -0700 (PDT) MIME-Version: 1.0 References: <20b32c01-03a7-a376-a90f-7f5b8296181a@sentex.net> <201907080637.x686bkG5071904@mailin1.pluspunkthosting.de> <46BA7C85-0BED-4797-98D7-1FC91E2C9EBE@punkt.de> <8ddc52ed-145e-6704-8e00-543b4ee91bff@sentex.net> <24F38383-0449-410D-82BF-A262D6073070@FreeBSD.org> In-Reply-To: <24F38383-0449-410D-82BF-A262D6073070@FreeBSD.org> From: Warner Losh Date: Tue, 9 Jul 2019 11:02:05 -0600 Message-ID: Subject: Re: RELENG_10 to RELENG11 buildworld no possible ? To: Dimitry Andric Cc: Mike Tancsa , Thomas Mueller , FreeBSD-STABLE Mailing List X-Rspamd-Queue-Id: 826C472308 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=zk2T4gh1 X-Spamd-Result: default: False [-4.76 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.994,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; IP_SCORE(-3.00)[ip: (-9.39), ipnet: 2607:f8b0::/32(-3.16), asn: 15169(-2.41), country: US(-0.06)]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: ALT1.aspmx.l.google.com]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[1.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]; NEURAL_HAM_SHORT(-0.76)[-0.756,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_LAST(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-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jul 2019 17:02:19 -0000 On Tue, Jul 9, 2019 at 12:12 AM Dimitry Andric wrote: > On 9 Jul 2019, at 08:08, Warner Losh wrote: > > > > On Mon, Jul 8, 2019 at 11:58 PM Dimitry Andric wrote: > > On 8 Jul 2019, at 17:38, Warner Losh wrote: > > > > > > On Mon, Jul 8, 2019 at 7:21 AM Mike Tancsa wrote: > > >> On 7/8/2019 3:09 AM, Patrick M. Hausen wrote: > > >>> Hi all, > > >>> > > >>>> Am 08.07.2019 um 08:30 schrieb Thomas Mueller >: > > >>>> Or maybe via 11.2R, if that can be built from RELENG_10? > > >>> I just completed a successful build of RELENG_11_2 on a > > >>> RELENG_10_4 system =E2=80=A6 > > >>> > > >>> Kind regards, > > >>> Patrick > > >> > > >> I am guessing all is good up until > > >> > > >> > > >> > https://lists.freebsd.org/pipermail/svn-src-stable-11/2019-April/009220.h= tml > > >> > > >> If I svn update -r346291(commit before the import of the new clang) > all > > >> builds fine. > > >> > > >> Not sure if its worth a note in UPDATING, or mentioning it here in t= he > > >> google archives will be good enough for anyone else who runs into it= . > > >> > > > > > > I think it is worth a note. I'll add one. > > > > > > We should also followup with dim@ to see why static_assert from > RELENG_10 > > > is incompatible with the new compiler, and why it's used in a way tha= t > > > would break. > > > > I took a quick look, but I don't think there is any quick solution. Fo= r > > some reason, clang 3.4.1 (which shipped with 10.4) cannot handle the > > static_asserts which are inside the piece of code in question. Also, > > there are several other compilation errors, due to it being unable or > > unwilling to cast pointers. > > > > Upstream LLVM has recently bumped the requirements for building quite > > aggressively, it could very well be that a higher version of clang or > > gcc is now required to build 8.0, precisely because of the above. At > > some point they apparently wanted to drop the workarounds for old > > compilers. > > > > Could you look into what the new requirement is? If there's no simple > workaround, I'd like to at least document what the minimum is better than= I > have. > > Okay, > http://releases.llvm.org/8.0.0/docs/ReleaseNotes.html#minimum-required-co= mpiler-version > says: > > Clang 3.5 > Apple Clang 6.0 > GCC 5.1 > Visual Studio 2017 > OK, so the clang in releng10 is 3.4.1. I'll update the note then. Warner