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 1E922138359 for ; Thu, 30 Jul 2020 15:01:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2D41DE069C; Thu, 30 Jul 2020 15:01:05 +0000 (UTC) Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) (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 D35F3E069C for ; Thu, 30 Jul 2020 15:01:04 +0000 (UTC) Received: by mail-pj1-x1032.google.com with SMTP id e4so1198929pjd.0 for ; Thu, 30 Jul 2020 08:01:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition; bh=BD2Kyr7Ad7x7z5CVQEuNyjdYmSesCMxbqMWApXbaY80=; b=ImizRDX206sxYsUur9lD/zO1IhbNWf+OJxkxVYbWSEUvVqyMY+rFae53L+i7YZZiqC bbQGCVtQ+QC1r5N4O0sA6Tl2ljfTVyhkYiqTtxIkic8idusSrYYHA/dwwSNEZY3LFZbu WB+nexnQZgibO8e1W+KCqpNd1qFKaKmoiAmBw22zTM8SYET575IfoEiQ9dirVwA554Lx gkStBNQSRx5eo69asGNf/obBgdYJNYwjL1QBzbCELswRfcu++ATvleYghhhkKs7DHbTK ZeepzRI1rYaxbGZL27zw2vF6g79lKc0bYMQpGBh1powL4WSyw8wNEdd50Rbd4uKu3omG 5UpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition; bh=BD2Kyr7Ad7x7z5CVQEuNyjdYmSesCMxbqMWApXbaY80=; b=RDBeL7BDZik3AfYd+GNTSe0toBZnW2ALtvqz1lQI4yR0a3PHHvxC+a0ccooaPYv7zK TyDA1QA1YbwKlnSpKoftAh0DOW2WzDk7Ra4iJcRPbQypf2FnZ//fPxs2EPydW5uzc9vY FluzrObxUV41ZVd3YzIcdNNpdVl9srE2d1qfnB52xxfM8aVvWqrazuyIKQo7ceggScBr qr2Yh9OxWIQNwG+pcXVdSDL5p+H5jcMgwgUfvfKrbUANMCwxpDFAHCDQqnuy4sq1+kg3 92reOV8ctuljMLlwx1Mh8dtGCkhzaIPM6XZNxnmWB3xxv3lxQkgfB0co4REkGgRDiBgY 40SQ== X-Gm-Message-State: AOAM533tPJWTAlrRHzzTa30oVgst7kqQx1tSpNh0R8jZOybx5j1GE3E3 fLqOpKRhGhDRNEqux592EJRQNeNL2Xs= X-Google-Smtp-Source: ABdhPJxuC4FjbYJzqlJ2DJRgp1aZl2r5y4gC/5B9/Fk9q2q1QZWO6WW4SIg69W/uhejJdpK+aPlVyQ== X-Received: by 2002:a63:4144:: with SMTP id o65mr34680492pga.8.1596121262970; Thu, 30 Jul 2020 08:01:02 -0700 (PDT) Received: from localhost ([122.162.246.209]) by smtp.gmail.com with ESMTPSA id cv3sm5908138pjb.45.2020.07.30.08.01.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Jul 2020 08:01:02 -0700 (PDT) Date: Thu, 30 Jul 2020 20:30:58 +0530 From: Gunwant Jain To: gentoo-soc@lists.gentoo.org Subject: [gentoo-soc] Weekly Report: Portage Powered Android Message-ID: <20200730150058.g62acf25nrhe4gmk@tardis.localdomain> 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; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="wqlhtmwbufefuwht" Content-Disposition: inline X-Archives-Salt: 63922aeb-32ce-4968-b9ce-20471021500b X-Archives-Hash: 8338d4c95d4d4207cb0ea65c897f8fc2 --wqlhtmwbufefuwht Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello everyone, I am sending my weekly report this late because I figured that I had already discussed my findings this week on the mailing list. But my mentor asked me to write it nevertheless. My task was to build AOSP's LLVM toolchain, but for AArch64 host.=20 Patching the build scripts for that was the easy part. But running the script over and over became tedious at some point. Many times, my sshfs caused problems with the CMakeCache, essentially forcing me to clean build. Other times, the OOM killer got me.=20 Nevertheless I can report that llvm's stage1 builds for the AArch64 host and CMake is accepting the stage1 compilers to build the final llvm stage2. I have yet to fully build llvm stage2, but I am sure that my Mentor's kind offering of an arm64 server would check off that task. I have already explained llvm stage1 and stage2, in some depth, in the=20 previous weekly report's reply chain. I'll put a brief explanation here anyways. Bascially, AOSP packages its own LLVM distribution. The idiomatic way to build LLVM in this case would be to build a "stage 1" compiler with your host toolchain and then build the "stage 2" compiler using the "stage 1" compiler. In AOSP's case, that stage2 compiler is used : =20 - in the AOSP tree as the prebuilt toolchain, used to build AOSP. - as the stage1 compiler to build a version bumped LLVM toolchain (later used as the prebuilt toolchain in the AOSP tree). Therefore my next task would be to use that llvm toolchain (built for AArch64 host) in the AOSP tree and build Android on arm64 unlike the conventional cross-compiling method. Regards, Gunwant --wqlhtmwbufefuwht Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEVcYcuddz0Grkn4q20gpuZPFudnkFAl8i4KoACgkQ0gpuZPFu dnk1eggAidcZbmxtSWa9YAek7GJSvABPppHZsvGcD9TDaIyiuhEaVqQM6DfEffOI gLGtIFFIWTCXdtxB+k83SC/6TKMPAAjWpFuyqqneCDlqGIqlD9XgPZQ74I8p3d5v g6RJ27VjOjsguI/v2JEJh4vIx/eRAHJ3hQhrAc0YhBfBttJJjgiZr4z5ygwf/WBg Uoqm/nrOXlZWH0YxxZbZREtvJf390hxXhb0DfeXJa9TWERDGYEDU6JFtKKaAJub9 0zw0bSu/Taft7c68pP8Fkm7Takm1U/DcMV32m8lgkuYpvjQtXZn4kFPsqKh9VN0o 5sSrPXYs2A9v+AXvf38ie2cVirlruw== =Jz/z -----END PGP SIGNATURE----- --wqlhtmwbufefuwht--