yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] deepongi:
i've tried, but seems theres a problem compiling with some thumb instruction and libGLESv2_intermediates/GLES2/gl2.o (that seems doesnt exist on hammerhead)

http://pastebin.com/pKp55s3z

my sirius make file "sm_sirius.mk" on sabermod products :

# Find host os
UNAME := $(shell uname -s)

ifeq ($(strip $(UNAME)),Linux)
HOST_OS := linux
endif

# Only use these compilers on linux host.
ifeq ($(strip $(HOST_OS)),linux)

# Sabermod configs
SIRIUS_THREADS := 4
PRODUCT_THREADS := $(SIRIUS_THREADS)
ENABLE_STRICT_ALIASING := true
export ENABLE_PTHREAD := false

GRAPHITE_KERNEL_FLAGS := \
-floop-parallelize-all \
-ftree-parallelize-loops=$(PRODUCT_THREADS) \
-fopenmp
endif

# General flags for gcc 4.9 to allow compilation to complete.
MAYBE_UNINITIALIZED := \
hwcomposer.msm8974

# Extra SaberMod GCC C flags for arch target and Kernel
export EXTRA_SABERMOD_GCC_VECTORIZE_CFLAGS := \
-ftree-vectorize \
-mvectorize-with-neon-quad

ifeq ($(strip $(ENABLE_STRICT_ALIASING)),true)
# strict-aliasing kernel flags
export KERNEL_STRICT_FLAGS := \
-fstrict-aliasing \
-Werror=strict-aliasing

# Enable strict-aliasing kernel flags
export CONFIG_MACH_MSM8974_SIRIUS_STRICT_ALIASING := y
LOCAL_DISABLE_STRICT_ALIASING := \
libmmcamera_interface
endif

i added this to the buttom of "clear_vars.mk" :

ifeq (%sirius,$(TARGET_PRODUCT))
$(shell unset CONFIG_MACH_MSM8974_SIRIUS_STRICT_ALIASING)
endif

and this to "sm_products.mk" :

ifneq ($(filter %sirius,$(TARGET_PRODUCT)),)
include $(SM_VENDOR)/products/sm_sirius.mk
endif

and OFC, the BoardConfigCommon.mk:

# Inherite sabermod vendor
SM_VENDOR := vendor/sm
include $(SM_VENDOR)/Main.mk

seems all is ok, but i dont have any idea ATM for that thumb error.

how can i remove that "libGLESv2_intermediates" from the optimizations, or is there a better workaround?
[Android Software/Hacking General [Developers Only]] deepongi:
and now i am getting this, with fresh compiled toolchains (today):

Import includes file: /home/infected_/Output/cyan_12/target/product/sirius/obj/STATIC_LIBRARIES/libc_aeabi_intermediates/import_includes
Import includes file: /home/infected_/Output/cyan_12/target/product/sirius/obj/STATIC_LIBRARIES/libc_bionic_intermediates/import_includes
Import includes file: /home/infected_/Output/cyan_12/target/product/sirius/obj/STATIC_LIBRARIES/libc_cxa_intermediates/import_includes
Import includes file: /home/infected_/Output/cyan_12/target/product/sirius/obj/STATIC_LIBRARIES/libc_dns_intermediates/import_includes
/mnt/Building/cyan_12/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/../libexec/gcc/arm-linux-androideabi/4.9.x-sabermod/cc1/mnt/Building/cyan_12/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/../libexec/gcc/arm-linux-androideabi/4.9.x-sabermod/cc1: : error while loading shared libraries: libmpfr.so.6: cannot open shared object file: No such file or directory
error while loading shared libraries: libmpfr.so.6: cannot open shared object file: No such file or directory
make: *** [/home/infected_/Output/cyan_12/target/product/sirius/obj/lib/crtbrand.s] Error 1
make: *** Waiting for unfinished jobs....

ive tried all mpfr related packages and even manually installed. same error.

edit: reverted to sabermod build from 20150511 and all good again.
[Android Software/Hacking General [Developers Only]] gchild320:
Getting this as well
[Android Software/Hacking General [Developers Only]] shoey63:
Me too

error while loading shared libraries: libmpfr.so.6: cannot open shared object file: No such file or directory
make: ***
[Android Software/Hacking General [Developers Only]] deepongi:
[MENTION=2394329]sparksco[/MENTION], come here mate... lol. what have you done to the toolchain? :P
[Android Software/Hacking General [Developers Only]] sparksco:
Install this with

sudo dpkg -i -f sabermod-prebuilts_20150520-1_all.deb

https://drive.google.com/file/d/0B_2zUpuXOjCXeld1OGlULXhjeXM/view
[Android Software/Hacking General [Developers Only]] deepongi:
It did the trick, but the installation needs to be:

sudo dpkg -i --force-all sabermod-prebuilts_20150520-1_all.deb
[Android Software/Hacking General [Developers Only]] sparksco:
That's what I said the second time :p

Edit: Doesn't -f force the install already?
[Android Software/Hacking General [Developers Only]] deepongi:
the -f alone no, but if you do --force you have more force options, you have to give also the -all command to apply them all.

anyway, its solved. thanks! :highfive:
[Android Software/Hacking General [Developers Only]] Men_in_black007:
Hello Guys!

Need Some Help :)

Can You Tell Me Where To Place aarch64-5.1-04292015.

I Know The Place For aarch64-linux-android-4.9 But Not For aarch64-5.1-04292015.
[Android Software/Hacking General [Developers Only]] Hashbang173:
It should go in:

prebuilts/gcc/linux-x86/aarch64/aarch64-5.1
[Android Software/Hacking General [Developers Only]] Men_in_black007:
[MENTION=4630246]joshuabg[/MENTION] Thanks.

Do I Need To Define or Anything In Build Repo?
[Android Software/Hacking General [Developers Only]] Hashbang173:
What ROM is this for?
[Android Software/Hacking General [Developers Only]] Men_in_black007:
CM , AOSPA-L

Also One Last Question : Are These Uploaded on Github?

Thanks!
[Android Software/Hacking General [Developers Only]] Hashbang173:
Well for cm, I would try cherrypicking these 4 commits in build:

https://github.com/SMAICP/build/commit/008a04ea5f59d8760ea953805d803e772f49d7ee

https://github.com/SMAICP/build/commit/06fb25618f9f17dfb80ae14bde4e4b62d0d0ba7d

https://github.com/SMAICP/build/commit/b0fce4e28b9326f3f5cd6ba47d15677eaa389e53

https://github.com/SMAICP/build/commit/986cc1b21b6f4771d1941594e89dc6e06cae9f18

You will also need to add these three lines into vendor/cm/config/common.mk

In addition, you will also need to track (via git clone or local manifest) this repo to vendor/sm
[Android Software/Hacking General [Developers Only]] sparksco:
SaberMod Optimizations V5 is out. See android repos on SaberLab

And

SaberHub

All prebuilt toolchains for downloading are available on saber com

Things are very simple now. Works for any ROM. Only need to make sure your device is in vendor/sm/products.

For AOSP based vendor

https://gitlab.com/SaberMod/android-vendor-pa/commit/281546bdc770f95b2183309636a4e4dea73add71

For CM based vendor

https://gitlab.com/SaberMod/android-vendor-slim/commits/sm-lp1

Adding a device

https://gitlab.com/SaberMod/android-vendor-sabermod/commit/f3b9dd6f2f29e169ccca5fd3b1035ade34a06acb

For AOSP based build

https://gitlab.com/SaberMod/pa-android-build/commits/lp-mr1

For CM based build

https://gitlab.com/SaberMod/slim-android-build/commits/sm-lp1

Make sure you have this toolchain from google.

https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/

OP updated
[Android Software/Hacking General [Developers Only]] deepongi:
wow..! ohh yeah... now im gonna have fun !! :cowboy:

edit:

here we go ...!

=====================================================================
TARGET_SABERMOD_ANDROID_GCC_VERSION=4.9.x-sabermod
TARGET_SABERMOD_KERNEL_GCC_VERSION=4.9.x-sabermod
OPTIMIZATION_OPTIONS=(graphite)(max)(extra)(saber-mode)(memory-sanitizer)(OpenMP)
===============================================================

edit #2

damn it..!

target arm C: libft2 <= external/freetype/src/raster/raster.c
target arm C: libft2 <= external/freetype/src/sfnt/sfnt.c
target arm C: libft2 <= external/freetype/src/smooth/smooth.c
target arm C: libft2 <= external/freetype/src/autofit/autofit.c
target arm C: libft2 <= external/freetype/src/truetype/truetype.c
target arm C: libft2 <= external/freetype/src/cff/cff.c
target arm C: libft2 <= external/freetype/src/psnames/psnames.c
target arm C: libft2 <= external/freetype/src/pshinter/pshinter.c
target asm: libpng <= external/libpng/arm/filter_neon.S
target arm C: libpng <= external/libpng/png.c
target arm C: libpng <= external/libpng/pngerror.c
arm-linux-androideabi-gcc: error: unrecognized command line option '-fno-slp-vectorize'
make: *** [/home/infected_/Output/cyan_12/target/product/sirius/obj/SHARED_LIBRARIES/libpng_intermediates/png.o] Error 1
make: *** Waiting for unfinished jobs....
arm-linux-androideabi-gcc: error: unrecognized command line option '-fno-slp-vectorize'
make: *** [/home/infected_/Output/cyan_12/target/product/sirius/obj/SHARED_LIBRARIES/libpng_intermediates/pngerror.o] Error 1
make: *** wait: No child processes. Stop.

#### make failed to build some targets (03:12 (mm:ss)) ####

[MENTION=2394329]sparksco[/MENTION] sabermod doesnt recognize -fno-slp-vectorize ? or whats the catch here?
[Android Software/Hacking General [Developers Only]] sparksco:
You need libpng from gitlab
[Android Software/Hacking General [Developers Only]] deepongi:
done!

Package Complete: /home/infected_/Output/cyan_12/target/product/sirius/cm-12.1-20150525-INFECTED-sirius.zip

#### make completed successfully (01:02:52 (hh:mm:ss)) ####

my builds grew from 296MB to 314MB, and instead of taking 16m to build, it toke 1h (first saberized build) .. :D

now going to roll this "koenigsegg build" for a few days to see how it will behave.

many thanks for your work into this [MENTION=2394329]sparksco[/MENTION] !

edit:

hmm.. seems theres also a issue with a flag, -fsanitize=leak, using sabermod 4.8 for both rom and kernel code.

target asm: libc_bionic <= bionic/libc/arch-arm/bionic/__bionic_clone.S
target asm: libc_bionic <= bionic/libc/arch-arm/bionic/_exit_with_stack_teardown.S
target asm: libc_bionic <= bionic/libc/arch-arm/bionic/memcmp.S
target asm: libc_bionic <= bionic/libc/arch-arm/bionic/__restore.S
arm-linux-androideabi-gcc: error: unrecognized command line option '-fsanitize=leak'
make: *** [/home/infected_/Output/cyan_12/target/product/v500/obj/STATIC_LIBRARIES/libc_aeabi_intermediates/arch-arm/bionic/__aeabi.o] Error 1
make: *** Waiting for unfinished jobs...

edit #2:

yep, its only 4.8. using 4.9 the error is gone, but i think my device (v500) wont boot, or it never did compiled with 4.9 .. going to see.
[Android Software/Hacking General [Developers Only]] sparksco:
About 4.9 for the ROM it should boot fine because arm mode fixes bugs with no boot.

I'm also getting more strict-aliasing errors with vendor/sm. Guess I'll have to update that.
[Android Software/Hacking General [Developers Only]] deepongi:
nah.. got no luck with 4.9 on v500 .. device boots, but CM logo "pulses" 3x and then reboot.

if i remove the flag causing it:

ifdef LOCAL_CONLYFLAGS
LOCAL_CONLYFLAGS += -fsanitize=leak
else
LOCAL_CONLYFLAGS := -fsanitize=leak
endif

i get this:

INSTALL include/drm (16 files)
INSTALL include/media (7 files)
INSTALL include/linux/byteorder (2 files)
INSTALL include/linux/caif (2 files)
/tmp/ccglEtqo.s: Assembler messages:
/tmp/ccglEtqo.s:524: Error: can't resolve `.rodata' {.rodata section} - `.LPIC20' {*UND* section}
make: *** [/home/infected_/Output/cyan_12/target/product/v500/obj/STATIC_LIBRARIES/libminshacrypt_intermediates/sha256.o] Error 1
make: *** Waiting for unfinished jobs....

not sure if its related to the flags or the fact im using 4.8...
[Android Software/Hacking General [Developers Only]] kogone:
is this same as doing

sudo cp -R sm-prebuilts-master/cloog/lib/* -f /usr/lib/x86_64-linux-gnu

from the manifest instructions?
[Android Software/Hacking General [Developers Only]] xanaxdroid:
Sorta but you'd be missing libmpfr.6 and 6.0.0

Edit: you could always open the deb with file-roller and extract that way.
[Android Software/Hacking General [Developers Only]] deepongi:
export DISABLE_SANITIZE_LEAK := $(filter 4.8.x-sabermod,$(SM_AND))

^^ this fixed the issue with the sanitize flag on 4.8, but i keep getting this error using 4.8:

target thumb C: libmincrypt <= system/core/libmincrypt/dsa_sig.c
target thumb C: libmincrypt <= system/core/libmincrypt/p256.c
target thumb C: libmincrypt <= system/core/libmincrypt/p256_ec.c
target thumb C: libmincrypt <= system/core/libmincrypt/p256_ecdsa.c
target thumb C: libmincrypt <= system/core/libmincrypt/rsa.c
target thumb C: libmincrypt <= system/core/libmincrypt/sha.c
/tmp/ccyB3goI.s: Assembler messages:
/tmp/ccyB3goI.s:524: Error: can't resolve `.rodata' {.rodata section} - `.LPIC20' {*UND* section}
make: *** [/home/infected_/Output/cyan_12/target/product/v500/obj/STATIC_LIBRARIES/libminshacrypt_intermediates/sha256.o] Error 1
make: *** Waiting for unfinished jobs....
target thumb C: libmincrypt <= system/core/libmincrypt/sha256.c

#### make failed to build some targets (01:17 (mm:ss)) ####
[Android Software/Hacking General [Developers Only]] kogone:
that'd be too easy to just have it fixed automatically ! :p

searched with

find / -iname libmpfr.so

returned

$HOME/toolchains/sm-tc/build/mpfr-gnu/src/.libs/libmpfr.so
$HOME/toolchains/sm-tc/build/temp-install/lib/libmpfr.so
$HOME/rom/cancro/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/lib/libmpfr.so
$HOME/tmp/arm-linux-androideabi-4.9/lib/libmpfr.so
/usr/lib/x86_64-linux-gnu/libmpfr.so

added this to my .bashrc:

export LD_LIBRARY_PATH=$HOME/cancro/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/lib/

did i choose wisely? maybe this was too specific..
[Android Software/Hacking General [Developers Only]] deepongi:
why go to all that, if you can just use dpkg command? waste of time.. :)
[Android Software/Hacking General [Developers Only]] deepongi:
ever heard of "time is money" also? :P
[Android Software/Hacking General [Developers Only]] sparksco:
Seems like a harder way yes :p
[Android Software/Hacking General [Developers Only]] kogone:
so the missing libmpfr.6 & libmpfr.so.6.0.0 files reside in the toolchain, but it can be accessed system wide by moving to /usr/bin/x86_64-linux-gnu/

thanks for staying with me on this!

:highfive::highfive:
[Android Software/Hacking General [Developers Only]] sparksco:
The libs are host libs not toolchains libs. But yeah they are included in the toolchain for easier access.
[Android Software/Hacking General [Developers Only]] sparksco:
Just so you guys know. Gcc 4.9 is default for ROM and kernel with vendor sabermod in a ROM. Works OK for me. If it doesn't work for some reason, feel free to add it to vendor/sm/device/sm_yourdevice.mk

And put this is in it.

TARGET_SM_AND := 4.8

TARGET_SM_KERNEL := 4.9
[Android Software/Hacking General [Developers Only]] kenzolo:
any help ?

device/samsung/smdk4412-common/camera/exynos_camera.c: In function 'exynos_camera_release_recording_frame':
device/samsung/smdk4412-common/camera/exynos_camera.c:3492:14: warning: unused parameter 'opaque' [-Wunused-parameter]
const void *opaque)
^
isl_constraint.c:625: expecting integer value
device/samsung/smdk4412-common/camera/exynos_camera.c: In function 's5c73m3_interleaved_decode':
device/samsung/smdk4412-common/camera/exynos_camera.c:1295:5: internal compiler error: Aborted
int s5c73m3_interleaved_decode(struct exynos_camera *exynos_camera, void *data, int size,
^
0x7757ff crash_signal
../.././../gcc/gcc-SaberMod/gcc/toplev.c:337
0xbbc271 build_linearized_memory_access
../.././../gcc/gcc-SaberMod/gcc/graphite-interchange.c:114
0xbbc271 pdr_stride_in_loop
../.././../gcc/gcc-SaberMod/gcc/graphite-interchange.c:200
0xbbc271 memory_strides_in_loop_1
../.././../gcc/gcc-SaberMod/gcc/graphite-interchange.c:286
0xbc75ba lst_interchange_profitable_p
../.././../gcc/gcc-SaberMod/gcc/graphite-interchange.c:403
0xbc75ba lst_try_interchange_loops
../.././../gcc/gcc-SaberMod/gcc/graphite-interchange.c:540
0xbc75ba lst_interchange_select_inner
../.././../gcc/gcc-SaberMod/gcc/graphite-interchange.c:603
0xbca390 lst_interchange_select_outer
../.././../gcc/gcc-SaberMod/gcc/graphite-interchange.c:629
0xbca3f2 lst_interchange_select_outer
../.././../gcc/gcc-SaberMod/gcc/graphite-interchange.c:639
0xbca43b scop_do_interchange(scop*)
../.././../gcc/gcc-SaberMod/gcc/graphite-interchange.c:651
0xbbb4a9 scop_do_block(scop*)
../.././../gcc/gcc-SaberMod/gcc/graphite-blocking.c:265
0xb39527 apply_poly_transforms(scop*)
../.././../gcc/gcc-SaberMod/gcc/graphite-poly.c:256
0xb33544 graphite_transform_loops()
../.././../gcc/gcc-SaberMod/gcc/graphite.c:322
0xb33a16 graphite_transforms
../.././../gcc/gcc-SaberMod/gcc/graphite.c:358
0xb33a16 execute
../.././../gcc/gcc-SaberMod/gcc/graphite.c:442
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <mailto:sabermod.team@gmail.com> for instructions.
target asm: libavcodec <= external/ffmpeg/libavcodec/arm/rdft_neon.S
target asm: libavcodec <= external/ffmpeg/libavcodec/arm/rv34dsp_neon.S
make: *** [/media/kenzolo/velo/aicp5.1/out/target/product/i9300/obj/SHARED_LIBRARIES/camera.smdk4x12_intermediates/exynos_camera.o] Errore 1
make: *** Attesa per i processi non terminati....
[Android Software/Hacking General [Developers Only]] deepongi:
are you OCing your CPU to compile? is your setup stable?
[Android Software/Hacking General [Developers Only]] kenzolo:
no problem on my setup, I'm trying to compile rom for i9300, this is my sm_i9300.mk

# SaberMod

LOCAL_ARCH := arm

TARGET_SM_AND := 4.9

TARGET_SM_KERNEL := 4.8

ENABLE_PTHREAD := false

O3_OPTIMIZATIONS := true

I tried also using 4.8 toolchain for rom...same issue

ps no problem compiling same rom for bacon oneplus
[Android Software/Hacking General [Developers Only]] DSA:
edit
[Android Software/Hacking General [Developers Only]] kogone:
when i download sm_arm-linux-androideabi-4.8 from bitbucket, the arch-arm/ directory is present.

when i build sm_arm-linux-androideabi-4.8, arch-arm/ is absent and the build halts because it wants to know where arch-arm is.

where should i get arch-arm from in the source from gitlab?
[Android Software/Hacking General [Developers Only]] deepongi:
wut? :confused:

the arch-arm directory doesn't shows up anymore since the 20150411 of it, and the toolchain compile just fine.... checked a batch of tools made since February.
[Android Software/Hacking General [Developers Only]] kenzolo:
[MENTION=1077833]infected_[/MENTION]

;) let me know if you find the solution
[Android Software/Hacking General [Developers Only]] kogone:
but if i search for arch-arm it doesn't show up like when you search.

the only place it shows up in all the tcs i've built is arm-linux-gnueabi-5.0
[Android Software/Hacking General [Developers Only]] deepongi:
try disable the lib/module that graphite is breaking. per ex, for me was "libncurses"

add to your sm_device.mk:

LOCAL_DISABLE_GRAPHITE := libncurses

it did the trick for me.
[Android Software/Hacking General [Developers Only]] sparksco:
What makes you think there should be a arch/arm?

Read the OP all the link are there and bitbucket is not one of them...
[Android Software/Hacking General [Developers Only]] sparksco:
Add

LOCAL_DISABLE_GRAPHITE := camera.smdk4x12

To vendor/sm/product/sm_bacon.mk
[Android Software/Hacking General [Developers Only]] kogone:
oh ok.. I was using archis local_manifest and that had the bitbucket source. then I copied the smtc that I'd built.
[Android Software/Hacking General [Developers Only]] sparksco:
Guys if you want to paste a error, please use pastebin.com or a spoiler. Less clutter on the thread, thx.
[Android Software/Hacking General [Developers Only]] tortellini:
hello [MENTION=2394329]sparksco[/MENTION]

When i start the build, the build stop immediately with this error :

http://pastebin.com/wCw6dra0

edit : it's ok, i just creat the kernel folder.
[Android Software/Hacking General [Developers Only]] sparksco:
It looks like a problem with your ROM for inline kernel building. But not related to any of these mods.
[Android Software/Hacking General [Developers Only]] ryanbg:
See here

Removing 'extern' seems to do the trick, pre-5.0 gcc. I know that's an older post, but I figured in case anyone else is looking for the solution.
[Android Software/Hacking General [Developers Only]] shoey63:
Hi Sparkso.

So all that is needed to fully "Saberize" a rom is to download this into /vendor/sm, and add your device to sm/configs/clear_vars.mk, sm/product/sm_products.mk, create a create a sm/device/ sm_<device>.mk, use sabermod toolchains and good to go?

Edit: Plus add this to a common makefile

# Inherite sabermod vendor

SM_VENDOR := vendor/sm

include $(SM_VENDOR)/Main.mk
[Android Software/Hacking General [Developers Only]] deepongi:
basically, yes :)

per example, one of my devices: https://github.com/infected-lp/vendor_sm/commit/c5065adea1b471e62f33a0eff8f49e6525eae71d

you may later need to add expections to some libs/modules if building with strict-aliasing., per ex: https://github.com/infected-lp/vendor_sm/commit/d3bdd575ea9739f2c88e50b63f9e72a069ff3d37
[Android Software/Hacking General [Developers Only]] sparksco:
I decided to make a new way for inline kernel building so that gcc freedom will be completely compatible with cm Roms.

This simply requires to create a file in your device tree device/manufacturer/name/AndroidBoard.mk

See example here. You would probably also need to remove cm kernel inline building commits except the part of the code that removes the prebuilt kernel from building.

Next is a AndroidKernel.mk to the kernel source. The AndroidKernel.mk should now be fully able to copy/paste into the kernel sources from the hammerhead kernel to be used on other devices. Or if you want to keep commit history it might be much easier to cherry-pick the commits in for that file history.

View this file on desktop (not mobile), then select the history to see the commits.

Finally add new devices and kernel configurations in vendor/sm/device/kernel.mk. The kernel.mk can be modified for your needs. Example in using different deconfigs.

To take full advantage of the optimizations in the kernel see the kernel Makefile host commits.

Quick update on gcc 5.1 and 6.0

I've fixed graphite and is fully functional again.
[Android Software/Hacking General [Developers Only]] deepongi:
Spoiler content hidden.

hmm... need to debug this... it was one of these last commits.
[Android Software/Hacking General [Developers Only]] sparksco:
Check kernel commits on hammerhead.

The kernel Makefile uses USE_GCC

https://github.com/SaberMod/android_kernel_lge_hammerhead/commits/sm-lp1

Edit: check these commits

https://gitlab.com/SaberMod/android-vendor-sabermod/commit/c7e31e095a08eb434cc60171b82e818a645cc24b

https://github.com/SaberMod/android...mmit/31b8a1cd6a216b786770f5afed2182bd0540e5b9
[Android Software/Hacking General [Developers Only]] deepongi:
still getting the same error:

Spoiler content hidden.

its something here, like you said: https://github.com/SaberMod/android_kernel_lge_hammerhead/blob/sm-lp1/Makefile#L372

but i am not sure what.. too many unknown variables to me.

edit:

maybe a hint to solve it [MENTION=2394329]sparksco[/MENTION] .. if i "export CROSS_COMPILE=arm-eabi-" it compiles fine and finishes the build.

edit #2: nevermind...

Spoiler content hidden.

in which file is this getting called;

arm-eabi-gcc-4.9.x-sabermod

?

edit #3:

right, is the USE_GCC like you said. If i remove these https://github.com/SaberMod/android_kernel_lge_hammerhead/blob/sm-lp1/Makefile#L373-L378 compiles fine, without the "/bin/sh: 1: arm-eabi-gcc-4.9.x-sabermod: not found" error.

i only applied these today, ence the error: https://github.com/SaberMod/android...5f4efc3766587fbcdd5aa84895/Makefile#L357-L446
[Android Software/Hacking General [Developers Only]] sparksco:
Don't know [MENTION=1077833]infected_[/MENTION] I don't have those errors on my end.
[Android Software/Hacking General [Developers Only]] deepongi:
its on my end. i must be merging something wrong, or missing a commit, for sure.

which commits must we use with the sabermod vendor? the "saberize" one, plus which ones? from slim-build or pa-build.

is it too much trouble for you to point out which ones are needed [MENTION=2394329]sparksco[/MENTION]? :p when you have free time, no rush.. :)

i got it "partially working". but if i merge the kernel inline commits, that error shows. up
[Android Software/Hacking General [Developers Only]] sparksco:
Last time I tried slim for hammerhead it wasn't fully buildable so I couldn't keep it updated. Just make sure you have the commits to move everything from build repo to vendor. All the kernel variables are handled by vendor and not the ROM your building for.