From owner-freebsd-ports@FreeBSD.ORG Thu Dec 18 14:47:36 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F2451F2 for ; Thu, 18 Dec 2014 14:47:36 +0000 (UTC) Received: from mail-pd0-f175.google.com (mail-pd0-f175.google.com [209.85.192.175]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BE2B824EA for ; Thu, 18 Dec 2014 14:47:36 +0000 (UTC) Received: by mail-pd0-f175.google.com with SMTP id g10so1552686pdj.20 for ; Thu, 18 Dec 2014 06:47:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to; bh=p5IpbZglrLI1dIIJpyXpYFXl0CH/aGonP2IaKLPKrB4=; b=l174xvIzGaumdsDv7k/Xlw3DZ9hPH0rFoRXO/DxdYPPArwXKivkwqEsT8Y7cYc3vTA zyKZ9Ju7s7OupcWXy4fTXEyz1Kxscj5uRaw16Hex31qWp12bGPNsTCOK9+lh2qbDn6Hz ii1Nyz1wfM4SYUlqB1BuhO3gK4hv3Cf+MEJW2stTpP2G62hMMr1oLocmafvhwOUmfK/j JrJ3Ab8zlLgz9VxDrSMXw/LpwpCzE7ac2/BZyVJgZ09Gv7srg6Jf+n62AZ4jOO3sG923 YHFg5DnrTejghMIcFkdyRQDwsl5UHuCVfKIMRoBKJQJWTV5h7FgM9EwwrThOiIGODYMi tIHg== X-Gm-Message-State: ALoCoQmy4Vwd33RqTRRHfoLjVV9wqrqc5n2/GMQVRU0jLEXojuzXXSyoqAIEd+x8pD3O1akFeFEW X-Received: by 10.68.69.109 with SMTP id d13mr3975826pbu.57.1418914055686; Thu, 18 Dec 2014 06:47:35 -0800 (PST) Received: from [10.64.27.55] ([69.53.236.236]) by mx.google.com with ESMTPSA id t9sm6970859pbs.75.2014.12.18.06.47.33 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 18 Dec 2014 06:47:34 -0800 (PST) Sender: Warner Losh Subject: Re: RFT: Please help testing the llvm/clang 3.5.0 import Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Content-Type: multipart/signed; boundary="Apple-Mail=_7FA36E47-9950-4DAC-BDC0-A131AC31BE31"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5b3 From: Warner Losh In-Reply-To: <9A1A4235-3189-4A29-9942-64BF58A703F8@FreeBSD.org> Date: Thu, 18 Dec 2014 07:47:31 -0700 Message-Id: References: <8598B1D4-5485-426F-B6D6-22BF26AC5FE1@FreeBSD.org> <9A1A4235-3189-4A29-9942-64BF58A703F8@FreeBSD.org> To: Dimitry Andric X-Mailer: Apple Mail (2.1993) Cc: FreeBSD ARM , FreeBSD-Current , portmgr@FreeBSD.org, FreeBSD ports , FreeBSD toolchain X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Dec 2014 14:47:37 -0000 --Apple-Mail=_7FA36E47-9950-4DAC-BDC0-A131AC31BE31 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 This is excellent news Dimitry! > On Dec 16, 2014, at 12:36 PM, Dimitry Andric wrote: >=20 > On 28 Nov 2014, at 22:03, Dimitry Andric wrote: >>=20 >> We're working on updating llvm, clang and lldb to 3.5.0 in head. = This >> is quite a big update again, and any help with testing is = appreciated. >>=20 >> To try this out, ensure you have good backups or snapshots, then = build >> world and kernel from the projects/clang350-import branch [1]. = Please >> use a Subversion mirror [2], if you are able to. >=20 > Here are some updates about the status of the 3.5.0 import. >=20 > * i386 and amd64 have been tested through make universe, and = everything > should compile and run. > * Little-endian ARM builds should now compile and run, thanks to = Andrew > Turner for putting in lots of work. > * Big-endian ARM is apparently supposed to work, but I'm not sure if > Andrew managed to test it on real hardware. I know Andrew doesn=E2=80=99t have the right arm gear to do this test, = and emulation environments that run FreeBSD have had poor big-endian support for arm. > * PowerPC64 should mostly work, thanks to Justin Hibbits. > * PowerPC32 might start working soon; it really needs some backporting > of fixes to clang 3.4.1, which is now in head, so there is an easier > upgrade path for PowerPC users. > * Sparc64 still does not work, and I don't see any quick solutions to = it > for now. It should probably stay with gcc. > * Mips will only have a chance with the upcoming clang 3.6.0, but that > is way too late for this import. It will probably require external > toolchain support to get it working. For native builds yes. For cross builds, clang 3.6 can be built on an x86 host. > * Another ports exp-run was done [3], after fixing the problem with > lang/gcc, which lead to many skipped dependent ports. > * The second exp-run had much better results: the failure with the > highest number of dependencies is devel/mingw32-gcc, but this seems > to be due to a problem with makeinfo, not clang. The next highest on > the list is java/openjdk6, for which ports r374780 [4] was very > recently committed. Will users of our stable branch have code similar to the code that = caused problems? One warning flag about your upgrade to the stable branch would be if there=E2=80=99s a significant number of user-written = programs that suddenly become uncompilable with the new clang using the environment that they have today. We know of some items that are issues, so careful attention here is needed. Unless we go proactively looking for these, there=E2=80=99s a good chance we won=E2=80=99t find them until users hit = them and start to complain (by which point it is likely too late). Could you post a = summary of the issues that ports have hit and the fixes necessary? We may need to have that in the release notes and/or UPDATING file to help prepare our users for the bumps and give them solutions over them. > I would really like to merge this branch to head in about a week, > pending portmgr approvall; I don't expect the base system (outside of > llvm/clang) to need any further updates. I think there=E2=80=99s good reason to do this, but we should chat about = the build issues below before doing it. They are minor, but an important detail. I=E2=80=99ll see if I can find a few minutes to pull the branch = and send patches. > Lastly, to clear things up about the requirements for this branch (and > thus for head, in a while); to build it, you need to have: > * A C++11 capable "host" compiler, e.g. clang >=3D 3.3 or later, or = gcc >> =3D 4.8 (I'm not 100% sure if gcc 4.7 will work, reports welcome) > * A C++11 standard library, e.g. libc++, or libstdc++ from gcc >=3D = 4.8. >=20 > So from any earlier standard 10.x or 11.x installation, you should be > good, unless you explicitly disabled clang or libc++. In that case, > you must build and install both of those first. This is true only on i386, amd64, and arm hosts. Given that some people do try to do weird things, tightening up how you present this will get = the word out a little better. > On a 9.x installation, you will have clang by default, but not libc++, > so libc++ should be built and installed first, before attempting to > build the clang350-import branch. Can you make sure that the UPDATING entry you are writing for this contains explicit instructions. > On 8.x an earlier, you need to upgrade to at least 9.x first, follow > the previous instruction. We should remove building on 8 support then, unless there external toolchain stuff is up to the task (e.g. build gcc 4.9, libstc++, etc). > As for MFC'ing, I plan on merging clang 3.5.x to 10.x in a while > (roughly a month), but this will cause upgrades from 9.x to 10.x to > start requiring the build of libc++, as described above. I don't = think > we can merge clang 3.5.x to 9.x, unless clang becomes the default > compiler there (but that is very unlikely). Let=E2=80=99s see how it goes, and what the upgrade issues wind up being before doing this merge back. New =E2=80=9Cmajor=E2=80=9D compilers on = stable branches traditionally haven=E2=80=99t been done, but if clang is better about = being ABIly identical to prior releases than gcc was, it might not have the same = issues associated with it. Warner --Apple-Mail=_7FA36E47-9950-4DAC-BDC0-A131AC31BE31 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJUkukEAAoJEGwc0Sh9sBEAT0kP/Rnez5JSvAwYw80kxMc/Ui1P rvW0Nq7D3sMYxXHY13Frt0+yT/7JEZpXMRGFGHijwaKd/iSgUT2W04BQAYHkjWWj Z2cq/mFLrKtcS8puBpDGC9hGkZ6jeB06k6N82mu+HrbrMtNxb7Rl9MAeaPyZl0vb dmKVFmSDSnlNCSSE6sJygmexT4JKcP+2Bv8U/C4htCsKwnYzbroUJVhmhNwm6NHp Tgloml0B3IVdd3rY91uW6Ie1He1px96uoFnFS7IeHWsC2CkVKrpdOwoLXJdk8ofr /uyKvOCng7pmGmoNVE6/h0RdPGGatjHwdHgF2V1in4I2XNWmavMq8Js3+ipPAB0t ox4TMQqGWnOIAsGJiyAboPbrC4gTj3DpTVJp4SyROYMWMXtp8w26fOktzwErmHEq ghxR8GO8ypq5lhpURuzyprkn4rp++PHeLN5soDmFYjx8k39FXB8iWkrhFjiyaNh4 kaa1GWXTxuaDOMiDRLjgluo7LstAn5jUir0HX/CnPgycEFw5yCxEia7dTqHj0Jmx uGdx8a+ZnSptbuSjfytT0BH9TLRj2wYdGmwGNA12KrgYOuBTCZqEaOpdYvE0KN2W 4tFdAfr13vUzcUk0W6bD1uVFUn2myKvy7gxPD7C4+NyJ5ZUTLHKiwyeFn3O7KzeL QDFb8Gg5HEyaoGI9gSpf =k3ZX -----END PGP SIGNATURE----- --Apple-Mail=_7FA36E47-9950-4DAC-BDC0-A131AC31BE31--