ngoquang2708 / android_device_samsung_vivalto3gvn

Device tree for Samsung Galaxy V SM-G313HZ
7 stars 8 forks source link

Cannot built the kernel with "arm-linux-androideabi-" toolchain #72

Closed ngoquang2708 closed 8 years ago

diepquynh commented 8 years ago

What does the compiler gives?

ngoquang2708 commented 8 years ago

I can built with cm-13, but there is some linker warning and I cannot boot that kernel. I cannot build the kernel at all in cm-14.0. It throws errors when parsing __PASTE macro in include/linux/compiler-gcc4.h which caused when building sound/soc/sprd/dai/sprd-pcm.c, when expand MODULE_ALIAS macro.

2016-08-28 23:08 GMT+07:00 Nguyễn Tuấn Quyền notifications@github.com:

What does the compiler gives?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ngoquang2708/android_device_samsung_vivalto3gvn/issues/72#issuecomment-242982886, or mute the thread https://github.com/notifications/unsubscribe-auth/AJOl9n22kFj-gYIz3RXTRfcspavHuo4Kks5qkbJvgaJpZM4Ju80o .

diepquynh commented 8 years ago

LOL try using other compiler, like Linaro 5.1 or sth Or use my compiler-gcc.h in my grandprimeve3g kernel source, as in 3.10.102, compiler-gccX are deprecated

ngoquang2708 commented 8 years ago

OK, I will test it later. Using arm-eabi-4.8 currently.

2016-08-28 23:15 GMT+07:00 Nguyễn Tuấn Quyền notifications@github.com:

LOL try using other compiler, like Linaro 5.1 or sth Or use my compiler-gcc.h in my grandprimeve3g kernel source, as in 3.10.102, compiler-gccX are deprecated

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ngoquang2708/android_device_samsung_vivalto3gvn/issues/72#issuecomment-242983279, or mute the thread https://github.com/notifications/unsubscribe-auth/AJOl9sdGVYCg22-c5YgvJGrtaneGYJx-ks5qkbQxgaJpZM4Ju80o .

ngoquang2708 commented 8 years ago

Fixed by commit https://github.com/ngoquang2708/android_kernel_samsung_vivalto3gvn/commit/563da18bca372b290b2247975161836a203b3efe.