[Galaxy S Plus I9001 Android Development] alireza7991:
Trying to compile latest sources from your github using your customized cortex-a8 linaro gcc 4.8 returns following error:

arch/arm/crypto/aesbs-core.S:
Assembler messages:
arch/arm/crypto/aesbs-core.S:449: Error: thumb conditional instruction should be in IT block -- `addeq r6,r6,#0x10'
arch/arm/crypto/aesbs-core.S:904: Error: thumb conditional instruction should be in IT block -- `addeq r6,r6,#0x10'
arch/arm/crypto/aesbs-core.S:2100: Error: thumb conditional instruction should be in IT block -- `subne r9,#0x10'
make[1]: *** [arch/arm/crypto/aesbs-core.o] Error 1
make: *** [arch/arm/crypto] Error 2
make: *** Waiting for unfinished jobs....

I'm using 'ariesve_oc_uv_hm_defconfig' config.

EDIT 1:

Using my own patched arm-linux-musleabi fixed the build error, but I am still interested in compiling it with your customized linaro-gcc .

however, I 'm trying to enable CONFIG_DRM and MSM_KGSL_DRM but I get following error:

drivers/gpu/msm/kgsl_drm.c:1462:2: warning: braces around scalar initializer [enabled by default]
.fops = {
^
drivers/gpu/msm/kgsl_drm.c:1462:2: warning: (near initialization for 'driver.fops') [enabled by default]
drivers/gpu/msm/kgsl_drm.c:1463:4: error: field name not in record or union initializer
.owner = THIS_MODULE,
^
drivers/gpu/msm/kgsl_drm.c:1463:4: error: (near initialization for 'driver.fops')
In file included from include/linux/tty_driver.h:239:0,
from include/linux/tty.h:44,
from include/linux/serial_core.h:227,
from include/linux/serial_8250.h:14,
from include/linux/kgdb.h:16,
from include/linux/fb.h:7,
from include/drm/drm_crtc.h:32,
from include/drm/drmP.h:679,
from drivers/gpu/msm/kgsl_drm.c:17:
include/linux/export.h:29:30: warning: initialization from incompatible pointer type [enabled by default]
#define THIS_MODULE ((struct module *)0)
^
drivers/gpu/msm/kgsl_drm.c:1463:13: note: in expansion of macro 'THIS_MODULE'
.owner = THIS_MODULE,
^
include/linux/export.h:29:30: warning: (near initialization for 'driver.fops') [enabled by default]
#define THIS_MODULE ((struct module *)0)
^
drivers/gpu/msm/kgsl_drm.c:1463:13: note: in expansion of macro 'THIS_MODULE'
.owner = THIS_MODULE,
^
drivers/gpu/msm/kgsl_drm.c:1464:4: error: field name not in record or union initializer
.open = drm_open,
^
drivers/gpu/msm/kgsl_drm.c:1464:4: error: (near initialization for 'driver.fops')
drivers/gpu/msm/kgsl_drm.c:1464:4: warning: excess elements in scalar initializer [enabled by default]
drivers/gpu/msm/kgsl_drm.c:1464:4: warning: (near initialization for 'driver.fops') [enabled by default]
drivers/gpu/msm/kgsl_drm.c:1465:4: error: field name not in record or union initializer
.release = drm_release,
^
drivers/gpu/msm/kgsl_drm.c:1465:4: error: (near initialization for 'driver.fops')
drivers/gpu/msm/kgsl_drm.c:1465:4: warning: excess elements in scalar initializer [enabled by default]
drivers/gpu/msm/kgsl_drm.c:1465:4: warning: (near initialization for 'driver.fops') [enabled by default]
drivers/gpu/msm/kgsl_drm.c:1466:4: error: field name not in record or union initializer
.unlocked_ioctl = drm_ioctl,
^
drivers/gpu/msm/kgsl_drm.c:1466:4: error: (near initialization for 'driver.fops')
drivers/gpu/msm/kgsl_drm.c:1466:4: warning: excess elements in scalar initializer [enabled by default]
drivers/gpu/msm/kgsl_drm.c:1466:4: warning: (near initialization for 'driver.fops') [enabled by default]
drivers/gpu/msm/kgsl_drm.c:1467:4: error: field name not in record or union initializer
.mmap = msm_drm_gem_mmap,
^
drivers/gpu/msm/kgsl_drm.c:1467:4: error: (near initialization for 'driver.fops')
drivers/gpu/msm/kgsl_drm.c:1467:4: warning: excess elements in scalar initializer [enabled by default]
drivers/gpu/msm/kgsl_drm.c:1467:4: warning: (near initialization for 'driver.fops') [enabled by default]
drivers/gpu/msm/kgsl_drm.c:1468:4: error: field name not in record or union initializer
.poll = drm_poll,
^
drivers/gpu/msm/kgsl_drm.c:1468:4: error: (near initialization for 'driver.fops')
drivers/gpu/msm/kgsl_drm.c:1468:4: warning: excess elements in scalar initializer [enabled by default]
drivers/gpu/msm/kgsl_drm.c:1468:4: warning: (near initialization for 'driver.fops') [enabled by default]
drivers/gpu/msm/kgsl_drm.c:1469:4: error: field name not in record or union initializer
.fasync = drm_fasync,
^
drivers/gpu/msm/kgsl_drm.c:1469:4: error: (near initialization for 'driver.fops')
drivers/gpu/msm/kgsl_drm.c:1469:4: warning: excess elements in scalar initializer [enabled by default]
drivers/gpu/msm/kgsl_drm.c:1469:4: warning: (near initialization for 'driver.fops') [enabled by default]
make[3]: *** [drivers/gpu/msm/kgsl_drm.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [drivers/gpu/msm] Error 2
make[1]: *** [drivers/gpu] Error 2
make[1]: *** Waiting for unfinished jobs....
CC drivers/video/msm/mdp4_overlay.o
In file included from drivers/video/msm/mdp4_overlay.c:43:0:
drivers/video/msm/mdp4.h: In function 'mdp4_dsi_video_splash_done':
drivers/video/msm/mdp4.h:886:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
drivers/video/msm/mdp4_overlay.c: At top level:
drivers/video/msm/mdp4.h:884:12: warning: 'mdp4_dsi_video_splash_done' defined but not used [-Wunused-function]
static int mdp4_dsi_video_splash_done(void)
^
LD drivers/video/msm/built-in.o
LD drivers/video/built-in.o
make: *** [drivers] Error 2

EDIT 2:

I finally fixed the previous error in kgsl_drm.c and now the kernel has been compiled and seems to have a working DRM KGSL. I just need a tester to test whether kernel boots or not.

here is the flashable zip :

http://d-h.st/LM1

EDIT 3:

kernel doesn't boot :(