yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] JustArchi:
Many. Basicly this commit gives advantages without any drawbacks, if you're just patient enough to give it some love and time.

It just needs some device-related fixes to work, if you're lucky it can be as simple as git cherry-pick.
[Android Software/Hacking General [Developers Only]] marcomarinho:
This is really good. Thanks :good:

BTW, could freezes (stop completly) be caused by this commit? Like, my device is armv7 but very very very old :p
[Android Software/Hacking General [Developers Only]] JustArchi:
I doubt that, but you can never be sure.
[Android Software/Hacking General [Developers Only]] Sir_gpm:
I just saw an app to enable or disable mods of yours commits, do you know something about?.Rom with the app I am talking.
[Android Software/Hacking General [Developers Only]] Vynikal:
Hey hey, wait a minute, I also get rare complete freezes. Coincidence? I think not! :p

Gonna take last_kmsg when it'll happen next time.
[Android Software/Hacking General [Developers Only]] big_bum:
Have anyone here built a CM version for Nexus5 with this optimizations? I'm trying to build one myself, but i have no luck and no time to see what it's wrong.

I'd appreciate if someone will share.
[Android Software/Hacking General [Developers Only]] JustArchi:
This is a fork of ArchiDroid, nothing spectacular :p.
[Android Software/Hacking General [Developers Only]] JustArchi:
Google has recently released Android NDK revision 10 with Google's GCC 4.9.

I added this toolchain to https://github.com/JustArchi/Toolchain/tree/google-4.9-arm-linux-androideabi, so if somebody wants to try Google's GCC 4.9, don't hesitate :).

PlayStore bug ALSO exists in Google's GCC 4.9, so it's GCC 4.9 which is faulty, not Linaro.

https://code.google.com/p/android/issues/detail?id=74557
[Android Software/Hacking General [Developers Only]] desalesouche:
thanks for that...

may i ask what python version you are using?

is there a way to specify python version before build?

would it be usefull to have latest python version?

does build would be stable?
[Android Software/Hacking General [Developers Only]] kidkoala_uk:
Cheers I'm compiling a AOSP build now with Google's GCC 4.9 and Linaro arm-eabi 4.9 hopefully give you some feedback if all goes well with the build :good:

Edit:Builds but doesn't boot on hammerhead stuck on google logo.
[Android Software/Hacking General [Developers Only]] BZRK49:
[MENTION=5426648]micr0g[/MENTION] has:

https://www.mediafire.com/folder/hqwjbyg8x9bd5//CM_JustArchi_SaberMod
[Android Software/Hacking General [Developers Only]] desalesouche:
gcc 4.9

builded cm11 withV3 and Google's GCC 4.9 and Linaro arm-eabi 4.9.1...all is fine...

also with sokp-kk444 rom
[Android Software/Hacking General [Developers Only]] marcomarinho:
Solved
[Android Software/Hacking General [Developers Only]] judas1977:
One quick question (i couldn't find the answer):

Is the log from compilation (whole process) stored somewhere?

Or could this be forced to store log?

I saw compilation error earlier today (something about forbidden access to "source", it says waiting for unfinished jobs [or so] as usual, but apparently finishes compilation (20+ minutes more). So i wanted to track the process of compilation to know what was that...

Thanks in advance for any suggestions...
[Android Software/Hacking General [Developers Only]] Synergy510:
I'm not sure about some default way to look at the compilation output, but here's a way to store it in a logfile:

$ brunch jflte 2>&1 | tee logfile.txt

I do this all the time so I have a record of what errors I get.
[Android Software/Hacking General [Developers Only]] desalesouche:
here is what i do...----> http://www.mediafire.com/view/27p4mxtpjlsuda6/terminal.png#

i set terminal tthat way... so i can scroll up to see all the build if i whish ( warnings, errors, etc)
[Android Software/Hacking General [Developers Only]] kidkoala_uk:
Anyone managed to get Hammerhead booting with Google's GCC 4.9
[Android Software/Hacking General [Developers Only]] pikachukaki:
Anyone building for nexus5 im really curious to test it to see how its behave!!!

i found this http://www.mediafire.com/download/9k1b39cnc1lu71r/pa_hammerhead-4.45-20140805.zip

did this play well with multirom???i dont think it may have problems with it?
[Android Software/Hacking General [Developers Only]] marcomarinho:
Why this error appeared?

/home/marco/euclidean/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: /home/marco/euclidean/out/target/product/grouper/obj/STATIC_LIBRARIES/libLLVMARMCodeGen_intermediates/libLLVMARMCodeGen.a: member at 1513382 is not an ELF object
/home/marco/euclidean/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: internal error in make_view, at /tmp/AOSP-toolchain/build/../binutils/binutils-2.23/gold/fileread.cc:462
collect2: error: ld returned 1 exit status
make: *** [/home/marco/euclidean/out/target/product/grouper/obj/SHARED_LIBRARIES/libLLVM_intermediates/LINKED/libLLVM.so] Error 1
make: *** Waiting for unfinished jobs....
[Android Software/Hacking General [Developers Only]] DerTeufel1980:
Edit: misread the error

Gesendet von meinem T0LTE mit Tapatalk 2
[Android Software/Hacking General [Developers Only]] bigsupersquid:
did you make clean and rm -rf ~/.ccache before building? a 'dirty' build throws me errors similar to that sometimes, though not exactly.
[Android Software/Hacking General [Developers Only]] marcomarinho:
After delete the ccache, do I need to make clean? I only removed the ccache and the error still :(
[Android Software/Hacking General [Developers Only]] bigsupersquid:
I'm pretty sure if you remove the ccache you need to make clean too.
[Android Software/Hacking General [Developers Only]] satyr007:
[MENTION=4811442]marcomarinho[/MENTION]

I'm pretty sure u don't have enough amount of ram, This particular lib eats like 6Gb ram, so to solve this, create swap file http://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/ Recommend 6/8Gb swap file.

Yes, make clean/clobber and clean cache.

BTW OP changed -> omnirom cherrypick. I remember I had to change many files to made omni work. Not just changing flags in specific area. At least for hammerhead.
[Android Software/Hacking General [Developers Only]] marcomarinho:
Thanks it worked :highfive:

Yes, I think that it was that problem. After deleted ccache folder and make clean I closed all open apps (Google CHrome) and then tryed to build again and it worked :good: Thanks for the tip, I already created a swap file with 6GB :victory:
[Android Software/Hacking General [Developers Only]] micr0g:
Hello

Everyone that build with linaro toolchain (4.7 also) have those graphic glitches with playstore right?

Today i tried Vanir (for Hammerhead) and is builded with Linaro 4.8.3.Everything is fine with playstore.

Does anyone know why?
[Android Software/Hacking General [Developers Only]] teemo:
Just another question. Is it confirmed by all parts, that Linaro is the problem?

I have not seen anyone question Google.

I find it strange, that one single app fail, where all other seem to work as intended.
[Android Software/Hacking General [Developers Only]] JustArchi:
https://code.google.com/p/android/issues/detail?id=74557

:rolleyes:
[Android Software/Hacking General [Developers Only]] KcLKcL:
Using 4.7 Linaro, everything is fine and stable. 20k benchmark in Nexus 4
[Android Software/Hacking General [Developers Only]] micr0g:
Hello guys!

Isn't strange that Vanir use as default toolchain for Hammerhead Linaro 4.8?No playstore glitches there!

I tried to make one CM build with exactly the same toolchain,those glitches are there.

How can be?Maybe Vanir have found the "how to fix this?"
[Android Software/Hacking General [Developers Only]] JustArchi:
Or they just use outdated playstore.

As I said, this issue is random. Usually it pops up, but I also had a build where it did not.
[Android Software/Hacking General [Developers Only]] micr0g:
I used latest gapps.

I also tried to make one (vanir) build with Linaro 4.9 the graphical glitch was there,but not with 4.8
[Android Software/Hacking General [Developers Only]] Rycon33:
^^ Ah I also may as well try Linaro 4.8 on my next compile and observe, been on sabermod for a long while already, need to try new one.?
[Android Software/Hacking General [Developers Only]] khusika:
did you use Linaro 4.8 from google?i used it too and the graphical glitch is gone, because Playstore bug has been introduces somewhere around 4.8.1-4.9.0 source

---------- Post added at 02:53 PM ---------- Previous post was at 02:42 PM ----------

what is different between Omni & Cm version?

because, i always use Omni version to build AOKP, Benstalk & Omni ROM
[Android Software/Hacking General [Developers Only]] JustArchi:
Nothing, Omni commit just adds one missing commit that exists in CM. Take a look at missing Cortex A9 entry.
[Android Software/Hacking General [Developers Only]] khusika:
ah i see, btw how to build rom/kernel using ccache? :/
[Android Software/Hacking General [Developers Only]] bigsupersquid:
export USE_CCACHE=1

in terminal, or add it to the end of your ~/.bashrc and open a new terminal to build (they'll all use ccache after adding to the ~/.bashrc)

sudo echo 'export USE_CCACHE=1' >> ~/.bashrc
[Android Software/Hacking General [Developers Only]] david makarove:
Hello bro archi

i wanna thank you for great work

Can I use it with liquid smooth

i tried CyanogenMod commit

But i get error in select.mk file

Any solution for that ?

Thanks a lot :)
[Android Software/Hacking General [Developers Only]] JustArchi:
You WILL get errors. You must resolve conflicts when cherry-picking, I can't make a commit for every available ROM. If you don't know how to resolve a conflict, check it out then.
[Android Software/Hacking General [Developers Only]] david makarove:
Okay

Gonna try and i will keep you updated

Thanks
[Android Software/Hacking General [Developers Only]] RMarkwald:
LiquidSmooth has the option already to pass flags when you build, just have to put -o3 per their site. You can also pass -d to ODEX the build as well. They use SaberMod tool chains. See here.

I've built without modding my local repo without issue for the Moto X.

https://github.com/LiquidSmooth/android

- Sent from my Moto X
[Android Software/Hacking General [Developers Only]] david makarove:
i already add that flags

But if i add that flags

So no need for archi commit ?
[Android Software/Hacking General [Developers Only]] RMarkwald:
I didn't add any of JustArchi's commits to my LiquidSmooth repo, and build using the -d -o3 flags for my Moto X just fine. I'm not 100% sure if the entire ROM is compiled against SaberMod's toolchain or just the kernel, but it runs great using those two flags. I usually build using this:

./build-liquid.sh -c3 -d -p -o3 moto_msm8960dt
[Android Software/Hacking General [Developers Only]] david makarove:
yup me too use same flags already

And my ROM is now one of fastest kk roms for xperia l :)

and yes it use sabermod 4.8 to compile the ROM and sabermod 4.7 to compile the kernel

Thanks !!
[Android Software/Hacking General [Developers Only]] marcomarinho:
target SharedLib: libm (/home/marinho/euclidean/out/target/product/grouper/obj/SHARED_LIBRARIES/libm_intermediates/LINKED/libm.so)
Copy: /home/marinho/euclidean/out/target/product/grouper/system/lib/libc.so
/home/marinho/euclidean/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: /home/marinho/euclidean/out/target/product/grouper/obj/STATIC_LIBRARIES/libm_intermediates/libm.a(s_cos.o): multiple definition of 'cos'
/home/marinho/euclidean/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: /home/marinho/euclidean/out/target/product/grouper/obj/STATIC_LIBRARIES/libm_intermediates/libm.a(s_cos.o): previous definition here
/home/marinho/euclidean/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: /home/marinho/euclidean/out/target/product/grouper/obj/STATIC_LIBRARIES/libm_intermediates/libm.a(s_sin.o): multiple definition of 'sin'
/home/marinho/euclidean/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: /home/marinho/euclidean/out/target/product/grouper/obj/STATIC_LIBRARIES/libm_intermediates/libm.a(s_sin.o): previous definition here
/home/marinho/euclidean/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: /home/marinho/euclidean/out/target/product/grouper/obj/STATIC_LIBRARIES/libm_intermediates/libm.a(e_sqrtf.o): multiple definition of 'sqrtf'
/home/marinho/euclidean/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: /home/marinho/euclidean/out/target/product/grouper/obj/STATIC_LIBRARIES/libm_intermediates/libm.a(e_sqrtf.o): previous definition here
/home/marinho/euclidean/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: /home/marinho/euclidean/out/target/product/grouper/obj/STATIC_LIBRARIES/libm_intermediates/libm.a(e_sqrt.o): multiple definition of 'sqrt'
/home/marinho/euclidean/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: /home/marinho/euclidean/out/target/product/grouper/obj/STATIC_LIBRARIES/libm_intermediates/libm.a(e_sqrt.o): previous definition here
collect2: error: ld returned 1 exit status
build/core/shared_library.mk:81: recipe for target '/home/marinho/euclidean/out/target/product/grouper/obj/SHARED_LIBRARIES/libm_intermediates/LINKED/libm.so' failed
make: *** [/home/marinho/euclidean/out/target/product/grouper/obj/SHARED_LIBRARIES/libm_intermediates/LINKED/libm.so] Error 1
make: *** Waiting for unfinished jobs....

Total time elapsed: 116 minutes (6967.715944566 seconds)

I think I found the solution, let's see :p
[Android Software/Hacking General [Developers Only]] desalesouche:
please could you provide the fix...it might be usefull for others devs...thank you

i have same kind of error but with another lib when compiling liquid rom
[Android Software/Hacking General [Developers Only]] marcomarinho:
This happens due a dirty compile. All you need to do is this:

make clean
rm -rf ~/.ccache

Thanks to [MENTION=2980661]bigsupersquid[/MENTION]
[Android Software/Hacking General [Developers Only]] Fred6681:
Hello,

JustArchi's optimizations, ok for linaro 4.10 ? --> http://xdaforums.com/showpost.php?p=54280659&postcount=1269

Anyone have tested ?
[Android Software/Hacking General [Developers Only]] 95A31:
Someone have solution for this?

http://xdaforums.com/showpost.php?p=52865615&postcount=171
[Android Software/Hacking General [Developers Only]] frap129:
Just a noob question. Is arm-linux-androideabi used to compile the rom or the kernel? and arm-eabi? Also [MENTION=5161352]JustArchi[/MENTION] Is your version of Linaro 4.9 stable for building either? I noticed a commit on your android_build repo that made the switch.
[Android Software/Hacking General [Developers Only]] satyr007:
[MENTION=5265970]95A31[/MENTION]

Use sabermod toolchain instead of linaro. I advise 4.8.4
[Android Software/Hacking General [Developers Only]] ne0zone75:
FYI [MENTION=5105835]Cl3Kener[/MENTION] one, AKA UBERUTILS toolchain is working really well with [MENTION=5161352]JustArchi[/MENTION] optimizations v3 : it comes in four flavours : from GCC 4.7 to 4.10 ! :cowboy: :cool: ;)

I am porting SlimKAT on several devices with it and users are happy ! (GCC 4.8 for both kernel + ROM)

Regards

NB : It does not have the 'Play Store' bug...

Tapatalked from my TF701T
[Android Software/Hacking General [Developers Only]] JustArchi:
Play store bug is upstream GCC problem, even Google's GCC 4.9 has this problem, so either SaberMod has a dedicated fix for that, which I doubt, or it doesn't have all upstream GCC patches.
[Android Software/Hacking General [Developers Only]] frap129:
His don't have the bug because (as he mentioned) he is using the 4.8. I'd assume the 4.9 would have it.
[Android Software/Hacking General [Developers Only]] ne0zone75:
Well, what i do know is that 'Official Linaro' [from www.linaro.org] toolchain has broken GCC 4.8 (ROM) OOTB because it has the 'PS' bug; it is the same for 'Google' toolchain...

while

'SaberMod' toolchain is clean of it OOTB (with it i am able to build a ROM with GCC 4.7 [kernel] and GCC 4.8 [ROM]). (no bug and downsides)

Anyway, UBERUTILS vs. SaberMod : when using UU toolchain, i can build a ROM using GCC 4.8 for both kernel + ROM (against 4.7 [4.8 gives build errors for kernel...] / 4.8 for SaberMod) without almost any downsides and no bug...

Is it still GCC 4.8 for both kernel + ROM that you do recommend to use when your v3 optimizations are applied ?

Finally, [MENTION=5161352]JustArchi[/MENTION], let me thank you a lot for your work, it is really a piece of art...,

Kind regards

Tapatalked from my TF701T

PS : never tried GCC 4.9 -> are benefits real over 4.8 ? Thanks
[Android Software/Hacking General [Developers Only]] JustArchi:
This bug has been introduced somewhere around 4.8.1 <-> 4.8.4. When using Google's 4.8(.0) toolchain it's working fine as well. But at the moment all 4.9+ toolchains have this bug.
[Android Software/Hacking General [Developers Only]] marcomarinho:
target SharedLib: libm (/home/marinho/euclidean/out/target/product/grouper/obj/SHARED_LIBRARIES/libm_intermediates/LINKED/libm.so)
Copy: /home/marinho/euclidean/out/target/product/grouper/system/lib/libc.so
/home/marinho/euclidean/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: /home/marinho/euclidean/out/target/product/grouper/obj/STATIC_LIBRARIES/libm_intermediates/libm.a(s_cos.o): multiple definition of 'cos'
/home/marinho/euclidean/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: /home/marinho/euclidean/out/target/product/grouper/obj/STATIC_LIBRARIES/libm_intermediates/libm.a(s_cos.o): previous definition here
/home/marinho/euclidean/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: /home/marinho/euclidean/out/target/product/grouper/obj/STATIC_LIBRARIES/libm_intermediates/libm.a(s_sin.o): multiple definition of 'sin'
/home/marinho/euclidean/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: /home/marinho/euclidean/out/target/product/grouper/obj/STATIC_LIBRARIES/libm_intermediates/libm.a(s_sin.o): previous definition here
/home/marinho/euclidean/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: /home/marinho/euclidean/out/target/product/grouper/obj/STATIC_LIBRARIES/libm_intermediates/libm.a(e_sqrtf.o): multiple definition of 'sqrtf'
/home/marinho/euclidean/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: /home/marinho/euclidean/out/target/product/grouper/obj/STATIC_LIBRARIES/libm_intermediates/libm.a(e_sqrtf.o): previous definition here
/home/marinho/euclidean/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: /home/marinho/euclidean/out/target/product/grouper/obj/STATIC_LIBRARIES/libm_intermediates/libm.a(e_sqrt.o): multiple definition of 'sqrt'
/home/marinho/euclidean/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: /home/marinho/euclidean/out/target/product/grouper/obj/STATIC_LIBRARIES/libm_intermediates/libm.a(e_sqrt.o): previous definition here
collect2: error: ld returned 1 exit status
build/core/shared_library.mk:81: recipe for target '/home/marinho/euclidean/out/target/product/grouper/obj/SHARED_LIBRARIES/libm_intermediates/LINKED/libm.so' failed
make: *** [/home/marinho/euclidean/out/target/product/grouper/obj/SHARED_LIBRARIES/libm_intermediates/LINKED/libm.so] Error 1
make: *** Waiting for unfinished jobs....

Already tryed everything, really everything, but didn't found any solution :crying: Anyone? :fingers-crossed:
[Android Software/Hacking General [Developers Only]] JustArchi:
Undefined references are usually caused by improper inlining.

Adding -Os to affected project usually helps. Example: https://github.com/JustArchi/androi...mmit/c4ce40c77481f269f997935e31475da553d5fbe5
[Android Software/Hacking General [Developers Only]] frap129:
Thanks! I'll try that tomorrow when I have more time.
[Android Software/Hacking General [Developers Only]] marcomarinho:
[MENTION=5051294]frap129[/MENTION] I think isn't toolchain problem. I used the GCC 4.8 (the one which [MENTION=5161352]JustArchi[/MENTION] recommended) and I got that problem. Then I tryed to switch to SaberMod 4.8 and the error wasn't gone :crying:

> Random, non-reproducible segmentation faults during compile are usually a
> hardware issue (e.g. CPU overheating).

Could be that the problem?
[Android Software/Hacking General [Developers Only]] bigsupersquid:
I've read that insufficient memory can do it too.

You can increase your swap file size if you can't add more physical RAM (preferred).
[Android Software/Hacking General [Developers Only]] marcomarinho:
But I already did that. I created a 8,6G of swap file size, but the error still :crying: I really don't know how to do it. I already installed a new os (now I'm using Ubuntu 14.04 LTS), created swap file, changed the toolchain, but nothing helps :(
[Android Software/Hacking General [Developers Only]] bigsupersquid:
the specific post I refer to says 16GB but I can't find it right now. 8 isn't very much these days. If you don't have much physical RAM you may need even more swap than that.
[Android Software/Hacking General [Developers Only]] marcomarinho:
I had 4GB of RAM on my PC? Isn't enough?
[Android Software/Hacking General [Developers Only]] shoey63:
Need at least 8gb, plus another 8 swap (which in itself is a poor substitute for extra ram)
[Android Software/Hacking General [Developers Only]] marcomarinho:
wtf? :o I think I will bought a 8b of ram :p

But the strange think is that I already built a CM rom with a 2 or 3 gb of ram on a PC with Intel dual-core :p

BTW: anyone know how to increase the swap file I created?
[Android Software/Hacking General [Developers Only]] shoey63:
Yes, sorry that maybe possible. Building toolchains is the real ram killer 20 gb + (including swap) :p - but you won't need to do that, plenty of prebuilts out there:thumbup:
[Android Software/Hacking General [Developers Only]] bigsupersquid:
I built cm7 on a single-core 2GHz with 512MB RAM :P

but it took the whole overnight. I can't imagine how long cm11 would take even if you gimped that system full of storage.

try using gparted to resize.
[Android Software/Hacking General [Developers Only]] KcLKcL:
I build CM11 on my laptop with i3 & 8GB RAM + 8GB swap without problem, only when using 4.7 toolchains though. Can't build kernel with >=4.8 lol

Also it takes like 3-4 hours
[Android Software/Hacking General [Developers Only]] marcomarinho:
Only 3-4 hours? :o

I had an laptop with i5 & 4GB of RAM + 17GB swap and hope that this is sufficient for compile :p Also with 8GB of swap it took me 5-6 hours :/ or even more
[Android Software/Hacking General [Developers Only]] bigsupersquid:
for comparison, on desktop with 16GB RAM and 16GB swap, cm11 builds in about one hour (at default optimization level.)

with these -o3 optimizations, takes closer to an hour and three quarters. about 50% longer for me.