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 CE975138359 for ; Mon, 20 Jul 2020 07:40:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C9E1DE0863; Mon, 20 Jul 2020 07:40:29 +0000 (UTC) Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) (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 BE5AEE0863 for ; Mon, 20 Jul 2020 07:40:29 +0000 (UTC) Received: by mail-pj1-x1036.google.com with SMTP id o22so9654180pjw.2 for ; Mon, 20 Jul 2020 00:40:29 -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=XOtmod03CUtDltFrxljh9oAsVfWO57GV3RIFy7+/53s=; b=Hm5+Tn1fg310xpgGHLrvDAW/rM9uK0cG5rEnPzEkrl3tBWXBTlDVkUmpm4ZcT/908G b4ntrSX2N4uWCVAau3IuZPWZgcaXaTQkuFw2c+6cd9IFZwjRHCQLWl0DufwUdKnLGqLn 4fwUGoNDsgLoidJmwA3HDCLa3UTfLC84yzOveAM6+jX4bheq2NdGOL6nTApa5El53ZD8 bd8UysJnfZcG21hvr1vh8p2qTkBE4SbPwckutm+qSpV9bsNKdrMfZT3t/JwlIzhGj9/h B//Q10+lxZ9F78+iHbo5jAdOKbuWDJXyBXsXuY7ACw4nWJwZ0lFRo4mgZbF5hq5+XPpm 07Vw== 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=XOtmod03CUtDltFrxljh9oAsVfWO57GV3RIFy7+/53s=; b=U4wCrTUx8RECmTc3Hh4vhfUq4mlkhSn2+tUGdY2Y+0nGQbOorwwbjt2dtsoWsAJehN Zj/x+MMSJFJBt6DimmjZGv1jh6Cz1aMPGfHO7EOl+jDale5gGrnM2aRDIO2I+gIQrcGh LDmN3LOnOzv9WAJgFKZ0Mm3JSpJi/kTX2DN8HKwk12fbKAUceJUWPh53eUsDlLwTCY1l OOnyBEF70aEKdWq77OmFhMkAbOEGnD+fDYFx4DM79BziZFlp4p21Pfum6iMXXltJ/4ky KmLYFx2DDLnIZCA8mgU54DkR7JntKlzyfMfNqQjc4k0DD9b2AYlUU1rMUgk7Ypv9qxB5 rl1w== X-Gm-Message-State: AOAM531VpzOygASy5Ry8sCaV1l8AcLHDW1uxzn1PW09uY0PZd0S+yoYI X9asILTFEnjCDsIIE7ypxpXp+iPAup8= X-Google-Smtp-Source: ABdhPJzMt2AvWDgKWC4CZfSj/wEOAMAKahV0I1IOfqq0szbi8XZdJNNZ99RVsZaov+e/LP5K8yjqOg== X-Received: by 2002:a17:902:d20c:: with SMTP id t12mr17079899ply.291.1595230828201; Mon, 20 Jul 2020 00:40:28 -0700 (PDT) Received: from localhost ([106.201.10.137]) by smtp.gmail.com with ESMTPSA id o17sm10657949pjq.6.2020.07.20.00.40.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 00:40:27 -0700 (PDT) Date: Mon, 20 Jul 2020 13:10:24 +0530 From: Gunwant Jain To: gentoo-soc@lists.gentoo.org Subject: [gentoo-soc] Weekly Report: Portage Powered Android Message-ID: <20200720074024.ayyqx5dk5hrngn7m@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="pbsl3olazi6gdmo2" Content-Disposition: inline X-Archives-Salt: efe6c466-2f5d-4da1-818e-30ecd0cc776f X-Archives-Hash: 91648957d8f4e7da55c76d14c591c068 --pbsl3olazi6gdmo2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello Everyone, This week, I started managing the structure for the modified LineageOS fork we would keep. Namely the modified `repo-manifest` [1] and `llvm_android` [2], for now. No patches have been applied to them yet for the reasons discussed below. My plan for this week was to start with patching the `llvm_android` build scripts. Android uses a prebuilt Clang (bundled with the repo) among other stuff to build the toolchain. So I had to emerge Clang on my phone. Emerging Clang turned out not to be a breeze when I have a phone with 3 gigs of RAM. So for about the longest time, I was busy trying to make up for it. I tried setting up distcc, increased swap/zram, but still the OOM killer got me. Later last night(/day), I came across the tips for building clang/gcc in an embedded Android environment at [3]. So I followed that and as of now, me writing the mail, OOM has not got me, Clang is emerging. While I considering the patching part easy, I guess the major bottleneck in the process of building Android natively would be the compilation. Essentially I will have to trade time for memory. I will also give another shot to distcc while I am at this. Regardless of problems I faced, I made "TODO" comments in the source and wrote notes about where to patch the build scripts locally. I avidly wait for Clang to compile and then start testing the patched build script. Regards, Gunwant [1] https://github.com/WantGuns/manifest [2] https://github.com/WantGuns/toolchain_llvm_android [3] https://wiki.gentoo.org/wiki/Project:Android/tarball#Out_of_Memory --pbsl3olazi6gdmo2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEVcYcuddz0Grkn4q20gpuZPFudnkFAl8VSmgACgkQ0gpuZPFu dnlo5wf+ICOCuLCOe2QcndRQIgZogDLNI10heCIGpjCHiJcA6HOnTNu/T7R15SIh dZN8Ax//M24WIANoI1ISMGaO/CcQMQoRpTE6n4Av6q5AELPnREm41JGMr8GiW56R 9E8PCobOi8P9LU0bhS5bz2dhc2mE44BuPdoz5Vxi+7KoquMlkhG0OibsW1o2vVHp 0EMypAZmWJ/RXt/YRIgKhG7O6JdUhwL7fe4dBLPntbygg11cSWVACvHtW/bQjAqW 5E/AH2pHc+9WG6/SVL+Fj4FqLSE3qjzbxe7auOzl3nI1VgBuowcV0hRkeRMeQcPz ribbAPmI+7aqt25x/T7DDYyKgG3Q3w== =bSkP -----END PGP SIGNATURE----- --pbsl3olazi6gdmo2--