From: UnderSampled <undersampled@live.com>
To: gentoo-soc@lists.gentoo.org,Gunwant Jain <therealgunwant@gmail.com>
Subject: Re: [gentoo-soc] Weekly Report: Portage Powered Android
Date: Wed, 01 Jul 2020 23:50:28 -0400 [thread overview]
Message-ID: <BN6PR03MB3378689988553FB97F605406A96D0@BN6PR03MB3378.namprd03.prod.outlook.com> (raw)
In-Reply-To: <20200701165354.4f4yyz5fuwqdqpk7@tardis.localdomain>
[-- Attachment #1: Type: text/plain, Size: 3284 bytes --]
Where is the IRC logged? I generally only catch up on my phone, and haven't been able to check the IRC after the Gitter bridge failed.
Stephen
On July 1, 2020 12:53:54 PM EDT, Gunwant Jain <therealgunwant@gmail.com> wrote:
>Thanks for your comments Pengcheng.
>
>On 20/07/01 10:07PM, Pengcheng Xu wrote:
>> It's good that you chose to get familiar with the GNU build system
>(autotools); it will save you large amounts of time when meddling with
>toolchain-related work. I would also suggest taking a look at the "GNU
>Hello" project; it serves as a genuine example of the basics for a GNU
>project, which GCC is as well. Get familiar with how to read the
>configuration and compilation logs, especially when they're littered
>with libtool calls instead of directly calling the compiler.
>
>Thanks for the tip, I will definitely look into it.
>
>> > 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.
>>
>> Just as Benda pointed out, 4.9 may be the one I chose two years ago,
>but it's not a hard requirement: most Android things should compile
>fine with any newer versions of GCC as long as the toolchain is
>correctly configured for an Android target; in many occasions even
>Clang works perfectly fine. You may try to fix the problems in the 4.9
>tree, tweak the options for the "build" compiler (gcc-9) to accept
>older, non-compliant sources, or try to find a newer version of GCC
>source tree with Android (i.e. Bionic) support. You may have better
>luck looking for such a source tree in the AOSP codebase.
>
>I agree, and I just realised that even though NDK requires gcc-4.9,
>Android 8.0 and above uses Clang for compilation. This differs from my
>days of compiling custom ROMs (pre Android 8). I am sorry for the
>confusion created with gcc, I should have known better.
>
>Let me switch to building a clang based toolchain now onwards.
>
>> And, we'd love to see a link to your weekly writeup of your efforts
>and problems encountered in greater detail. We can find out more about
>your progress and perhaps provide assistance if we can see the exact
>problem; for example, it would be helpful if you quoted or linked to
>the exact error message in the gcc build process you just mentioned.
>It's also a good idea to keep these in track for archival purposes,
>such that future contributors can have an idea of what's going on if
>they run into the same problem.
>
>I wasn't planning on keeping the logs of errors I face, but since it is
>requested, I will provide them in a new segment of "weekly blogs" now
>onwards (keeping in mind that I have switched to using clang based
>toolchains). Furthermore, I will be actively indicating the errors in
>the IRC chatroom, which is logged as well.
>
>Please let me know if you have more comments.
>
>Regards,
>Gunwant
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
[-- Attachment #2: Type: text/html, Size: 4126 bytes --]
next prev parent reply other threads:[~2020-07-02 3:50 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-29 20:12 [gentoo-soc] Weekly Report: Portage Powered Android Gunwant Jain
2020-06-29 21:27 ` EBo
2020-06-30 21:42 ` Gunwant Jain
2020-07-01 2:37 ` EBo
2020-07-01 3:15 ` Gunwant Jain
2020-07-01 12:40 ` Lucas Ramage
2020-07-01 7:17 ` Benda Xu
2020-07-01 16:12 ` Gunwant Jain
2020-07-01 14:07 ` Pengcheng Xu
2020-07-01 16:53 ` Gunwant Jain
2020-07-02 3:50 ` UnderSampled [this message]
2020-07-02 12:14 ` Gunwant Jain
-- strict thread matches above, loose matches on Subject: below --
2020-08-17 18:05 Gunwant Jain
2020-08-17 23:15 ` Benda Xu
2020-08-20 6:21 ` Gunwant Jain
2020-08-12 1:41 Gunwant Jain
2020-08-12 7:34 ` EBo
2020-08-14 7:26 ` Gunwant Jain
2020-07-30 15:00 Gunwant Jain
2020-07-20 7:40 Gunwant Jain
2020-07-24 14:08 ` Benda Xu
2020-07-24 15:02 ` Gunwant Jain
2020-07-24 17:07 ` UnderSampled
2020-07-24 18:12 ` Gunwant Jain
2020-07-25 3:00 ` Benda Xu
2020-07-25 8:02 ` Gunwant Jain
2020-07-25 8:21 ` Gunwant Jain
2020-07-13 23:09 Gunwant Jain
2020-07-14 0:17 ` Benda Xu
2020-07-14 5:01 ` Gunwant Jain
2020-07-15 1:04 ` Benda Xu
2020-07-15 1:09 ` UnderSampled
2020-07-15 4:55 ` Gunwant Jain
2020-07-15 4:45 ` Pengcheng Xu
2020-07-15 4:58 ` Gunwant Jain
2020-07-15 4:52 ` Gunwant Jain
2020-07-14 4:05 ` Pengcheng Xu
2020-07-14 5:05 ` Gunwant Jain
2020-07-08 11:39 Gunwant Jain
2020-07-08 13:53 ` Pengcheng Xu
2020-07-09 1:04 ` Benda Xu
2020-06-22 19:15 Gunwant Jain
2020-06-23 4:45 ` Pengcheng Xu
2020-06-23 11:44 ` Gunwant Jain
2020-07-01 7:14 ` Benda Xu
2020-06-15 8:03 Gunwant Jain
2020-07-01 7:10 ` Benda Xu
2020-06-09 11:39 Gunwant Jain
2020-07-01 7:08 ` Benda Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BN6PR03MB3378689988553FB97F605406A96D0@BN6PR03MB3378.namprd03.prod.outlook.com \
--to=undersampled@live.com \
--cc=gentoo-soc@lists.gentoo.org \
--cc=therealgunwant@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox