[TOOLCHAIN][GCC][LINUX][GPL] SaberMod - arm/arm64

Status
Not open for further replies.

sparksco

Inactive Recognized Developer
Feb 27, 2010
10,048
8,861
0
docs.google.com

As many of you know, SaberMod has been in this community for several years now, and has quite a good standing amongst developers. This will greatly improve performance and overall speed of a ROM and or kernel, as well as battery life in most cases. This will be a place for developers to compile and use their own SaberMod toolchains. And also post their own builds here for others to use if they wish. It should be noted that most of these operations will require root access in a Linux terminal in order to install required packages. If you report issues with kernel building with very limited information, do not expect help. Expected information. Kernel source and logcat at a minimum. We compile kernels for devices we have and that is all. So chances are, if it's not a device we have or build for, your post will go ignored.

With that said, I will keep this short and sweet.

For full instructions, system requirements and setup, see the README located on our source hosting website.

What makes these toolchains unique?
This is something I'd rather leave up to the developers who use these to answer for us. So please let us know!

Where can I get these toolchains?

All of the prebuilt toolchains can be found on sabermod site
However this thread will be mainly for compiling and using the toolchains you've compiled yourself. If you really want to use the ones we compile, create a account on gitlab and use git clone with ssh instead of https (https has issues currently that gitlab is working on) to download the toolchains.

How can I use these toolchains?

Reference this post
Or see other ROM sources on SaberLab

Our G+ sister site community

Contributors
sparksco, joshuabg, frap129 AOSP, GNU.
GPL SaberMod
 
Last edited:

frap129

Inactive Recognized Developer
Jan 6, 2013
1,392
4,116
0
Reserved

Reserved
EDIT: Just something quick to add to OP on compiling toolchains, an extra flag you can add to gcc configure in the buildscript is --with-cpu=cortex-(your variant here). For example, most modern qualcomm devices will benefit from --with-cpu=cortex-a15
 
Last edited:

Xileforce

Senior Member
Feb 27, 2012
3,057
3,125
0
Well the goal is for people to learn how they can compile SaberMod toolchains to use in their ROMs/kernels. But also for general support and questions for using in the ROMs/kernels.
I may end up attempting a compile of my own SM TC one of these days. Ill definitely be lurking around and attempting to learn

---------- Post added at 05:36 PM ---------- Previous post was at 05:02 PM ----------

By the way does the 5.0 source you have on gitlab include the PThreads fix?
 

sparksco

Inactive Recognized Developer
Feb 27, 2010
10,048
8,861
0
docs.google.com
I may end up attempting a compile of my own SM TC one of these days. Ill definitely be lurking around and attempting to learn

---------- Post added at 05:36 PM ---------- Previous post was at 05:02 PM ----------

By the way does the 5.0 source you have on gitlab include the PThreads fix?
No. I'm uploading a test arm-eabi-5.0 for now. Source will come at a later time once we know everything works OK. It worked OK for me except I couldn't use graphite in conjunction with pthreads.
 

Xileforce

Senior Member
Feb 27, 2012
3,057
3,125
0
Yeah sorry about that I'm so used to pushing to master branch.. Are you using git clone or git fetch? The default branch is master. So if you use git clone make sure to add -b test on the end. For git fetch just adding test on the end should do.
im confused its only showing 1 branch for arm-eabi 5.0
 

Xileforce

Senior Member
Feb 27, 2012
3,057
3,125
0
Well for ssh you have to make a gitlab account and add your ssh keys to your account profile just like github.
dam I am such a noob. Thanks its already done :p. I never use ssh.

---------- Post added at 12:42 AM ---------- Previous post was at 12:13 AM ----------

Gah! I'm trying to remove all the graphite stuff...and I thought i did but its still erroring. May have to look again in the morning when I can hop on PC. Doing this thru teamviewer on phone is tedious to say the least lol
 

sparksco

Inactive Recognized Developer
Feb 27, 2010
10,048
8,861
0
docs.google.com
dam I am such a noob. Thanks its already done :p. I never use ssh.

---------- Post added at 12:42 AM ---------- Previous post was at 12:13 AM ----------

Gah! I'm trying to remove all the graphite stuff...and I thought i did but its still erroring. May have to look again in the morning when I can hop on PC. Doing this thru teamviewer on phone is tedious to say the least lol
So your getting the same errors? Must be gcc 5.0 that can't handle both at the same time. If you want tomorrow I'll upload a test gcc 4.9 version. maybe the bugs in gcc 5.0 will get fixed eventually from gnu.
 
  • Like
Reactions: Xileforce

Xileforce

Senior Member
Feb 27, 2012
3,057
3,125
0
So your getting the same errors? Must be gcc 5.0 that can't handle both at the same time. If you want tomorrow I'll upload a test gcc 4.9 version. maybe the bugs in gcc 5.0 will get fixed eventually from gnu.
No worries. I'll keep trying to get this working. Just gotta find wherever the last of my graphite flags are hiding :p is GCC 5 a noticeable performance improvement over GCC 4.9.3?
 
Status
Not open for further replies.