From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A1566138359 for ; Thu, 9 Jul 2020 01:04:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AB045E079E; Thu, 9 Jul 2020 01:04:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 46671E079E for ; Thu, 9 Jul 2020 01:04:39 +0000 (UTC) Received: from [2001:470:4c22:ae86:babe:71:0:1b9] (port=36164 helo=robot) by muon with esmtp (Exim 4.92) (envelope-from ) id 1jtKzJ-00086E-Sj for gentoo-soc@lists.gentoo.org; Thu, 09 Jul 2020 01:04:34 +0000 From: Benda Xu To: gentoo-soc@lists.gentoo.org Subject: Re: [gentoo-soc] Weekly Report: Portage Powered Android References: <20200708113924.qyregustwhhel7m5@tardis.localdomain> Date: Thu, 09 Jul 2020 09:04:30 +0800 In-Reply-To: <20200708113924.qyregustwhhel7m5@tardis.localdomain> (Gunwant Jain's message of "Wed, 8 Jul 2020 17:09:24 +0530") Message-ID: <87imexqz1d.fsf@robot.e.airelinux.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-soc@lists.gentoo.org Reply-to: gentoo-soc@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Archives-Salt: d0f431c1-d88d-4e4a-97f4-e5a5c9ede20f X-Archives-Hash: 7b2c25876f6724a16e18f693db918716 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Gunwant, Gunwant Jain writes: > I was about to give a coherent report for what I have been doing for 2 > weeks next week, but my mentor suggested to explain my findings > briefly. > > I found out that AOSP has actually been phasing out of using GCC in > favour to Clang/LLVM based toolchains. And so, from the last time I > gave in my weekly report, I have been checking up on llvm_android [1], > the source of the toolchain which AOSP uses to build itself. > > I built the toolchain for x86 host using the original scripts AOSP > provides and found out that they in terms of Bionic (Android's libc), > they only copy Bionic's headers, compiles Clang for different targets > using a prebuilt toolchain bundled with the entire package.=20 > > Later, when we build Android, the prebuilt toolchain compiles Bionic and > uses it as intermediatories to compile the other bulk of Android > (frameworks, etc.). > > My main objective I think would be to introduce a aarch64 host config=20 > for llvm_android, and integrate the toolchain in the AOSP build process. > Take this with a grain of salt, as I believe I should put more research > into this first, which is why I was taking another week. > > I would probably write a detailed blog documenting AOSP's build process > by the end of this working week, covering everything we need to proceed. Good. Please take a look into https://wiki.debian.org/AndroidTools, Debian might have achieved some of the goals of us. Yours, Benda --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEENTS8ZhMowhj4Iw2H33YQtSHxcSIFAl8GbR4ACgkQ33YQtSHx cSLTNxAAgMVCOkf0C2U7j4v1iUIYIXDKHfl1JZN1QthQwyI2hHtkUp48l9Q4ys/f gmUclKqoTKCzS6Vt2Z8Aygr6foaLxrMb5b1jwiOPuW5hpygMXsvPMjYxl/a0RgEs 5Z9hWduVUqDa5zKc8TX1PeFA17USmXLkA5W6vidwo/tOk3RVgwXMG45ScH5NAtat ba+CrXrGY3CNUM9Lcve/0P5yciKhCvBtQs9Lp6oVMhCQbPOsfZTV3aLODY131AxY GRpwZipYb7GvIj++ScRo4gUE4XwwXbbue1eChBM3aIUhVdHJSJGZuBgdNev5iCUi UZfZViyu0jZcR4Y8FqkXnW/tkP/DUBX8FPWfeDWhxF3HS12sxzWO5U+x/rnjnBD/ XsHUdH4z70FD45gxdmPeH62WDs66pwezVbgRi5qkvM87dM5vTa27QQTQgDhrXfsG jl7NwzimBeuKxCFIU/pgskF70iXNr1jX5DQbW3UMi59p+VT3LXeCPqhF1xG3rZ2g l/G24l9l0tQhARsAPpHqjKXB3k8nxdsioG6uwn6pfmrChUKiTk3IkWutnAzlLTd/ 77PpiiFqbfcCY2syhtZZrjDtrtV4UdAGtLRPU0rhBJJ39gSVUb6Y4fUETXdmyJ43 ILVdLd0Gds8kjlfjCiAU7UKgRGp+A6HZmb5epMxI21KEFKkoFp8= =7Xt0 -----END PGP SIGNATURE----- --=-=-=--