Eva GCC
135 subscribers
8 photos
16 links
Bleeding Edge Bare Metal GCC, primarily targeting Android kernels.
Download Telegram
Since GCC 10, there have been some inliner changes that led to a lot of regressions in kernel.
These are major regressions and can be noticed during actual usage.

According to @kerneltoast, increasing the instruction limit to 1000 can help overcome these regressions.

That fix didn't turn out to help me much. With @arter97's advice on restoring the GCC 9.x logic actually helped fix the regressions that I faced in my kernels.

Here are the patches that you'll need to overcome these regressions
As pointed out by @CloudedQuartz, GCC+LLD depends on libxml2.so.2, which in some cases might spam messages about the same missing.
Install the libxml2 solves this issue.
So if you're using LLD, make sure you have libxml2 installed.
Thanks to extensive testing done by @mochi_wwww, conclusion can be made that GCC performs much better than clang.

Result comparison coming up shortly.

@EvaGCC
Perftop on clang shows greater irq and cpu loads on kernel.

Compiled with Proton Clang
Courtesy of @mochi_wwww

@EvaGCC
Perftop on gcc shows balanced loads than clang

Compiled with Eva GCC
Courtesy of @mochi_wwww

@EvaGCC
Hackbench scores stay persistent with GCC while the scores are very inconsistent with clang, going all around the place.
On @mochi_wwww's test cases,
GCC usually stood in single digits around 8,9,7,9,10..
Clang couldn't stay consistent with values around 12,14,16,13,18,11...

Big shoutout to @mochi_wwww for testing out my GCC-LLD.

@EvaGCC
Forwarded from Ayan // Delta #LowRamGang
Clang
GCC (EvaGCC)

Courtesy of @CloudedQuartz
Channel name was changed to «Eva GCC»
Well.....

Coutesy of @CloudedQuartz
Join the support chat if you like
@EvaGCCSupport
GCC+LLD has been setup as a cron job, and will be built twice every week (Sundays and Thursdays, approx 5:30am IST or 0:00 UTC) from today onwards.

If you face any issues, let me know in the comments below or join my support chat.
Pretty absurd, but I wanna know..

Using my gcc, has it improved battery on your device?
Final Results
50%
Yes
50%
No
lld-integration branch has been merged into the gcc-master trunk. So if you use LLD, make sure you switch to gcc-master branch, lld-integration branch will be soon removed.

I recommend using the zip archive (~125mb) or if you use git clone, then use --depth=1 (the repository size keeps on increasing with individual updates).
Is compiling your kernel with my gcc very difficult for you?

Let me know if you need a guide for the same in the comments (which I'm guessing most of you won't need).
Final Results
64%
Yes, it's difficult
36%
Nah, it's easy
Eva GCC
Is compiling your kernel with my gcc very difficult for you?

Let me know if you need a guide for the same in the comments (which I'm guessing most of you won't need).
For those who find it difficult to use my gcc, join my support group (@EvaGCCSupport) and I'll help you when possible. Make sure you tag me in the group.
GCC Master has bumped their version to GCC 12.0.0

Eva GCC now has:
GCC version: 12.0.0
LLD version: 13.0.0

Get it from my repositories:
AArch64 (ARM64)
ARM
A 69 Member Special Edition GCC will be pushed soon.
69 Member GCC has been pushed!