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 6D8381382C5 for ; Wed, 1 Jul 2020 07:18:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66119E0932; Wed, 1 Jul 2020 07:17:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 49D4BE0932 for ; Wed, 1 Jul 2020 07:17:56 +0000 (UTC) Received: from [2001:470:4c22:ae86:babe:10:0:1] (port=50670 helo=proton) by muon with esmtp (Exim 4.92) (envelope-from ) id 1jqX07-00085R-FH; Wed, 01 Jul 2020 07:17:47 +0000 From: Benda Xu To: Gunwant Jain Cc: gentoo-soc@lists.gentoo.org Subject: Re: [gentoo-soc] Weekly Report: Portage Powered Android References: <20200629201204.hssao7lsdtcmpsme@tardis.localdomain> Date: Wed, 01 Jul 2020 15:17:46 +0800 In-Reply-To: <20200629201204.hssao7lsdtcmpsme@tardis.localdomain> (Gunwant Jain's message of "Tue, 30 Jun 2020 01:42:04 +0530") Message-ID: <874kqrzoth.fsf@proton.d.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: 735a1dfa-5f19-446c-939b-b3ac10f56fcd X-Archives-Hash: aaaa6901b08e3a3481a35c521e903852 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Gunwant Jain writes: > This week, I had relatively less work done. > I spent most of my time perusing the LFS guide and osdev.org learning > about building toolchains. Then I went onto building the > aarch64-linux-android toolchain as described in [1]. I updated the > kernel sources for my phone [2]. And in general tidied up my kernel > repository.=20 So the newly compile kernel works. Well done. > But while building the toolchain, I was not able to compile `gcc` as I > was riddled with errors along the way. Most of them are related to the > newer `gcc` (version 9.x) finding incompatibility in the sources of > the `gcc` I am trying to build (version 4.9). I will continue to > build the toolchain and hopefully move onto separating `Bionic` from > the other side of Android mid-week. Why do you need to build gcc-4.9? > > [1] > https://wiki.gentoo.org/wiki/Android/SharkBait/Building_a_toolchain_for_a= arch64-linux-android > [2] > https://github.com/WantGuns/overlay/blob/master/sys-kernel/linux-headers/= linux-headers-4.4.222.ebuild Does the version number "4.4.222" coresspond to the kernel of your phone? Generally, when compiling a toolchain, you don't need to match the linux-header version to the running kernel. The newest linux-header will do. Benda --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEENTS8ZhMowhj4Iw2H33YQtSHxcSIFAl78OJoACgkQ33YQtSHx cSKRnxAAoo93pTKMKtBa1ttHvnc55IehvYebgo4iRAAcDQXjmKPWFR4fCSibCYZa 4bYBXFzf8V/3NjIR5CJ5BJcot4wloQ+ELCdz0X8WVRKsgXtNsHlA3UM+03bb1AJn D2mOyvHjBOMOxlmy90ulpYtPsbyiM0/8b3xIVDycVpVKBMNiBG8ZZoxCk/noH1ai akaVyHPFlxjHaHy/8TE/sLvFD+BBrXsRRnmKLySx9w/BsruDQinIpV6Q29FcWhtE K0vKFlJTbpqY412/fyO6XctWcSaSD+VwLVzytFBPmV9pVNtVWlr23Vdj1s/XbV9Y wvi0N0q7T29HJbOGR3tygV2TdBv91wAU7ZnJzBCSCh4sTW8+cCV0Cu4Rx/kDlPck sdxnik7nPzp9VbPB0LlwAX7iQPv2M/9mb8bg8w2vrtICbNnK66zOsQAwbM/+1JpW XkWFvnSXGjexmJZjhRB/8bt6KLwJCsxAhkMGOOt9ssS+Dl6s5KS6RP3Adzc+w0UK 3OtfetIMfNe9G6vNDhPPRshE8SE6xWBu9pf8LH2xuO3i42P8oXr9xPNfwKLvCPQg Va5v2GK7xR2iTx5tfm1QrtTFLcxjUKPJneYIyVbQz0QcPzQzBhHS0OiVIcApw8of Yso7FE+NFf9umkrN9cc11E5ZamyCkolRKt21BKZnqoQ7n47g4P0= =vNPM -----END PGP SIGNATURE----- --=-=-=--