[Sony Xperia S, Acro S, Ion] arc_u:
Hi all

As I said in thsi thread http://xdaforums.com/showthread.php?t=1588800

I don't know what toolchain i've to use to build the .62 kernel of XS

I get the following error:

When I use the default arm-linux-gnueabi- (gcc 4.6):export CROSS_COMPILE=arm-linux-gnueabi-

>make

(a lot of line)

/tmp/cc33fOK4.s: Assembler messages:

/tmp/cc33fOK4.s:119: Error: selected processor does not support ARM mode `smc #0'

/tmp/cc33fOK4.s:171: Error: selected processor does not support ARM mode `smc #0'

/tmp/cc33fOK4.s:390: Error: selected processor does not support ARM mode `smc #0'

/tmp/cc33fOK4.s:544: Error: selected processor does not support ARM mode `smc #0'

make[1]: *** [arch/arm/mach-msm/scm.o] Erreur 1

make: *** [arch/arm/mach-msm] Erreur 2

--

I try to use this toolchain https://sourcery.mentor.com/sgpp/lite/arm/portal/release2032

(arm-2011.09) export CROSS_COMPILE=/home/choco/xs/arm-2011.09/bin/arm-none-eabi-

I get this:

>make

Traceback (most recent call last):

File "/home/chocobn/xs/6.0.A.3.62/kernel/scripts/gcc-wrapper.py", line 115, in <module>

status = run_gcc()

File "/home/chocobn/xs/6.0.A.3.62/kernel/scripts/gcc-wrapper.py", line 105, in run_gcc

proc = subprocess.Popen(args, stderr=subprocess.PIPE)

File "/usr/lib/python2.7/subprocess.py", line 679, in __init__

errread, errwrite)

File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child

raise child_exception

OSError: [Errno 2] No such file or directory

scripts/kconfig/conf -s arch/arm/Kconfig

arch/arm/mach-msm/Kconfig:1509:warning: multi-line strings not supported

Traceback (most recent call last):

File "/home/chocobn/xs/6.0.A.3.62/kernel/scripts/gcc-wrapper.py", line 115, in <module>

status = run_gcc()

File "/home/chocobn/xs/6.0.A.3.62/kernel/scripts/gcc-wrapper.py", line 105, in run_gcc

proc = subprocess.Popen(args, stderr=subprocess.PIPE)

File "/usr/lib/python2.7/subprocess.py", line 679, in __init__

errread, errwrite)

File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child

raise child_exception

OSError: [Errno 2] No such file or directory

CHK include/linux/version.h

UPD include/linux/version.h

CHK include/generated/utsrelease.h

UPD include/generated/utsrelease.h

Generating include/generated/mach-types.h

CC kernel/bounds.s

Traceback (most recent call last):

File "/home/chocobn/xs/6.0.A.3.62/kernel/scripts/gcc-wrapper.py", line 115, in <module>

status = run_gcc()

File "/home/chocobn/xs/6.0.A.3.62/kernel/scripts/gcc-wrapper.py", line 105, in run_gcc

proc = subprocess.Popen(args, stderr=subprocess.PIPE)

File "/usr/lib/python2.7/subprocess.py", line 679, in __init__

errread, errwrite)

File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child

raise child_exception

OSError: [Errno 2] No such file or directory

make[1]: *** [kernel/bounds.s] Erreur 1

make: *** [prepare0] Erreur 2

I try also the latest linaro toolchain

export CROSS_COMPILE=/home/chocobn/xs/gcc-linaro-arm-linux-gnueabi-2012.03-20120326_linux/bin/arm-linux-gnueabi-

And i get the same error as previous :confused:

err what's wrong with toolchain ?

PS: I do the correct export for ARCH (arm), i'm on ubuntu 12.04, and havn't spoiler on this forum ?