Cross Compiler Toolchains [Linaro GCC 5.2 2015-11, 4.9, 4.8, 4.7]

Search This thread

Khaon

Senior Member
Apr 3, 2012
1,271
1,677
Louvain-la-Neuve, Belgium
Reasons :

1- You have exported wrong path to your toolchain bin folder
2- Your toolchain executables have not suitable permission
3- You are using this toolchain on a 32 bit system
4- You are using old distro (or old libc)


Sent from my GT-I9001 using Tapatalk

---------- Post added at 09:00 PM ---------- Previous post was at 08:51 PM ----------



1- hf stands for hardware floating points , it means gcc will accelerate floating point operations with hardware floating point processing unit instead of simulating them with cpu. It has absolutely no effect on kernel performance because kernel uses it's own way to deal with floating points but it can improve performance on executable files compiled by this option.

2- Try changing CFLAGS and if not works then you should use -Wall and check all warnings and find where issue comes from. Also you should use UART and monitor logs (if you can setup UART interface)

That was all I could help you.

Sent from my GT-I9001 using Tapatalk

Thank you.
 
  • Like
Reactions: alireza7991

bigsupersquid

Senior Member
Sep 22, 2010
2,254
1,671
BFE, MO
Google Pixel 4a 5G
Hi.
Hopefully this isn't too far off topic. This is the clearest toolchain building thread I've found though.
I successfully followed your instructions to build bare metal linaro 4.7, 4.8 and 4.9 targeted to armv6k
But I can't find anything that works for arm-linux-androideabi- toolchain.
Linaro official repo and other versions I've tried all crash my terminal running build-linaro.sh before any output, but android build system and ct-ng for bare metal toolchain all work fine.
Maybe system issue? Ubuntu 13.04 64 bit.
I'd welcome any suggestions.
Using armv7 and newer linaro toolchains Bork my Rom builds even with the correct cflags for armv6k.
I've read that the toolchain incorporates parts of its own code when compiling and that's why I need a new toolchain built for legacy chipset. Or I'm stuck with 4.7 which was the last official linaro release which supported under armv7.
 
Last edited:

Christopher83

Inactive Recognized Developer
Sep 2, 2012
1,446
12,703
Milan
Linaro GCC 4.9 2014.07

- Released a new Linaro GCC 4.9.1-2014.07 toolchain optimized for Cortex-A15 cpu with Neon-VFPv4 technology support:
arm-cortex_a15-linux-gnueabihf-linaro_4.9.1-2014.07-build_2014_07_19
- Released a new Linaro GCC 4.9.1-2014.07 toolchain optimized for Cortex-A9 cpu with Neon-VFPv3 technology support:
arm-cortex_a9-linux-gnueabihf-linaro_4.9.1-2014.07-build_2014_07_19
- Released a new Linaro GCC 4.9.1-2014.07 toolchain optimized for Cortex-A8 cpu with Neon-VFPv3 technology support:
arm-cortex_a8-linux-gnueabi-linaro_4.9.1-2014.07-build_2014_07_19
- Released a new Linaro GCC 4.9.1-2014.07 toolchain for generic Cortex-A cpu:
arm-linux-gnueabi-linaro_4.9.1-2014.07-build_2014_07_19

Configuration:
Code:
- Target -> Linux Kernel 3.4.99
- Linaro GCC 4.9-2014.07 (4.9.1)
- Linaro Binutils 2.24-2014.07
- Linaro EGLibc 2.19-2014.07
- Linaro GDB 7.7.1-2014.06
- GMP 5.1.3
- MPFR 3.1.2
- ISL 0.12.2
- CLOOG 0.18.1
- MPC 1.0.2
- Hard float with soft float support for Cortex-A15 and Cortex-A9 cpu toolchains
- Softfp for Cortex-A8 and generic Cortex-A cpu toolchains
- Multilib support for Cortex-A8 and generic Cortex-A cpu toolchains
- Possibility to use the alias [I][COLOR="Blue"]arm-eabi-[/COLOR][/I] as prefix of each tool
 

Shahan_mik3

Senior Member
Mar 8, 2013
4,979
16,046
Bangalore
SAME ERROR using all possible steps :( Please Help guyz. its will be very very helpfu

I followed the steps correctly and have no errors in middle but the errors are during compiling :(
same error on all the available steps in xda :(




shahan_mik3@Shahan-Pc:/$ cd home/shahan_mik3/andkernel/Kernel
shahan_mik3@Shahan-Pc:~/andkernel/Kernel$ export ARCH=arm
shahan_mik3@Shahan-Pc:~/andkernel/Kernel$ export CROSS_COMPILE=/home/shahan_mik3/linaro/arm-cortex_a9-linux-gnueabihf-linaro_4.9.1-2014.06/bin/arm-cortex_a9-linux-gnueabihf-
shahan_mik3@Shahan-Pc:~/andkernel/Kernel$ make clean
CLEAN .
CLEAN arch/arm/kernel
CLEAN usr
CLEAN .tmp_versions
shahan_mik3@Shahan-Pc:~/andkernel/Kernel$ make u1_defconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
arch/arm/mach-exynos/Kconfig:884:warning: choice value used outside its choice group
arch/arm/mach-exynos/Kconfig:885:warning: defaults for choice values not supported
#
# configuration written to .config
#
shahan_mik3@Shahan-Pc:~/andkernel/Kernel$ make menuconfig
HOSTCC scripts/kconfig/lxdialog/checklist.o
HOSTCC scripts/kconfig/lxdialog/inputbox.o
HOSTCC scripts/kconfig/lxdialog/menubox.o
HOSTCC scripts/kconfig/lxdialog/textbox.o
scripts/kconfig/lxdialog/textbox.c: In function ‘print_line’:
scripts/kconfig/lxdialog/textbox.c:323:9: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
int y, x;
^
scripts/kconfig/lxdialog/textbox.c:323:6: warning: variable ‘y’ set but not used [-Wunused-but-set-variable]
int y, x;
^
HOSTCC scripts/kconfig/lxdialog/util.o
HOSTCC scripts/kconfig/lxdialog/yesno.o
HOSTCC scripts/kconfig/mconf.o
HOSTLD scripts/kconfig/mconf
scripts/kconfig/mconf Kconfig
arch/arm/mach-exynos/Kconfig:884:warning: choice value used outside its choice group
arch/arm/mach-exynos/Kconfig:885:warning: defaults for choice values not supported
#
# configuration written to .config
#


*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.

shahan_mik3@Shahan-Pc:~/andkernel/Kernel$ make -j3
scripts/kconfig/conf --silentoldconfig Kconfig
arch/arm/mach-exynos/Kconfig:884:warning: choice value used outside its choice group
arch/arm/mach-exynos/Kconfig:885:warning: defaults for choice values not supported
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
make[1]: `include/generated/mach-types.h' is up to date.
CC kernel/bounds.s
GEN include/generated/bounds.h
CC arch/arm/kernel/asm-offsets.s
HOSTCC scripts/kallsyms
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/conmakehash
HOSTCC scripts/recordmcount
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
GEN include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
HOSTCC usr/gen_init_cpio
CC init/main.o
CC arch/arm/vfp/vfpmodule.o
GEN usr/initramfs_data.cpio
AS usr/initramfs_data.o
LD usr/built-in.o
CC arch/arm/kernel/elf.o
AS arch/arm/vfp/entry.o
AS arch/arm/kernel/entry-armv.o
AS arch/arm/vfp/vfphw.o
CC arch/arm/vfp/vfpsingle.o
AS arch/arm/kernel/entry-common.o
CC arch/arm/kernel/irq.o
CC arch/arm/kernel/process.o
CC arch/arm/vfp/vfpdouble.o
CHK include/generated/compile.h
CC arch/arm/kernel/ptrace.o
UPD include/generated/compile.h
CC init/do_mounts.o
LD arch/arm/vfp/vfp.o
LD arch/arm/vfp/built-in.o
CC arch/arm/mm/extable.o
CC arch/arm/kernel/return_address.o
CC arch/arm/mm/fault.o
CC arch/arm/kernel/setup.o
CC arch/arm/mm/iomap.o
CC arch/arm/mm/dma-mapping.o
CC arch/arm/kernel/signal.o
CC init/do_mounts_rd.o
CC arch/arm/mm/init.o
CC arch/arm/kernel/sys_arm.o
CC init/do_mounts_initrd.o
CC arch/arm/kernel/stacktrace.o
CC arch/arm/kernel/time.o
CC init/initramfs.o
CC arch/arm/mm/fault-armv.o
CC arch/arm/kernel/traps.o
CC arch/arm/mm/flush.o
CC init/calibrate.o
CC arch/arm/mm/idmap.o
CC init/version.o
CC arch/arm/kernel/armksyms.o
LD init/mounts.o
LD init/built-in.o
CC arch/arm/mm/ioremap.o
CC arch/arm/common/gic.o
CC arch/arm/mm/mmap.o
CC arch/arm/kernel/module.o
CC arch/arm/common/pl330.o
AS arch/arm/kernel/sleep.o
CC arch/arm/kernel/smp.o
CC arch/arm/mm/pgd.o
CC arch/arm/mm/vmregion.o
CC arch/arm/kernel/smp_tlb.o
CC arch/arm/mm/mmu.o
LD arch/arm/common/built-in.o
CC arch/arm/mach-exynos/init.o
CC arch/arm/kernel/smp_scu.o
CC arch/arm/mm/proc-syms.o
CC arch/arm/kernel/ftrace.o
CC arch/arm/mach-exynos/irq-combiner.o
CC arch/arm/mm/alignment.o
CC arch/arm/mach-exynos/dma.o
CC arch/arm/kernel/swp_emulate.o
arch/arm/mm/alignment.c: In function ‘do_alignment’:
arch/arm/mm/alignment.c:720:21: error: ‘offset.un’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
union offset_union offset;
^
CC arch/arm/mach-exynos/irq-eint.o
cc1: all warnings being treated as errors
make[1]: *** [arch/arm/mm/alignment.o] Error 1
make: *** [arch/arm/mm] Error 2
make: *** Waiting for unfinished jobs....
CC arch/arm/mach-exynos/ppmu.o
CC arch/arm/kernel/pmu.o
CC arch/arm/mach-exynos/exynos4-smc.o
CC arch/arm/kernel/io.o
CC arch/arm/mach-exynos/cpu-exynos4.o
AS arch/arm/kernel/head.o
CC arch/arm/kernel/init_task.o
LDS arch/arm/kernel/vmlinux.lds
LD arch/arm/kernel/built-in.o
CC arch/arm/mach-exynos/clock-exynos4.o
CC arch/arm/mach-exynos/pmu-exynos4.o
CC arch/arm/mach-exynos/ppc.o
arch/arm/mach-exynos/clock-exynos4.c:457:26: warning: ‘exynos4_clk_aclk_c2c’ defined but not used [-Wunused-variable]
static struct clksrc_clk exynos4_clk_aclk_c2c = {
^
arch/arm/mach-exynos/pmu-exynos4.c: In function ‘exynos4_pmu_init’:
arch/arm/mach-exynos/pmu-exynos4.c:422:15: warning: unused variable ‘i’ [-Wunused-variable]
unsigned int i;
^
CC arch/arm/mach-exynos/clock-domain.o
CC arch/arm/mach-exynos/clock-exynos4210.o
CC arch/arm/mach-exynos/pm-exynos4.o
AS arch/arm/mach-exynos/sleep-exynos4.o
CC arch/arm/mach-exynos/cpufreq.o
CC arch/arm/mach-exynos/asv.o
CC arch/arm/mach-exynos/asv-4210.o
CC arch/arm/mach-exynos/asv-4x12.o
CC arch/arm/mach-exynos/cpufreq-4210.o
CC arch/arm/mach-exynos/cpufreq-4x12.o
CC arch/arm/mach-exynos/cpuidle-exynos4.o
AS arch/arm/mach-exynos/idle-exynos4.o
CC arch/arm/mach-exynos/busfreq.o
CC arch/arm/mach-exynos/platsmp.o
arch/arm/mach-exynos/cpuidle-exynos4.c:185:13: warning: ‘exynos4212_gpio_conpdn_reg’ defined but not used [-Wunused-function]
static void exynos4212_gpio_conpdn_reg(void)
^
AS arch/arm/mach-exynos/headsmp.o
In file included from arch/arm/mach-exynos/cpuidle-exynos4.c:30:0:
arch/arm/mach-exynos/cpuidle-exynos4.c: In function ‘exynos4_enter_lowpower’:
arch/arm/mach-exynos/include/mach/asv.h:59:6: error: ‘abb_val_int’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
tmp |= abb_mode_value;
^
arch/arm/mach-exynos/cpuidle-exynos4.c:650:30: note: ‘abb_val_int’ was declared here
unsigned long tmp, abb_val, abb_val_int;
^
In file included from arch/arm/mach-exynos/cpuidle-exynos4.c:30:0:
arch/arm/mach-exynos/include/mach/asv.h:59:6: error: ‘abb_val’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
tmp |= abb_mode_value;
^
arch/arm/mach-exynos/cpuidle-exynos4.c:650:21: note: ‘abb_val’ was declared here
unsigned long tmp, abb_val, abb_val_int;
^
In file included from arch/arm/mach-exynos/cpuidle-exynos4.c:30:0:
arch/arm/mach-exynos/include/mach/asv.h:59:6: error: ‘abb_val’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
tmp |= abb_mode_value;
^
arch/arm/mach-exynos/cpuidle-exynos4.c:566:21: note: ‘abb_val’ was declared here
unsigned long tmp, abb_val;
^
CC arch/arm/mach-exynos/mct.o
cc1: all warnings being treated as errors
make[1]: *** [arch/arm/mach-exynos/cpuidle-exynos4.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [arch/arm/mach-exynos] Error 2
shahan_mik3@Shahan-Pc:~/andkernel/Kernel$


Also m a newbie with compiling....so thanks a lot for any of the help provided it will help me in long run :)
 
Last edited:

MassStash

Senior Member
Sep 26, 2008
3,838
2,446
36
Chicago
I followed the steps correctly and have no errors in middle but the errors are during compiling :(
same error on all the available steps in xda :(




shahan_mik3@Shahan-Pc:/$ cd home/shahan_mik3/andkernel/Kernel
shahan_mik3@Shahan-Pc:~/andkernel/Kernel$ export ARCH=arm
shahan_mik3@Shahan-Pc:~/andkernel/Kernel$ export CROSS_COMPILE=/home/shahan_mik3/linaro/arm-cortex_a9-linux-gnueabihf-linaro_4.9.1-2014.06/bin/arm-cortex_a9-linux-gnueabihf-
shahan_mik3@Shahan-Pc:~/andkernel/Kernel$ make clean
CLEAN .
CLEAN arch/arm/kernel
CLEAN usr
CLEAN .tmp_versions
shahan_mik3@Shahan-Pc:~/andkernel/Kernel$ make u1_defconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
arch/arm/mach-exynos/Kconfig:884:warning: choice value used outside its choice group
arch/arm/mach-exynos/Kconfig:885:warning: defaults for choice values not supported
#
# configuration written to .config
#
shahan_mik3@Shahan-Pc:~/andkernel/Kernel$ make menuconfig
HOSTCC scripts/kconfig/lxdialog/checklist.o
HOSTCC scripts/kconfig/lxdialog/inputbox.o
HOSTCC scripts/kconfig/lxdialog/menubox.o
HOSTCC scripts/kconfig/lxdialog/textbox.o
scripts/kconfig/lxdialog/textbox.c: In function ‘print_line’:
scripts/kconfig/lxdialog/textbox.c:323:9: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
int y, x;
^
scripts/kconfig/lxdialog/textbox.c:323:6: warning: variable ‘y’ set but not used [-Wunused-but-set-variable]
int y, x;
^
HOSTCC scripts/kconfig/lxdialog/util.o
HOSTCC scripts/kconfig/lxdialog/yesno.o
HOSTCC scripts/kconfig/mconf.o
HOSTLD scripts/kconfig/mconf
scripts/kconfig/mconf Kconfig
arch/arm/mach-exynos/Kconfig:884:warning: choice value used outside its choice group
arch/arm/mach-exynos/Kconfig:885:warning: defaults for choice values not supported
#
# configuration written to .config
#


*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.

shahan_mik3@Shahan-Pc:~/andkernel/Kernel$ make -j3
scripts/kconfig/conf --silentoldconfig Kconfig
arch/arm/mach-exynos/Kconfig:884:warning: choice value used outside its choice group
arch/arm/mach-exynos/Kconfig:885:warning: defaults for choice values not supported
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
make[1]: `include/generated/mach-types.h' is up to date.
CC kernel/bounds.s
GEN include/generated/bounds.h
CC arch/arm/kernel/asm-offsets.s
HOSTCC scripts/kallsyms
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/conmakehash
HOSTCC scripts/recordmcount
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
GEN include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
HOSTCC usr/gen_init_cpio
CC init/main.o
CC arch/arm/vfp/vfpmodule.o
GEN usr/initramfs_data.cpio
AS usr/initramfs_data.o
LD usr/built-in.o
CC arch/arm/kernel/elf.o
AS arch/arm/vfp/entry.o
AS arch/arm/kernel/entry-armv.o
AS arch/arm/vfp/vfphw.o
CC arch/arm/vfp/vfpsingle.o
AS arch/arm/kernel/entry-common.o
CC arch/arm/kernel/irq.o
CC arch/arm/kernel/process.o
CC arch/arm/vfp/vfpdouble.o
CHK include/generated/compile.h
CC arch/arm/kernel/ptrace.o
UPD include/generated/compile.h
CC init/do_mounts.o
LD arch/arm/vfp/vfp.o
LD arch/arm/vfp/built-in.o
CC arch/arm/mm/extable.o
CC arch/arm/kernel/return_address.o
CC arch/arm/mm/fault.o
CC arch/arm/kernel/setup.o
CC arch/arm/mm/iomap.o
CC arch/arm/mm/dma-mapping.o
CC arch/arm/kernel/signal.o
CC init/do_mounts_rd.o
CC arch/arm/mm/init.o
CC arch/arm/kernel/sys_arm.o
CC init/do_mounts_initrd.o
CC arch/arm/kernel/stacktrace.o
CC arch/arm/kernel/time.o
CC init/initramfs.o
CC arch/arm/mm/fault-armv.o
CC arch/arm/kernel/traps.o
CC arch/arm/mm/flush.o
CC init/calibrate.o
CC arch/arm/mm/idmap.o
CC init/version.o
CC arch/arm/kernel/armksyms.o
LD init/mounts.o
LD init/built-in.o
CC arch/arm/mm/ioremap.o
CC arch/arm/common/gic.o
CC arch/arm/mm/mmap.o
CC arch/arm/kernel/module.o
CC arch/arm/common/pl330.o
AS arch/arm/kernel/sleep.o
CC arch/arm/kernel/smp.o
CC arch/arm/mm/pgd.o
CC arch/arm/mm/vmregion.o
CC arch/arm/kernel/smp_tlb.o
CC arch/arm/mm/mmu.o
LD arch/arm/common/built-in.o
CC arch/arm/mach-exynos/init.o
CC arch/arm/kernel/smp_scu.o
CC arch/arm/mm/proc-syms.o
CC arch/arm/kernel/ftrace.o
CC arch/arm/mach-exynos/irq-combiner.o
CC arch/arm/mm/alignment.o
CC arch/arm/mach-exynos/dma.o
CC arch/arm/kernel/swp_emulate.o
arch/arm/mm/alignment.c: In function ‘do_alignment’:
arch/arm/mm/alignment.c:720:21: error: ‘offset.un’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
union offset_union offset;
^
CC arch/arm/mach-exynos/irq-eint.o
cc1: all warnings being treated as errors
make[1]: *** [arch/arm/mm/alignment.o] Error 1
make: *** [arch/arm/mm] Error 2
make: *** Waiting for unfinished jobs....
CC arch/arm/mach-exynos/ppmu.o
CC arch/arm/kernel/pmu.o
CC arch/arm/mach-exynos/exynos4-smc.o
CC arch/arm/kernel/io.o
CC arch/arm/mach-exynos/cpu-exynos4.o
AS arch/arm/kernel/head.o
CC arch/arm/kernel/init_task.o
LDS arch/arm/kernel/vmlinux.lds
LD arch/arm/kernel/built-in.o
CC arch/arm/mach-exynos/clock-exynos4.o
CC arch/arm/mach-exynos/pmu-exynos4.o
CC arch/arm/mach-exynos/ppc.o
arch/arm/mach-exynos/clock-exynos4.c:457:26: warning: ‘exynos4_clk_aclk_c2c’ defined but not used [-Wunused-variable]
static struct clksrc_clk exynos4_clk_aclk_c2c = {
^
arch/arm/mach-exynos/pmu-exynos4.c: In function ‘exynos4_pmu_init’:
arch/arm/mach-exynos/pmu-exynos4.c:422:15: warning: unused variable ‘i’ [-Wunused-variable]
unsigned int i;
^
CC arch/arm/mach-exynos/clock-domain.o
CC arch/arm/mach-exynos/clock-exynos4210.o
CC arch/arm/mach-exynos/pm-exynos4.o
AS arch/arm/mach-exynos/sleep-exynos4.o
CC arch/arm/mach-exynos/cpufreq.o
CC arch/arm/mach-exynos/asv.o
CC arch/arm/mach-exynos/asv-4210.o
CC arch/arm/mach-exynos/asv-4x12.o
CC arch/arm/mach-exynos/cpufreq-4210.o
CC arch/arm/mach-exynos/cpufreq-4x12.o
CC arch/arm/mach-exynos/cpuidle-exynos4.o
AS arch/arm/mach-exynos/idle-exynos4.o
CC arch/arm/mach-exynos/busfreq.o
CC arch/arm/mach-exynos/platsmp.o
arch/arm/mach-exynos/cpuidle-exynos4.c:185:13: warning: ‘exynos4212_gpio_conpdn_reg’ defined but not used [-Wunused-function]
static void exynos4212_gpio_conpdn_reg(void)
^
AS arch/arm/mach-exynos/headsmp.o
In file included from arch/arm/mach-exynos/cpuidle-exynos4.c:30:0:
arch/arm/mach-exynos/cpuidle-exynos4.c: In function ‘exynos4_enter_lowpower’:
arch/arm/mach-exynos/include/mach/asv.h:59:6: error: ‘abb_val_int’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
tmp |= abb_mode_value;
^
arch/arm/mach-exynos/cpuidle-exynos4.c:650:30: note: ‘abb_val_int’ was declared here
unsigned long tmp, abb_val, abb_val_int;
^
In file included from arch/arm/mach-exynos/cpuidle-exynos4.c:30:0:
arch/arm/mach-exynos/include/mach/asv.h:59:6: error: ‘abb_val’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
tmp |= abb_mode_value;
^
arch/arm/mach-exynos/cpuidle-exynos4.c:650:21: note: ‘abb_val’ was declared here
unsigned long tmp, abb_val, abb_val_int;
^
In file included from arch/arm/mach-exynos/cpuidle-exynos4.c:30:0:
arch/arm/mach-exynos/include/mach/asv.h:59:6: error: ‘abb_val’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
tmp |= abb_mode_value;
^
arch/arm/mach-exynos/cpuidle-exynos4.c:566:21: note: ‘abb_val’ was declared here
unsigned long tmp, abb_val;
^
CC arch/arm/mach-exynos/mct.o
cc1: all warnings being treated as errors
make[1]: *** [arch/arm/mach-exynos/cpuidle-exynos4.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [arch/arm/mach-exynos] Error 2
shahan_mik3@Shahan-Pc:~/andkernel/Kernel$


Also m a newbie with compiling....so thanks a lot for any of the help provided it will help me in long run :)
Looks like general compilation errors man, not the place to find answers here really. Just a heads up
 

poondog

Inactive Recognized Contributor
Dec 11, 2011
14,998
12,953
Melbourne
I followed the steps from the OP still facig issue ....so Any help would be appreciated.....if anyone could help me bypass this it will be very helpful :(

Did you read it? :)
Unused variable means there's a variable there, that's not used ;)

So either put -wno-unused-variables (off the top of my head, google will know, the point here is it sees unused variables but tells the compiler to not care)
Or you can remove the variables from those
 
  • Like
Reactions: Shahan_mik3

Shahan_mik3

Senior Member
Mar 8, 2013
4,979
16,046
Bangalore
Did you read it? :)
Unused variable means there's a variable there, that's not used ;)

So either put -wno-unused-variables (off the top of my head, google will know, the point here is it sees unused variables but tells the compiler to not care)
Or you can remove the variables from those

where should i put -Wno-unused-variable .
Also i tried removing the vaiable abb_val from cpuidle-eynos4.c but didnt work.

I'm totally lost can you please explain it in a eas way....... also im totally new to this can u explain in a noob term?????
 
Last edited:

poondog

Inactive Recognized Contributor
Dec 11, 2011
14,998
12,953
Melbourne
where should i put -Wno-unused-variable .
Also i tried removing the vaiable abb_val from cpuidle-eynos4.c but didnt work.

I'm totally lost can you please explain it in a eas way....... also im totally new to this can u explain in a noob term?????

Put it in the Makefile (root)

Sent from my HTC One using XDA Premium 4 mobile app
 
  • Like
Reactions: Shahan_mik3

alireza7991

Senior Member
Sep 2, 2012
772
2,321
26
Shahrekord
alirezafn.net
Did you read it? :)
Unused variable means there's a variable there, that's not used ;)

So either put -wno-unused-variables (off the top of my head, google will know, the point here is it sees unused variables but tells the compiler to not care)
Or you can remove the variables from those

It's "maybe uninitialized variables" not "unused variable" . They are totally different.

Also, You should not remove all unused variables, it may cause some problems.


where should i put -Wno-unused-variable .
Also i tried removing the vaiable abb_val from cpuidle-eynos4.c but didnt work.

I'm totally lost can you please explain it in a eas way....... also im totally new to this can u explain in a noob term?????

Don't edit/remove anything from source. You just have to edit Makefile. Since Makefile's are different it's hard to tell you what to do without seeing the Makefile, so you should put your makefile here then we can help you more easier.


Sent from my GT-I9001 using Tapatalk
 
  • Like
Reactions: poondog

poondog

Inactive Recognized Contributor
Dec 11, 2011
14,998
12,953
Melbourne
It's "maybe uninitialized variables" not "unused variable" . They are totally different.

Also, You should not remove all unused variables, it may cause some problems.




Don't edit/remove anything from source. You just have to edit Makefile. Since Makefile's are different it's hard to tell you what to do without seeing the Makefile, so you should put your makefile here then we can help you more easier.


Sent from my GT-I9001 using Tapatalk

Uninitialized is completely different to unused.

Uninitialized-> not initialized yet so need to be initialized

Unused--> defined but not not used ever so it can be removed, since it's not needed

Is my understanding wrong? Thanks, sorry for going off topic

Edit: seems we are both right.. there are uninitialized and unused variables in the post

Sent from my HTC One using XDA Premium 4 mobile app
 
  • Like
Reactions: alireza7991

Shahan_mik3

Senior Member
Mar 8, 2013
4,979
16,046
Bangalore
Put it in the Makefile (root)

Sent from my HTC One using XDA Premium 4 mobile app

yes now i got you i just have to change the -wno- line as shown in the image

now only one error i have :)



shahan_mik3@Shahan-Pc:~/andkernel/Kernel$ make ARCH=arm CROSS_COMPILE=arm-cortex_a9-linux-gnueabihf-
scripts/kconfig/conf --silentoldconfig Kconfig
arch/arm/mach-exynos/Kconfig:884:warning: choice value used outside its choice group
arch/arm/mach-exynos/Kconfig:885:warning: defaults for choice values not supported
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
GEN include/generated/bounds.h
CC arch/arm/kernel/asm-offsets.s
GEN include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
HOSTCC scripts/kallsyms
HOSTCC scripts/conmakehash
HOSTCC scripts/recordmcount
CC init/main.o
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
CC init/do_mounts.o
CC init/do_mounts_rd.o
CC init/do_mounts_initrd.o
LD init/mounts.o
CC init/initramfs.o
CC init/calibrate.o
LD init/built-in.o
HOSTCC usr/gen_init_cpio
GEN usr/initramfs_data.cpio
AS usr/initramfs_data.o
LD usr/built-in.o
CC arch/arm/vfp/vfpmodule.o
AS arch/arm/vfp/entry.o
AS arch/arm/vfp/vfphw.o
CC arch/arm/vfp/vfpsingle.o
CC arch/arm/vfp/vfpdouble.o
LD arch/arm/vfp/vfp.o
LD arch/arm/vfp/built-in.o
CC arch/arm/kernel/elf.o
AS arch/arm/kernel/entry-armv.o
AS arch/arm/kernel/entry-common.o
CC arch/arm/kernel/irq.o
CC arch/arm/kernel/process.o
CC arch/arm/kernel/ptrace.o
CC arch/arm/kernel/return_address.o
CC arch/arm/kernel/setup.o
CC arch/arm/kernel/signal.o
CC arch/arm/kernel/sys_arm.o
CC arch/arm/kernel/stacktrace.o
CC arch/arm/kernel/time.o
CC arch/arm/kernel/traps.o
CC arch/arm/kernel/armksyms.o
CC arch/arm/kernel/module.o
AS arch/arm/kernel/sleep.o
CC arch/arm/kernel/smp.o
CC arch/arm/kernel/smp_tlb.o
CC arch/arm/kernel/smp_scu.o
CC arch/arm/kernel/ftrace.o
CC arch/arm/kernel/swp_emulate.o
CC arch/arm/kernel/pmu.o
CC arch/arm/kernel/io.o
LD arch/arm/kernel/built-in.o
AS arch/arm/kernel/head.o
CC arch/arm/kernel/init_task.o
LDS arch/arm/kernel/vmlinux.lds
CC arch/arm/mm/extable.o
CC arch/arm/mm/fault.o
CC arch/arm/mm/iomap.o
CC arch/arm/mm/dma-mapping.o
CC arch/arm/mm/init.o
CC arch/arm/mm/fault-armv.o
CC arch/arm/mm/flush.o
CC arch/arm/mm/idmap.o
CC arch/arm/mm/ioremap.o
CC arch/arm/mm/mmap.o
CC arch/arm/mm/pgd.o
CC arch/arm/mm/vmregion.o
CC arch/arm/mm/mmu.o
CC arch/arm/mm/proc-syms.o
CC arch/arm/mm/alignment.o
arch/arm/mm/alignment.c: In function ‘do_alignment’:
arch/arm/mm/alignment.c:720:21: error: ‘offset.un’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
union offset_union offset;
^
cc1: all warnings being treated as errors
make[1]: *** [arch/arm/mm/alignment.o] Error 1
make: *** [arch/arm/mm] Error 2

 

Attachments

  • wno.jpg
    wno.jpg
    110.5 KB · Views: 81
Last edited:

Shahan_mik3

Senior Member
Mar 8, 2013
4,979
16,046
Bangalore
It's "maybe uninitialized variables" not "unused variable" . They are totally different.

Also, You should not remove all unused variables, it may cause some problems.




Don't edit/remove anything from source. You just have to edit Makefile. Since Makefile's are different it's hard to tell you what to do without seeing the Makefile, so you should put your makefile here then we can help you more easier.


Sent from my GT-I9001 using Tapatalk

ithe link for original make file ......thank you for your time :)
https://www.dropbox.com/s/7zpig317w3wx6hi/Makefile
 
Last edited:

poondog

Inactive Recognized Contributor
Dec 11, 2011
14,998
12,953
Melbourne
yes now i got you i just have to change the -wno- line as shown in the image

now only one error i have :)



shahan_mik3@Shahan-Pc:~/andkernel/Kernel$ make ARCH=arm CROSS_COMPILE=arm-cortex_a9-linux-gnueabihf-
scripts/kconfig/conf --silentoldconfig Kconfig
arch/arm/mach-exynos/Kconfig:884:warning: choice value used outside its choice group
arch/arm/mach-exynos/Kconfig:885:warning: defaults for choice values not supported
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
GEN include/generated/bounds.h
CC arch/arm/kernel/asm-offsets.s
GEN include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
HOSTCC scripts/kallsyms
HOSTCC scripts/conmakehash
HOSTCC scripts/recordmcount
CC init/main.o
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
CC init/do_mounts.o
CC init/do_mounts_rd.o
CC init/do_mounts_initrd.o
LD init/mounts.o
CC init/initramfs.o
CC init/calibrate.o
LD init/built-in.o
HOSTCC usr/gen_init_cpio
GEN usr/initramfs_data.cpio
AS usr/initramfs_data.o
LD usr/built-in.o
CC arch/arm/vfp/vfpmodule.o
AS arch/arm/vfp/entry.o
AS arch/arm/vfp/vfphw.o
CC arch/arm/vfp/vfpsingle.o
CC arch/arm/vfp/vfpdouble.o
LD arch/arm/vfp/vfp.o
LD arch/arm/vfp/built-in.o
CC arch/arm/kernel/elf.o
AS arch/arm/kernel/entry-armv.o
AS arch/arm/kernel/entry-common.o
CC arch/arm/kernel/irq.o
CC arch/arm/kernel/process.o
CC arch/arm/kernel/ptrace.o
CC arch/arm/kernel/return_address.o
CC arch/arm/kernel/setup.o
CC arch/arm/kernel/signal.o
CC arch/arm/kernel/sys_arm.o
CC arch/arm/kernel/stacktrace.o
CC arch/arm/kernel/time.o
CC arch/arm/kernel/traps.o
CC arch/arm/kernel/armksyms.o
CC arch/arm/kernel/module.o
AS arch/arm/kernel/sleep.o
CC arch/arm/kernel/smp.o
CC arch/arm/kernel/smp_tlb.o
CC arch/arm/kernel/smp_scu.o
CC arch/arm/kernel/ftrace.o
CC arch/arm/kernel/swp_emulate.o
CC arch/arm/kernel/pmu.o
CC arch/arm/kernel/io.o
LD arch/arm/kernel/built-in.o
AS arch/arm/kernel/head.o
CC arch/arm/kernel/init_task.o
LDS arch/arm/kernel/vmlinux.lds
CC arch/arm/mm/extable.o
CC arch/arm/mm/fault.o
CC arch/arm/mm/iomap.o
CC arch/arm/mm/dma-mapping.o
CC arch/arm/mm/init.o
CC arch/arm/mm/fault-armv.o
CC arch/arm/mm/flush.o
CC arch/arm/mm/idmap.o
CC arch/arm/mm/ioremap.o
CC arch/arm/mm/mmap.o
CC arch/arm/mm/pgd.o
CC arch/arm/mm/vmregion.o
CC arch/arm/mm/mmu.o
CC arch/arm/mm/proc-syms.o
CC arch/arm/mm/alignment.o
arch/arm/mm/alignment.c: In function ‘do_alignment’:
arch/arm/mm/alignment.c:720:21: error: ‘offset.un’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
union offset_union offset;
^
cc1: all warnings being treated as errors
make[1]: *** [arch/arm/mm/alignment.o] Error 1
make: *** [arch/arm/mm] Error 2


As alireza has stated you also need the no uninitialized variables

It's better to actually fix the problems, but hiding them in the makefile will do :p you'll see in my kernel source for HTC One that these issues are fixed rather than masked

Sent from my HTC One using XDA Premium 4 mobile app
 

Shahan_mik3

Senior Member
Mar 8, 2013
4,979
16,046
Bangalore
As alireza has stated you also need the no uninitialized variables

It's better to actually fix the problems, but hiding them in the makefile will do :p you'll see in my kernel source for HTC One that these issues are fixed rather than masked

Sent from my HTC One using XDA Premium 4 mobile app

but if i do that i will get the same error and i dont know to fix it. so what should i do next?

i badly want to build a kernel and get better at it :(
 

educk

Inactive Recognized Developer
Oct 28, 2012
1,327
6,936

Shahan_mik3

Senior Member
Mar 8, 2013
4,979
16,046
Bangalore
I did some changes in flags (around uninitialized variables and unused variables) and hope it works :

http://os.alirezafn.net/Makefile.txt

now the error popped up in the beginning only :(...



shahan_mik3@Shahan-Pc:~/andkernel/Kernel$ make -j3
scripts/kconfig/conf --silentoldconfig Kconfig
arch/arm/mach-exynos/Kconfig:884:warning: choice value used outside its choice group
arch/arm/mach-exynos/Kconfig:885:warning: defaults for choice values not supported
CHK include/linux/version.h
UPD include/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
CC scripts/mod/empty.o
cc1: error: -Werror=unused-variable-Wall: no option -Wunused-variable-Wall
make[2]: *** [scripts/mod/empty.o] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
make: *** Waiting for unfinished jobs....
shahan_mik3@Shahan-Pc:~/andkernel/Kernel$

 

Top Liked Posts

  • There are no posts matching your filters.
  • 329
    attachment.php

    Hi guys!
    I did some builds of cross compiler toolchains suitable for kernel builds or binary tools/libs.
    If some of you want to test/use them and let me have feedback about, can find them at the following link:


    This folder contains the following subfolders:

    Builds with Linaro GCC 5.2.x
    2015 builds
    - Linaro GCC 5.2-2015.11-2 Toolchains subfolder, each toolchain includes Linaro GCC 5.2-2015.11-2 (5.2.1) and GDB 7.10

    Builds with Linaro GCC 4.9.x
    2015 builds
    - Linaro GCC 4.9.4-2015.06 Toolchains subfolder, each toolchain includes Linaro GCC 4.9-2015.06 (4.9.4) and Linaro GDB 7.8-2014.09
    - Linaro GCC 4.9.3-2015.03 Toolchains subfolder, each toolchain includes Linaro GCC 4.9-2015.03 (4.9.3) and Linaro GDB 7.8-2014.09
    - Linaro GCC 4.9.3-2015.02 Toolchains subfolder, each toolchain includes Linaro GCC 4.9-2015.02 (4.9.3) and Linaro GDB 7.8-2014.09
    - Linaro GCC 4.9.3-2015.01 Toolchains subfolder, each toolchain includes Linaro GCC 4.9-2015.01 (4.9.3) and Linaro GDB 7.8-2014.09

    2014 builds

    - Linaro GCC 4.9.3-2014.12 Toolchains subfolder, each toolchain includes Linaro GCC 4.9-2014.12 (4.9.3) and Linaro GDB 7.8-2014.09
    - Linaro GCC 4.9.3-2014.11 Toolchains subfolder, each toolchain includes Linaro GCC 4.9-2014.11 (4.9.3) and Linaro GDB 7.8-2014.09
    - Linaro GCC 4.9.2-2014.10 Toolchains subfolder, each toolchain includes Linaro GCC 4.9-2014.10 (4.9.2) and Linaro GDB 7.8-2014.09
    - Linaro GCC 4.9.2-2014.09 Toolchains subfolder, each toolchain includes Linaro GCC 4.9-2014.09 (4.9.2) and Linaro GDB 7.8-2014.09
    - Linaro GCC 4.9.2-2014.08 Toolchains subfolder, each toolchain includes Linaro GCC 4.9-2014.08 (4.9.2) and Linaro GDB 7.8-2014.08
    - Linaro GCC 4.9.1-2014.07 Toolchains subfolder, each toolchain includes Linaro GCC 4.9-2014.07 (4.9.1) and Linaro GDB 7.7.1-2014.06
    - Linaro GCC 4.9.1-2014.06 Toolchains subfolder, each toolchain includes Linaro GCC 4.9-2014.06 (4.9.1) and Linaro GDB 7.7.1-2014.06
    - Linaro GCC 4.9.1-2014.05 Toolchains subfolder, each toolchain includes Linaro GCC 4.9-2014.05 (4.9.1) and Linaro GDB 7.7-2014.05
    - Linaro GCC 4.9.1-2014.04 Toolchains subfolder, each toolchain includes Linaro GCC 4.9-2014.04 (4.9.1) and Linaro GDB 7.6.1-2013.10


    Builds with Linaro GCC 4.8.x
    2014 builds
    - Linaro GCC 4.8.4-2014.11 Toolchains subfolder, each toolchain includes Linaro GCC 4.8-2014.11 (4.8.4) and Linaro GDB 7.8-2014.09
    - Linaro GCC 4.8.4-2014.08 Toolchains subfolder, each toolchain includes Linaro GCC 4.8-2014.08 (4.8.4) and Linaro GDB 7.8-2014.08
    - Linaro GCC 4.8.3-2014.04 Toolchains subfolder, each toolchain includes Linaro GCC 4.8-2014.04 (4.8.3) and Linaro GDB 7.6.1-2013.10
    - Linaro GCC 4.8.3-2014.03 Toolchains subfolder, each toolchain includes Linaro GCC 4.8-2014.03 (4.8.3) and Linaro GDB 7.6.1-2013.10
    - Linaro GCC 4.8.3-2014.02 Toolchains subfolder, each toolchain includes Linaro GCC 4.8-2014.02 (4.8.3) and Linaro GDB 7.6.1-2013.10
    - Linaro GCC 4.8.3-2014.01 Toolchains subfolder, each toolchain includes Linaro GCC 4.8-2014.01 (4.8.3) and Linaro GDB 7.6.1-2013.10

    2013 builds

    - Linaro GCC 4.8.3-2013.12 Toolchains subfolder, each toolchain includes Linaro GCC 4.8-2013.12 (4.8.3) and Linaro GDB 7.6-2013.05
    - Linaro GCC 4.8.3-2013.11 Toolchains subfolder, each toolchain includes Linaro GCC 4.8-2013.11 (4.8.3) and Linaro GDB 7.6-2013.05
    - Linaro GCC 4.8.2-2013.10 Toolchains subfolder, each toolchain includes Linaro GCC 4.8-2013.10 (4.8.2) and Linaro GDB 7.6-2013.05
    - Linaro GCC 4.8.2-2013.09 Toolchains subfolder, each toolchain includes Linaro GCC 4.8-2013.09 (4.8.2) and Linaro GDB 7.6-2013.05
    - Linaro GCC 4.8.2-2013.08 Toolchains subfolder, each toolchain includes Linaro GCC 4.8-2013.08 (4.8.2) and Linaro GDB 7.6-2013.05
    - Linaro GCC 4.8.2-2013.07 Toolchains subfolder, each toolchain includes Linaro GCC 4.8-2013.07 (4.8.2) and Linaro GDB 7.5-2012.12
    - Linaro GCC 4.8.2-2013.06 Toolchains subfolder, each toolchain includes Linaro GCC 4.8-2013.06 (4.8.2) and Linaro GDB 7.5-2012.12
    - Linaro GCC 4.8.1-2013.05 Toolchains subfolder, each toolchain includes Linaro GCC 4.8-2013.05 (4.8.1) and Linaro GDB 7.5-2012.12
    - Linaro GCC 4.8.1-2013.04 Toolchains subfolder, each toolchain includes Linaro GCC 4.8-2013.04 (4.8.1) and Linaro GDB 7.5-2012.12


    Builds with Linaro GCC 4.7.x
    2014 builds
    - Linaro GCC 4.7.4-2014.06 Toolchains subfolder, each toolchain includes Linaro GCC 4.7-2014.06 (4.7.4) and Linaro GDB 7.8-2014.08
    - Linaro GCC 4.7.4-2014.04 Toolchains subfolder, each toolchain includes Linaro GCC 4.7-2014.04 (4.7.4) and Linaro GDB 7.6.1-2013.10
    - Linaro GCC 4.7.4-2014.01 Toolchains subfolder, each toolchain includes Linaro GCC 4.7-2014.01 (4.7.4) and Linaro GDB 7.6.1-2013.10

    2013 builds

    - Linaro GCC 4.7.4-2013.12 Toolchains subfolder, each toolchain includes Linaro GCC 4.7-2013.12 (4.7.4) and Linaro GDB 7.6-2013.05
    - Linaro GCC 4.7.4-2013.11 Toolchains subfolder, each toolchain includes Linaro GCC 4.7-2013.11 (4.7.4) and Linaro GDB 7.6-2013.05
    - Linaro GCC 4.7.4-2013.10 Toolchains subfolder, each toolchain includes Linaro GCC 4.7-2013.10 (4.7.4) and Linaro GDB 7.6-2013.05
    - Linaro GCC 4.7.4-2013.09 Toolchains subfolder, each toolchain includes Linaro GCC 4.7-2013.09 (4.7.4) and Linaro GDB 7.6-2013.05
    - Linaro GCC 4.7.4-2013.08 Toolchains subfolder, each toolchain includes Linaro GCC 4.7-2013.08 (4.7.4) and Linaro GDB 7.6-2013.05
    - Linaro GCC 4.7.4-2013.07 Toolchains subfolder, each toolchain includes Linaro GCC 4.7-2013.07 (4.7.4) and Linaro GDB 7.5-2012.12
    - Linaro GCC 4.7.4-2013.06 Toolchains subfolder, each toolchain includes Linaro GCC 4.7-2013.06 (4.7.4) and Linaro GDB 7.5-2012.12
    - Linaro GCC 4.7.4-2013.05 Toolchains subfolder, each toolchain includes Linaro GCC 4.7-2013.05 (4.7.4) and Linaro GDB 7.5-2012.12
    - Linaro GCC 4.7.3-2013.04 Toolchains subfolder, each toolchain includes Linaro GCC 4.7-2013.04 (4.7.3) and Linaro GDB 7.5-2012.12
    - Linaro GCC 4.7.3-2013.03 Toolchains subfolder, each toolchain includes Linaro GCC 4.7-2013.03 (4.7.3) and Linaro GDB 7.5-2012.12
    - Linaro GCC 4.7.3-2013.02 Toolchains subfolder, each toolchain includes Linaro GCC 4.7-2013.02 (4.7.3) and Linaro GDB 7.5-2012.12
    - Linaro GCC 4.7.3-2013.01 Toolchains subfolder, each toolchain includes Linaro GCC 4.7-2013.01 (4.7.3) and Linaro GDB 7.5-2012.12


    2012 builds

    - Linaro GCC 4.7.3-2012.12 Toolchains subfolder, each toolchain includes Linaro GCC 4.7-2012.12 (4.7.3) and Linaro GDB 7.5-2012.12


    Builds with Linaro GCC 4.6.x
    2013 builds

    - Linaro GCC 4.6.4-2013.05 Toolchains subfolder, each toolchain includes Linaro GCC 4.6-2013.05 (4.6.4) and Linaro GDB 7.5-2012.12
    - Linaro GCC 4.6.4-2013.04 Toolchains subfolder, each toolchain includes Linaro GCC 4.6-2013.04 (4.6.4) and Linaro GDB 7.5-2012.12
    - Linaro GCC 4.6.4-2013.01 Toolchains subfolder, each toolchain includes Linaro GCC 4.6-2013.01 (4.6.4) and Linaro GDB 7.5-2012.12


    2012 builds

    - Linaro GCC 4.6.4-2012.12 Toolchains subfolder, each toolchain includes Linaro GCC 4.6-2012.12 (4.6.4) and Linaro GDB 7.5-2012.12


    Other old builds

    Builds with Standard GCC 4.7.x
    - Standard GCC 4.7.2 Toolchains subfolder, each toolchain includes GCC 4.7.2 and GDB 7.4.1


    You can find the toolchains on my GitHub too:
    2015 builds
    - arm-cortex-linux-gnueabi-linaro_4.9
    - arm-cortex_a7-linux-gnueabihf-linaro_4.9
    - arm-cortex_a8-linux-gnueabi-linaro_4.9
    - arm-cortex_a9-linux-gnueabihf-linaro_4.9
    - arm-cortex_a15-linux-gnueabihf-linaro_4.9

    2014 builds
    - linaro_toolchains_2014

    2014 builds
    - linaro_toolchains_2013


    The toolchains with arm-cortex_a15-linux-gnueabihf prefix are optimized for Cortex-A15 cpu with Neon-VFPv4 technology support.
    The toolchains with arm-cortex_a9-linux-gnueabihf prefix are optimized for Cortex-A9 cpu with Neon-VFPv3 technology support.
    The toolchains with arm-cortex_a8-linux-gnueabi prefix are optimized for Cortex-A8 cpu with Neon-VFPv3 technology support (these are ideally suited for our Samsung S Plus).
    The toolchains with arm-cortex_a7-linux-gnueabihf prefix are optimized for Cortex-A7 cpu with Neon-VFPv4 technology support.
    The toolchains with arm-cortex-linux-gnueabi, arm-linux-gnueabi or arm-unknown-linux-gnueabi prefix are built for generic Cortex-A cpu and configured with similar settings to those of the latest Linaro toolchains, the tools and libraries inside them are built with Thumb-2 (for architecture) and VFPv3-D16 (for fpu) instruction sets support.
    VFPv3-D16 has been chosen to also support nVidia Tegra2, Marvell Dove cpu and other cpu with half-precision FP format, consider it as a common denominator.
    These generic toolchain builds shouldn't work on a cpu which has ARMv4T or ARMv5 architecture.

    I hope you find them useful...
    Let me know.
    Thanks!

    Credits:
    CrossTool-NG Developers
    Linaro Toolchain Developers
    The developers of each tool included in the toolchain

    XDA:DevDB Information
    [LINARO GCC] Cross Compiler Toolchains, Tool/Utility for the Samsung Galaxy S I9000

    Contributors
    Christopher83
    Source Code: https://github.com/Christopher83/


    Version Information
    Status: Stable
    Current Stable Version: 2015.11
    Stable Release Date: 2016-01-30

    Created 2013-09-13
    Last Updated 2016-01-30
    101
    Config options used for the toolchains optimized for Cortex-A15 cpu with Neon-VFPv4 technology support
    Code:
    CT_ARCH_ARCH=""
    CT_ARCH_CPU="cortex-a15"
    CT_ARCH_TUNE="cortex-a15"
    CT_ARCH_FPU="neon-vfpv4"
    CT_ARCH_FLOAT_HW=y
    CT_ARCH_FLOAT="hard"
    CT_ARCH_SUPPORT_SOFTFP=y
    CT_ARCH_ARM_MODE="arm"
    CT_ARCH_ARM_MODE_ARM=y

    Config options used for the toolchains optimized for Cortex-A9 cpu with Neon-VFPv3 technology support
    Code:
    CT_ARCH_ARCH="armv7-a"
    CT_ARCH_CPU="cortex-a9"
    CT_ARCH_TUNE="cortex-a9"
    CT_ARCH_FPU="neon"
    CT_ARCH_FLOAT_HW=y
    CT_ARCH_FLOAT="hard"
    CT_ARCH_SUPPORT_SOFTFP=y
    CT_ARCH_ARM_MODE="arm"
    CT_ARCH_ARM_MODE_ARM=y

    Config options used for the toolchains optimized for Cortex-A8 cpu with Neon-VFP3 technology support
    Code:
    CT_ARCH_ARCH="armv7-a"
    CT_ARCH_CPU="cortex-a8"
    CT_ARCH_TUNE="cortex-a8"
    CT_ARCH_FPU="neon"
    CT_ARCH_FLOAT_SOFTFP=y
    CT_ARCH_FLOAT="softfp"
    CT_ARCH_ARM_MODE="arm"
    CT_ARCH_ARM_MODE_ARM=y

    Config options used for the toolchains optimized for Cortex-A7 cpu with Neon-VFPv4 technology support
    Code:
    CT_ARCH_ARCH=""
    CT_ARCH_CPU="cortex-a7"
    CT_ARCH_TUNE="cortex-a7"
    CT_ARCH_FPU="neon-vfpv4"
    CT_ARCH_FLOAT_HW=y
    CT_ARCH_FLOAT="hard"
    CT_ARCH_SUPPORT_SOFTFP=y
    CT_ARCH_ARM_MODE="arm"
    CT_ARCH_ARM_MODE_ARM=y

    Config options used for the generic toolchains for Cortex-A cpu (similar to latest Linaro toolchain builds)
    Code:
    CT_ARCH_ARCH="armv7-a"
    CT_ARCH_CPU=""
    CT_ARCH_TUNE="cortex-a9"
    CT_ARCH_FPU="vfpv3-d16"
    CT_ARCH_FLOAT_SOFTFP=y
    CT_ARCH_FLOAT="softfp"
    CT_ARCH_ARM_MODE="thumb"
    CT_ARCH_ARM_MODE_THUMB=y

    Changelog
    Code:
    [COLOR="DarkGreen"][B]30/01/2016[/B][/COLOR]
    - Released a new Linaro GCC 5.2-2015.11-2 toolchain for generic Cortex-A cpu:
        [URL="http://www.mediafire.com/?g05mugw8j403658"]arm-cortex-linux-gnueabi-linaro_5.2-2015.11-2-build_2016_01_30[/URL]
    
    Configuration:
    - Target -> Linux Kernel 3.4.110
    - Linaro GCC 5.2-2015.11 (5.2.1)
    - Binutils 2.25-1
    - GLibc 2.22
    - GDB 7.10
    - GMP 6.1.0
    - MPFR 3.1.3
    - ISL 0.14
    - CLOOG 0.18.1
    - MPC 1.0.3
    - Softfp
    - Multilib support
    - Graphite support
    - Possibility to use the alias [I][COLOR="Blue"]arm-eabi-[/COLOR][/I] as prefix of each tool
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]15/07/2015[/B][/COLOR]
    - Released a new Linaro GCC 4.9.4-2015.06 toolchain optimized for Cortex-A15 cpu with
      Neon-VFPv4 technology support:
        [URL="http://www.mediafire.com/?9h19841nsm44z58"]arm-cortex_a15-linux-gnueabihf-linaro_4.9.4-2015.06-build_2015_07_14[/URL]
    - Released a new Linaro GCC 4.9.4-2015.06 toolchain optimized for Cortex-A9 cpu with
      Neon-VFPv3 technology support:
        [URL="http://www.mediafire.com/?vz7xzfp8sf4eq37"]arm-cortex_a9-linux-gnueabihf-linaro_4.9.4-2015.06-build_2015_07_15[/URL]
    - Released a new Linaro GCC 4.9.4-2015.06 toolchain optimized for Cortex-A7 cpu with
      Neon-VFPv4 technology support:
        [URL="http://www.mediafire.com/?ky9x9vcejd2yec2"]arm-cortex_a7-linux-gnueabihf-linaro_4.9.4-2015.06-build_2015_07_15[/URL]
    - Released a new Linaro GCC 4.9.4-2015.06 toolchain optimized for Cortex-A8 cpu with
      Neon-VFPv3 technology support:
        [URL="http://www.mediafire.com/?wfr7xsndu46l82k"]arm-cortex_a8-linux-gnueabi-linaro_4.9.4-2015.06-build_2015_07_14[/URL]
    - Released a new Linaro GCC 4.9.4-2015.06 toolchain for generic Cortex-A cpu:
        [URL="http://www.mediafire.com/?tt6o8oabmgte88q"]arm-cortex-linux-gnueabi-linaro_4.9.4-2015.06-build_2015_07_13[/URL]
    
    Configuration:
    - Target -> Linux Kernel 3.4.108
    - Linaro GCC 4.9-2015.06 (4.9.4)
    - Linaro Binutils 2.25-2015.01
    - GLibc 2.21
    - Linaro GDB 7.8-2014.09
    - GMP 6.0.0a
    - MPFR 3.1.2
    - ISL 0.12.2
    - CLOOG 0.18.1
    - MPC 1.0.2
    - Hard float with soft float support for Cortex-A15, Cortex-A9 and Cortex-A7 cpu toolchains
    - Softfp for Cortex-A8 and generic Cortex-A cpu toolchains
    - Multilib support for Cortex-A8 and generic Cortex-A cpu toolchains
    - Possibility to use the alias [I][COLOR="Blue"]arm-eabi-[/COLOR][/I] as prefix of each tool
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]15/03/2015[/B][/COLOR]
    - Released a new Linaro GCC 4.9.3-2015.03 toolchain optimized for Cortex-A15 cpu with
      Neon-VFPv4 technology support:
        [URL="http://www.mediafire.com/?fkgwb72spang3jv"]arm-cortex_a15-linux-gnueabihf-linaro_4.9.3-2015.03-build_2015_03_15[/URL]
    - Released a new Linaro GCC 4.9.3-2015.03 toolchain optimized for Cortex-A9 cpu with
      Neon-VFPv3 technology support:
        [URL="http://www.mediafire.com/?rk3vh1ko1g5zw9p"]arm-cortex_a9-linux-gnueabihf-linaro_4.9.3-2015.03-build_2015_03_15[/URL]
    - Released a new Linaro GCC 4.9.3-2015.03 toolchain optimized for Cortex-A7 cpu with
      Neon-VFPv4 technology support:
        [URL="http://www.mediafire.com/?4nwy86xivvbsib7"]arm-cortex_a7-linux-gnueabihf-linaro_4.9.3-2015.03-build_2015_03_15[/URL]
    - Released a new Linaro GCC 4.9.3-2015.03 toolchain optimized for Cortex-A8 cpu with
      Neon-VFPv3 technology support:
        [URL="http://www.mediafire.com/?lx9snpnyjxlstn5"]arm-cortex_a8-linux-gnueabi-linaro_4.9.3-2015.03-build_2015_03_15[/URL]
    - Released a new Linaro GCC 4.9.3-2015.03 toolchain for generic Cortex-A cpu:
        [URL="http://www.mediafire.com/?nad81yt14w7pu9j"]arm-cortex-linux-gnueabi-linaro_4.9.3-2015.03-build_2015_03_15[/URL]
    
    Configuration:
    - Target -> Linux Kernel 3.4.106
    - Linaro GCC 4.9-2015.03 (4.9.3)
    - Linaro Binutils 2.25-2015.01
    - Linaro GLibc 2.20-2014.11
    - Linaro GDB 7.8-2014.09
    - GMP 6.0.0a
    - MPFR 3.1.2
    - ISL 0.12.2
    - CLOOG 0.18.1
    - MPC 1.0.2
    - Hard float with soft float support for Cortex-A15, Cortex-A9 and Cortex-A7 cpu toolchains
    - Softfp for Cortex-A8 and generic Cortex-A cpu toolchains
    - Multilib support for Cortex-A8 and generic Cortex-A cpu toolchains
    - Possibility to use the alias [I][COLOR="Blue"]arm-eabi-[/COLOR][/I] as prefix of each tool
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]21/02/2015[/B][/COLOR]
    - Released a new Linaro GCC 4.9.3-2015.02 toolchain optimized for Cortex-A15 cpu with
      Neon-VFPv4 technology support:
        [URL="http://www.mediafire.com/?lq5z7re5csasyzc"]arm-cortex_a15-linux-gnueabihf-linaro_4.9.3-2015.02-build_2015_02_21[/URL]
    - Released a new Linaro GCC 4.9.3-2015.02 toolchain optimized for Cortex-A9 cpu with
      Neon-VFPv3 technology support:
        [URL="http://www.mediafire.com/?lkd118jnighz0u2"]arm-cortex_a9-linux-gnueabihf-linaro_4.9.3-2015.02-build_2015_02_20[/URL]
    - Released a new Linaro GCC 4.9.3-2015.02 toolchain optimized for Cortex-A7 cpu with
      Neon-VFPv4 technology support:
        [URL="http://www.mediafire.com/?n6bo9vtj4avc25a"]arm-cortex_a7-linux-gnueabihf-linaro_4.9.3-2015.02-build_2015_02_20[/URL]
    - Released a new Linaro GCC 4.9.3-2015.02 toolchain optimized for Cortex-A8 cpu with
      Neon-VFPv3 technology support:
        [URL="http://www.mediafire.com/?7964mlov3pr6ij6"]arm-cortex_a8-linux-gnueabi-linaro_4.9.3-2015.02-build_2015_02_19[/URL]
    - Released a new Linaro GCC 4.9.3-2015.02 toolchain for generic Cortex-A cpu:
        [URL="http://www.mediafire.com/?wib7j440f93ky1j"]arm-cortex-linux-gnueabi-linaro_4.9.3-2015.02-build_2015_02_19[/URL]
    
    Configuration:
    - Target -> Linux Kernel 3.4.106
    - Linaro GCC 4.9-2015.02 (4.9.3)
    - Linaro Binutils 2.25-2015.01
    - Linaro GLibc 2.20-2014.11
    - Linaro GDB 7.8-2014.09
    - GMP 6.0.0a
    - MPFR 3.1.2
    - ISL 0.12.2
    - CLOOG 0.18.1
    - MPC 1.0.2
    - Hard float with soft float support for Cortex-A15, Cortex-A9 and Cortex-A7 cpu toolchains
    - Softfp for Cortex-A8 and generic Cortex-A cpu toolchains
    - Multilib support for Cortex-A8 and generic Cortex-A cpu toolchains
    - Possibility to use the alias [I][COLOR="Blue"]arm-eabi-[/COLOR][/I] as prefix of each tool
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]18/01/2015[/B][/COLOR]
    - Released a new Linaro GCC 4.9.3-2015.01 toolchain optimized for Cortex-A7 cpu with
      Neon-VFPv4 technology support:
        [URL="http://www.mediafire.com/?63zzq00s4vner4r"]arm-cortex_a7-linux-gnueabihf-linaro_4.9.3-2015.01-build_2015_01_18[/URL]
    
    [COLOR="DarkGreen"][B]17/01/2015[/B][/COLOR]
    - Released a new Linaro GCC 4.9.3-2015.01 toolchain optimized for Cortex-A15 cpu with
      Neon-VFPv4 technology support:
        [URL="http://www.mediafire.com/?miulqyoknv32pjx"]arm-cortex_a15-linux-gnueabihf-linaro_4.9.3-2015.01-build_2015_01_17[/URL]
    - Released a new Linaro GCC 4.9.3-2015.01 toolchain optimized for Cortex-A9 cpu with
      Neon-VFPv3 technology support:
        [URL="http://www.mediafire.com/?ajy6tmg554n4i2e"]arm-cortex_a9-linux-gnueabihf-linaro_4.9.3-2015.01-build_2015_01_17[/URL]
    - Released a new Linaro GCC 4.9.3-2015.01 toolchain optimized for Cortex-A8 cpu with
      Neon-VFPv3 technology support:
        [URL="http://www.mediafire.com/?4uklp48jsd648s4"]arm-cortex_a8-linux-gnueabi-linaro_4.9.3-2015.01-build_2015_01_17[/URL]
    - Released a new Linaro GCC 4.9.3-2015.01 toolchain for generic Cortex-A cpu:
        [URL="http://www.mediafire.com/?0ozxok47tw1hzf5"]arm-cortex-linux-gnueabi-linaro_4.9.3-2015.01-build_2015_01_17[/URL]
    
    Configuration:
    - Target -> Linux Kernel 3.4.105
    - Linaro GCC 4.9-2015.01 (4.9.3)
    - Linaro Binutils 2.25-2015.01
    - Linaro GLibc 2.20-2014.11
    - Linaro GDB 7.8-2014.09
    - GMP 6.0.0a
    - MPFR 3.1.2
    - ISL 0.12.2
    - CLOOG 0.18.1
    - MPC 1.0.2
    - Hard float with soft float support for Cortex-A15, Cortex-A9 and Cortex-A7 cpu toolchains
    - Softfp for Cortex-A8 and generic Cortex-A cpu toolchains
    - Multilib support for Cortex-A8 and generic Cortex-A cpu toolchains
    - Possibility to use the alias [I][COLOR="Blue"]arm-eabi-[/COLOR][/I] as prefix of each tool
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]21/12/2014[/B][/COLOR]
    - Released a new Linaro GCC 4.9.3-2014.12 toolchain optimized for Cortex-A15 cpu with
      Neon-VFPv4 technology support
    - Released a new Linaro GCC 4.9.3-2014.12 toolchain optimized for Cortex-A9 cpu with
      Neon-VFPv3 technology support
    - Released a new Linaro GCC 4.9.3-2014.12 toolchain optimized for Cortex-A8 cpu with
      Neon-VFPv3 technology support
    - Released a new Linaro GCC 4.9.3-2014.12 toolchain for generic Cortex-A cpu
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]25/11/2014[/B][/COLOR]
    - Released a new Linaro GCC 4.8.4-2014.11 toolchain optimized for Cortex-A15 cpu with
      Neon-VFPv4 technology support
    - Released a new Linaro GCC 4.8.4-2014.11 toolchain optimized for Cortex-A9 cpu with
      Neon-VFPv3 technology support
    - Released a new Linaro GCC 4.8.4-2014.11 toolchain optimized for Cortex-A8 cpu with
      Neon-VFPv3 technology support
    - Released a new Linaro GCC 4.8.4-2014.11 toolchain for generic Cortex-A cpu
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]25/11/2014[/B][/COLOR]
    - Released a new Linaro GCC 4.9.3-2014.11 toolchain optimized for Cortex-A15 cpu with
      Neon-VFPv4 technology support
    - Released a new Linaro GCC 4.9.3-2014.11 toolchain optimized for Cortex-A9 cpu with
      Neon-VFPv3 technology support
    - Released a new Linaro GCC 4.9.3-2014.11 toolchain optimized for Cortex-A8 cpu with
      Neon-VFPv3 technology support
    - Released a new Linaro GCC 4.9.3-2014.11 toolchain for generic Cortex-A cpu
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]26/10/2014[/B][/COLOR]
    - Released a new Linaro GCC 4.9.2-2014.10 toolchain optimized for Cortex-A15 cpu with
      Neon-VFPv4 technology support
    - Released a new Linaro GCC 4.9.2-2014.10 toolchain optimized for Cortex-A9 cpu with
      Neon-VFPv3 technology support
    - Released a new Linaro GCC 4.9.2-2014.10 toolchain optimized for Cortex-A8 cpu with
      Neon-VFPv3 technology support
    - Released a new Linaro GCC 4.9.2-2014.10 toolchain for generic Cortex-A cpu
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]14/09/2014[/B][/COLOR]
    - Released a new Linaro GCC 4.9.2-2014.09 toolchain optimized for Cortex-A15 cpu with
      Neon-VFPv4 technology support
    - Released a new Linaro GCC 4.9.2-2014.09 toolchain optimized for Cortex-A9 cpu with
      Neon-VFPv3 technology support
    - Released a new Linaro GCC 4.9.2-2014.09 toolchain optimized for Cortex-A8 cpu with
      Neon-VFPv3 technology support
    - Released a new Linaro GCC 4.9.2-2014.09 toolchain for generic Cortex-A cpu
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]13/09/2014[/B][/COLOR]
    - Released a new Linaro GCC 4.7.4-2014.06 toolchain optimized for Cortex-A15 cpu with
      Neon-VFPv4 technology support
    - Released a new Linaro GCC 4.7.4-2014.06 toolchain optimized for Cortex-A9 cpu with
      Neon-VFPv3 technology support
    - Released a new Linaro GCC 4.7.4-2014.06 toolchain optimized for Cortex-A8 cpu with
      Neon-VFPv3 technology support
    - Released a new Linaro GCC 4.7.4-2014.06 toolchain for generic Cortex-A cpu
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]31/08/2014[/B][/COLOR]
    - Released a new Linaro GCC 4.8.4-2014.08 toolchain optimized for Cortex-A15 cpu with
      Neon-VFPv4 technology support
    - Released a new Linaro GCC 4.8.4-2014.08 toolchain optimized for Cortex-A9 cpu with
      Neon-VFPv3 technology support
    - Released a new Linaro GCC 4.8.4-2014.08 toolchain optimized for Cortex-A8 cpu with
      Neon-VFPv3 technology support
    - Released a new Linaro GCC 4.8.4-2014.08 toolchain for generic Cortex-A cpu
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]30/08/2014[/B][/COLOR]
    - Released a new Linaro GCC 4.9.2-2014.08 toolchain optimized for Cortex-A15 cpu with
      Neon-VFPv4 technology support
    - Released a new Linaro GCC 4.9.2-2014.08 toolchain optimized for Cortex-A9 cpu with
      Neon-VFPv3 technology support
    - Released a new Linaro GCC 4.9.2-2014.08 toolchain optimized for Cortex-A8 cpu with
      Neon-VFPv3 technology support
    - Released a new Linaro GCC 4.9.2-2014.08 toolchain for generic Cortex-A cpu
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]19/07/2014[/B][/COLOR]
    - Released a new Linaro GCC 4.9.1-2014.07 toolchain optimized for Cortex-A15 cpu with
      Neon-VFPv4 technology support
    - Released a new Linaro GCC 4.9.1-2014.07 toolchain optimized for Cortex-A9 cpu with
      Neon-VFPv3 technology support
    - Released a new Linaro GCC 4.9.1-2014.07 toolchain optimized for Cortex-A8 cpu with
      Neon-VFPv3 technology support
    - Released a new Linaro GCC 4.9.1-2014.07 toolchain for generic Cortex-A cpu
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]14/06/2014[/B][/COLOR]
    - Released a new Linaro GCC 4.9.1-2014.06 toolchain optimized for Cortex-A15 cpu with
      Neon-VFPv4 technology support
    - Released a new Linaro GCC 4.9.1-2014.06 toolchain optimized for Cortex-A9 cpu with
      Neon-VFPv3 technology support
    - Released a new Linaro GCC 4.9.1-2014.06 toolchain optimized for Cortex-A8 cpu with
      Neon-VFPv3 technology support
    - Released a new Linaro GCC 4.9.1-2014.06 toolchain for generic Cortex-A cpu
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]17/05/2014[/B][/COLOR]
    - Released a new Linaro GCC 4.9.1-2014.05 toolchain optimized for Cortex-A15 cpu with
      Neon-VFPv4 technology support
    - Released a new Linaro GCC 4.9.1-2014.05 toolchain optimized for Cortex-A9 cpu with
      Neon-VFPv3 technology support
    - Released a new Linaro GCC 4.9.1-2014.05 toolchain optimized for Cortex-A8 cpu with
      Neon-VFPv3 technology support
    - Released a new Linaro GCC 4.9.1-2014.05 toolchain for generic Cortex-A cpu
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]25/04/2014[/B][/COLOR]
    - Released a new Linaro GCC 4.9.1-2014.04 toolchain optimized for Cortex-A15 cpu with
      Neon-VFPv4 technology support
    - Released a new Linaro GCC 4.9.1-2014.04 toolchain optimized for Cortex-A9 cpu with
      Neon-VFPv3 technology support
    - Released a new Linaro GCC 4.9.1-2014.04 toolchain optimized for Cortex-A8 cpu with
      Neon-VFPv3 technology support
    - Released a new Linaro GCC 4.9.1-2014.04 toolchain for generic Cortex-A cpu
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]17/04/2014[/B][/COLOR]
    - Released a new Linaro GCC 4.7.4-2014.04 toolchain optimized for Cortex-A15 cpu with
      Neon-VFPv4 technology support
    - Released a new Linaro GCC 4.7.4-2014.04 toolchain optimized for Cortex-A9 cpu with
      Neon-VFPv3 technology support
    - Released a new Linaro GCC 4.7.4-2014.04 toolchain optimized for Cortex-A8 cpu with
      Neon-VFPv3 technology support
    - Released a new Linaro GCC 4.7.4-2014.04 toolchain for generic Cortex-A cpu
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]16/04/2014[/B][/COLOR]
    - Released a new Linaro GCC 4.8.3-2014.04 toolchain optimized for Cortex-A15 cpu with
      Neon-VFPv4 technology support
    - Released a new Linaro GCC 4.8.3-2014.04 toolchain optimized for Cortex-A9 cpu with
      Neon-VFPv3 technology support
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]14/04/2014[/B][/COLOR]
    - Released a new Linaro GCC 4.8.3-2014.04 toolchain optimized for Cortex-A8 cpu with
      Neon-VFPv3 technology support
    - Released a new Linaro GCC 4.8.3-2014.04 toolchain for generic Cortex-A cpu
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]15/03/2014[/B][/COLOR]
    - Released a new Linaro GCC 4.8.3-2014.03 toolchain optimized for Cortex-A15 cpu with
      Neon-VFPv4 technology support
    - Released a new Linaro GCC 4.8.3-2014.03 toolchain optimized for Cortex-A9 cpu with
      Neon-VFPv3 technology support
    - Released a new Linaro GCC 4.8.3-2014.03 toolchain optimized for Cortex-A8 cpu with
      Neon-VFPv3 technology support
    - Released a new Linaro GCC 4.8.3-2014.03 toolchain for generic Cortex-A cpu
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]15/02/2014[/B][/COLOR]
    - Released a new Linaro GCC 4.8.3-2014.02 toolchain optimized for Cortex-A15 cpu with
      Neon-VFPv4 technology support
    - Released a new Linaro GCC 4.8.3-2014.02 toolchain optimized for Cortex-A9 cpu with
      Neon-VFPv3 technology support
    - Released a new Linaro GCC 4.8.3-2014.02 toolchain optimized for Cortex-A8 cpu with
      Neon-VFPv3 technology support
    - Released a new Linaro GCC 4.8.3-2014.02 toolchain for generic Cortex-A cpu
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]06/02/2014[/B][/COLOR]
    - Released a new Linaro GCC 4.8.3-2014.01 toolchain optimized for Cortex-A15 cpu with
      Neon-VFPv4 technology support
    - Released a new Linaro GCC 4.7.4-2014.01 toolchain optimized for Cortex-A15 cpu with
      Neon-VFPv4 technology support
    - Released a new Linaro GCC 4.8.3-2014.01 toolchain optimized for Cortex-A9 cpu with
      Neon-VFPv3 technology support
    - Released a new Linaro GCC 4.7.4-2014.01 toolchain optimized for Cortex-A9 cpu with
      Neon-VFPv3 technology support
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]25/01/2014[/B][/COLOR]
    - Released a new Linaro GCC 4.8.3-2014.01 toolchain optimized for
      Cortex-A8 cpu with Neon technology support
    - Released a new Linaro GCC 4.8.3-2014.01 toolchain
    - Released a new Linaro GCC 4.7.4-2014.01 toolchain optimized for
      Cortex-A8 cpu with Neon technology support
    - Released a new Linaro GCC 4.7.4-2014.01 toolchain
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]08/01/2014[/B][/COLOR]
    - Released a new Linaro GCC 4.7.4-2013.12 toolchain optimized for
      Cortex-A8 cpu with Neon technology support
    - Released a new Linaro GCC 4.7.4-2013.12 toolchain
    - Released a new Linaro GCC 4.8.3-2013.12 toolchain optimized for
      Cortex-A8 cpu with Neon technology support
    - Released a new Linaro GCC 4.8.3-2013.12 toolchain
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]19/11/2013[/B][/COLOR]
    - Released a new Linaro GCC 4.7.4-2013.11 toolchain optimized for
      Cortex-A8 cpu with Neon technology support
    - Released a new Linaro GCC 4.7.4-2013.11 toolchain
    - Released a new Linaro GCC 4.8.3-2013.11 toolchain optimized for
      Cortex-A8 cpu with Neon technology support
    - Released a new Linaro GCC 4.8.3-2013.11 toolchain
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]18/10/2013[/B][/COLOR]
    - Released a new Linaro GCC 4.7.4-2013.10 toolchain optimized for
      Cortex-A8 cpu with Neon technology support
    - Released a new Linaro GCC 4.7.4-2013.10 toolchain
    - Released a new Linaro GCC 4.8.2-2013.10 toolchain optimized for
      Cortex-A8 cpu with Neon technology support
    - Released a new Linaro GCC 4.8.2-2013.10 toolchain
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]13/09/2013[/B][/COLOR]
    - Released a new Linaro GCC 4.7.4-2013.09 toolchain optimized for
      Cortex-A8 cpu with Neon technology support
    - Released a new Linaro GCC 4.7.4-2013.09 toolchain
    - Released a new Linaro GCC 4.8.2-2013.09 toolchain optimized for
      Cortex-A8 cpu with Neon technology support
    - Released a new Linaro GCC 4.8.2-2013.09 toolchain
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]19/08/2013[/B][/COLOR]
    - Released a new Linaro GCC 4.7.4-2013.08 toolchain optimized for
      Cortex-A8 cpu with Neon technology support
    - Released a new Linaro GCC 4.7.4-2013.08 toolchain
    - Released a new Linaro GCC 4.8.2-2013.08 toolchain optimized for
      Cortex-A8 cpu with Neon technology support
    - Released a new Linaro GCC 4.8.2-2013.08 toolchain
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]12/07/2013[/B][/COLOR]
    - Released a new Linaro GCC 4.7.4-2013.07 toolchain optimized for
      Cortex-A8 cpu with Neon technology support
    - Released a new Linaro GCC 4.7.4-2013.07 toolchain
    - Released a new Linaro GCC 4.8.2-2013.07 toolchain optimized for
      Cortex-A8 cpu with Neon technology support
    - Released a new Linaro GCC 4.8.2-2013.07 toolchain
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]14/06/2013[/B][/COLOR]
    - Released a new Linaro GCC 4.7.4-2013.06 toolchain optimized for
      Cortex-A8 cpu with Neon technology support
    - Released a new Linaro GCC 4.7.4-2013.06 toolchain
    - Released a new Linaro GCC 4.8.2-2013.06 toolchain optimized for
      Cortex-A8 cpu with Neon technology support
    - Released a new Linaro GCC 4.8.2-2013.06 toolchain
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]18/05/2013[/B][/COLOR]
    - Released a new Linaro GCC 4.6.4-2013.05 toolchain optimized for
      Cortex-A8 cpu with Neon technology support
    - Released a new Linaro GCC 4.6.4-2013.05 toolchain
    - Released a new Linaro GCC 4.7.4-2013.05 toolchain optimized for
      Cortex-A8 cpu with Neon technology support
    - Released a new Linaro GCC 4.7.4-2013.05 toolchain
    - Released a new Linaro GCC 4.8.1-2013.05 toolchain optimized for
      Cortex-A8 cpu with Neon technology support
    - Released a new Linaro GCC 4.8.1-2013.05 toolchain
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]26/04/2013[/B][/COLOR]
    - Released a new Linaro GCC 4.8.1-2013.04 toolchain optimized for
      Cortex-A8 cpu with Neon technology support
    - Released a new Linaro GCC 4.8.1-2013.04 toolchain
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]25/04/2013[/B][/COLOR]
    - Released a new Linaro GCC 4.6.4-2013.04 toolchain optimized for
      Cortex-A8 cpu with Neon technology support
    - Released a new Linaro GCC 4.6.4-2013.04 toolchain
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]12/04/2013[/B][/COLOR]
    - Released a new Linaro GCC 4.7.3-2013.04 toolchain optimized for
      Cortex-A8 cpu with Neon technology support
    - Released a new Linaro GCC 4.7.3-2013.04 toolchain
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]15/03/2013[/B][/COLOR]
    - Released a new Linaro GCC 4.7.3-2013.03 toolchain optimized for
      Cortex-A8 cpu with Neon technology support
    - Released a new Linaro GCC 4.7.3-2013.03 toolchain
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]16/02/2013[/B][/COLOR]
    - Released a new Linaro GCC 4.7.3-2013.02 toolchain optimized for
      Cortex-A8 cpu with Neon technology support
    - Released a new Linaro GCC 4.7.3-2013.02 toolchain
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]26/01/2013[/B][/COLOR]
    - Released a new Linaro GCC 4.7.3-2013.01 toolchain optimized for
      Cortex-A8 cpu with Neon technology support
    - Released two new Linaro GCC 4.6.4-2013.01 toolchains
    - Released two new toolchains with standard GCC 4.7.2 and GDB 7.4.1
      instead of Linaro versions
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]25/01/2013[/B][/COLOR]
    - Released a new Linaro GCC 4.7.3-2013.01 toolchain
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]18/01/2013[/B][/COLOR]
    - Released two new Linaro GCC 4.7.3-2013.01 toolchains
    
    [CENTER]***********[/CENTER]
    
    [COLOR="DarkGreen"][B]13/01/2013[/B][/COLOR]
    - Released first test builds
    89
    HOW TO: Build your customized Cross Compiler Toolchain

    This is a guide to make a custom build of your toolchain on Ubuntu Linux (I use version 12.10 and 13.04, but should also fit on 12.04).

    1) Open the terminal, install the following packages (I hope the list is complete, let me know if something is missing):
    Code:
    sudo apt-get install mercurial mercurial-common flex bison gperf ncurses-dev texinfo gcc g++ \
    autoconf automake libtool gawk patch autotools-dev libsigsegv2 libmpfr-dev libgmp-dev \
    libltdl-dev libgmpxx4ldbl libmpc-dev expat libexpat1-dev libpython3.3 libpython3.3-stdlib \
    libssl-dev libssl-dev zlib1g-dev subversion

    2A) Clone my customized CrossTool-NG repository
    For latest builds:
    Code:
    git clone https://github.com/Christopher83/crosstool-ng.git
    For 2014 builds:
    Code:
    git clone https://github.com/Christopher83/linaro_crosstool-ng.git
    OR 2B) Clone Linaro CrossTool-NG repository
    Code:
    bzr branch lp:~linaro-toolchain-dev/crosstool-ng/linaro crosstool-ng
    OR 2C) Clone Standard CrossTool-NG repository
    Code:
    hg clone http://crosstool-ng.org/hg/crosstool-ng

    3) If you chose 2B or 2C, download, if you wish, the compressed archive containing my configuration files
    and unzip it inside the folder crosstool-ng/samples (note: crosstool-ng is the folder of the builder sources you previously cloned)

    4) Configure the folder where you would like to install the builder script (replace /crosstool-ng_install_path with the absolute path you prefer):
    Code:
    cd crosstool-ng
    ./bootstrap # If present, it's needed only for some versions of crosstool-NG
    ./configure --prefix=[I]/crosstool-ng_install_path[/I]

    5) Build the sources and install the builder:
    Code:
    make
    make install

    Within your target folder /crosstool-ng_install_path you will find a new folder named bin with only an executable script named ct-ng

    Edit your .bashrc
    Code:
    gedit ~/.bashrc

    and add, at the bottom of the file, the reference to the installation location of the builder /crosstool-ng_install_path
    Code:
    export PATH=${PATH}:[I]/crosstool-ng_install_path[/I]

    6) You should be ready, try running these commands
    Display the script help
    Code:
    ct-ng help

    View the list of samples configurations
    Code:
    ct-ng list-samples

    Display the information about a sample configuration
    Code:
    ct-ng show [I]config_name[/I]

    7) Now proceed with the configuration of your toolchain
    7A) Starting from a default configuration file sample
    Code:
    ct-ng arm-unknown-linux-gnueabi
    ct-ng menuconfig

    Remember to enable debugging, so if something goes wrong you can restart from the last successfull step
    Code:
    Paths and misc options  --->
    (*) Debug crosstool-NG
    ( )   Pause between every steps
    (*)   Save intermediate steps
    (*)     gzip saved states

    7B) Starting from one of my configurations you can find inside the samples package
    Code:
    ct-ng [I]chosen_configuration_name[/I]
    ct-ng menuconfig

    If the GCC version or the Linux version is not ready also after the sync of ct_ng repo, you have to temporarly edit the files:
    - config/cc/gcc.in
    - config/kernel/linux.in
    The same may be necessary for the other tools.

    8) Build your toolchain (replace the 4 with the number of parallel jobs that you want, based on your number of cores)
    Code:
    ct-ng build.4

    The build process takes a long time, depending on your network speed (you need to download all the source packages of the tools and libraries of the toolchain) and on your PC configuration.

    NOTE:
    If the build fails, write down the last step was successful, check the error message and correct the configuration or install any missing package.
    You can get a list of the steps that can be used by running
    Code:
    ct-ng list-steps

    After resolving the problem, you can restore the build simply running (replace last_successfull_step with your successfull built step)
    Code:
    ct-ng [I]last_successfull_step[/I]+
    The + after the name of the step means "restart from the step after the one indicated"
    I hope I'm not missing anything.
    Let me know...
    79
    HOW TO: Use a toolchain for your kernel builds

    - Download the compressed file of your preferred toolchain
    - Uncompress the file inside your toolchains folder
    - Open a terminal
    - Change dir to your kernel sources path
    Code:
     cd [I]/YOUR_KERNEL_SOURCES_PATH[/I]
    where /YOUR_KERNEL_SOURCES_PATH is the path where you have cloned the kernel sources repository

    - Export the required architecture and cross compiler toolchain path for the next build commands
    Code:
     export ARCH=arm
     export CROSS_COMPILE=[I]/YOUR_TOOLCHAINS_PATH[/I]/[I]TOOLCHAIN_FOLDER_NAME[/I]/bin/[I]TOOLCHAIN_PREFIX[/I]-
    where
    /YOUR_TOOLCHAINS_PATH is the path where you have extracted the compressed toolchain (eg. /opt/toolchains)
    TOOLCHAIN_FOLDER_NAME is the name of the toolchain folder previously uncompressed (eg. arm-cortex_a8-linux-gnueabi-linaro_4.7.3-2013.02)
    TOOLCHAIN_PREFIX- is the prefix of the chosen toolchain (eg. arm-cortex_a8-linux-gnueabi- or arm-unknown-linux-gnueabi- or, for the builds released from 16/02/2013, simply arm-gnueabi-)

    - Clean the output of your previous build
    Code:
    make clean
    - Configure your kernel build
    Code:
     # If is the first build
     make your_device_defconfig
     # If you want to change some kernel configuration options
     make menuconfig

    - Build your kernel
    Code:
     make -j5
    Replace make -j5 according to your pc configuration (-j5 uses 5 parallel build jobs and is suitable for a quad core cpu)
    29
    Linaro GCC 4.9.4 2015.06 Toolchains

    - Released a new Linaro GCC 4.9.4-2015.06 toolchain optimized for Cortex-A15 cpu with Neon-VFPv4 technology support:
    arm-cortex_a15-linux-gnueabihf-linaro_4.9.4-2015.06-build_2015_07_14
    - Released a new Linaro GCC 4.9.4-2015.06 toolchain optimized for Cortex-A9 cpu with Neon-VFPv3 technology support:
    arm-cortex_a9-linux-gnueabihf-linaro_4.9.4-2015.06-build_2015_07_15
    - Released a new Linaro GCC 4.9.4-2015.06 toolchain optimized for Cortex-A7 cpu with Neon-VFPv4 technology support:
    arm-cortex_a7-linux-gnueabihf-linaro_4.9.4-2015.06-build_2015_07_15
    - Released a new Linaro GCC 4.9.4-2015.06 toolchain optimized for Cortex-A8 cpu with Neon-VFPv3 technology support:
    arm-cortex_a8-linux-gnueabi-linaro_4.9.4-2015.06-build_2015_07_14
    - Released a new Linaro GCC 4.9.4-2015.06 toolchain for generic Cortex-A cpu:
    arm-cortex-linux-gnueabi-linaro_4.9.4-2015.06-build_2015_07_13

    Configuration:
    Code:
    - Target -> Linux Kernel 3.4.108
    - Linaro GCC 4.9-2015.06 (4.9.4)
    - Linaro Binutils 2.25-2015.01
    - GLibc 2.21
    - Linaro GDB 7.8-2014.09
    - GMP 6.0.0a
    - MPFR 3.1.2
    - ISL 0.12.2
    - CLOOG 0.18.1
    - MPC 1.0.2
    - Hard float with soft float support for Cortex-A15, Cortex-A9 and Cortex-A7 cpu toolchains
    - Softfp for Cortex-A8 and generic Cortex-A cpu toolchains
    - Multilib support for Cortex-A8 and generic Cortex-A cpu toolchains
    - Possibility to use the alias [I][COLOR="Blue"]arm-eabi-[/COLOR][/I] as prefix of each tool