* [Buildroot] [PATCH 1/4] toolchain/external: bump Linaro ARM to 2016.05 for i686 hosts
@ 2016-10-11 21:04 Romain Naour
2016-10-11 21:04 ` [Buildroot] [PATCH 2/4] toolchain/external: bump Linaro ARMeb " Romain Naour
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: Romain Naour @ 2016-10-11 21:04 UTC (permalink / raw)
To: buildroot
This Linaro release provide a new toolchain archive for i686 hosts, so update our
old 2014.09.
Tested with Qemu qemu-2.4.1-11.fc23 and with HOSTARCH set to x86 in the Buildroot
main Makefile.
Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
My host is a x86_64
---
toolchain/toolchain-external/Config.in | 29 +---------------------
.../toolchain-external/toolchain-external.hash | 3 +--
toolchain/toolchain-external/toolchain-external.mk | 7 ++----
3 files changed, 4 insertions(+), 35 deletions(-)
diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index 2b17b7a..4293369 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -11,38 +11,11 @@ comment "Linaro toolchains available for Cortex-A + EABIhf"
depends on !BR2_ARM_CPU_ARMV7A || !BR2_ARM_EABIHF
depends on !BR2_STATIC_LIBS
-# Note: we use the same symbol for both Linaro toolchains.
-# Since they have different dependencies (the host), we can
-# give them different prompts and different help texts.
-config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
- bool "Linaro ARM 2014.09"
- depends on BR2_arm
- depends on BR2_ARM_CPU_ARMV7A
- depends on BR2_HOSTARCH = "x86"
- depends on BR2_ARM_EABIHF
- depends on !BR2_STATIC_LIBS
- select BR2_TOOLCHAIN_EXTERNAL_GLIBC
- select BR2_TOOLCHAIN_HAS_SSP
- select BR2_TOOLCHAIN_HAS_NATIVE_RPC
- select BR2_INSTALL_LIBSTDCPP
- select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
- select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
- select BR2_TOOLCHAIN_HAS_FORTRAN
- help
- Linaro toolchain for the ARM architecture. It uses Linaro
- GCC 2014.09 (based on gcc 4.9), Linaro GDB 2013.10 (based on
- GDB 7.6), eglibc 2.19, Binutils 2014.09 (based on 2.24). It
- generates code that runs on all Cortex-A profile devices,
- but tuned for the Cortex-A9. The code generated is Thumb 2,
- with the hard floating point calling convention, and uses
- the VFPv3-D16 FPU instructions.
-
-# See the note above.
config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
bool "Linaro ARM 2016.05"
depends on BR2_arm
depends on BR2_ARM_CPU_ARMV7A
- depends on BR2_HOSTARCH = "x86_64"
+ depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
depends on BR2_ARM_EABIHF
depends on !BR2_STATIC_LIBS
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
diff --git a/toolchain/toolchain-external/toolchain-external.hash b/toolchain/toolchain-external/toolchain-external.hash
index 9059175..b89b346 100644
--- a/toolchain/toolchain-external/toolchain-external.hash
+++ b/toolchain/toolchain-external/toolchain-external.hash
@@ -35,8 +35,7 @@ sha256 254af7d02eb3bcc8345c78e131700bc995d65b68232caaed21150a5fd1456070 arago-2
sha256 25fbf0513ad7322b15cbaae964cafadcbb4c939f2708f57f40b8f9f2d601122b arago-toolchain-2011.09-sources.tar.bz2
# ARM and Aarch64 toolchains from Linaro
-sha256 0cffac0caea0eb3c8bdddfa14be011ce366680f40aeddbefc7cf23cb6d4f1891 gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz
-sha256 eafeb3a5247e9ce31aa35d812e296fba5d5f1443e106d9bef9e38d3ee3ade006 gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_src.tar.bz2
+sha256 f1421c580ce977226f4fefc9c409b3b423260cc65a6e9dc6da88bb3478a521a0 gcc-linaro-5.3.1-2016.05-i686_arm-linux-gnueabihf.tar.xz
sha256 987941c9fffdf56ffcbe90e8984673c16648c477b537fcf43add22fa62f161cd gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabihf.tar.xz
sha256 4bc9d86390f8fa67a693ba4768ba5b12faaf7dd37c706c05ccd9321e765226e4 gcc-linaro-armeb-linux-gnueabihf-4.9-2014.09_linux.tar.xz
sha256 bf5d3111dad5aa9aef0e955875fb7fc9e918cb24519af7014dd67a9e581a49b1 gcc-linaro-armeb-linux-gnueabihf-4.9-2014.09_src.tar.bz2
diff --git a/toolchain/toolchain-external/toolchain-external.mk b/toolchain/toolchain-external/toolchain-external.mk
index 6fd2742..d7fa9df 100644
--- a/toolchain/toolchain-external/toolchain-external.mk
+++ b/toolchain/toolchain-external/toolchain-external.mk
@@ -329,13 +329,10 @@ define TOOLCHAIN_EXTERNAL_FIXUP_CMDS
endef
TOOLCHAIN_EXTERNAL_POST_EXTRACT_HOOKS += TOOLCHAIN_EXTERNAL_FIXUP_CMDS
else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM),y)
+TOOLCHAIN_EXTERNAL_SITE = https://releases.linaro.org/components/toolchain/binaries/5.3-2016.05/arm-linux-gnueabihf
ifeq ($(HOSTARCH),x86)
-TOOLCHAIN_EXTERNAL_SITE = https://releases.linaro.org/14.09/components/toolchain/binaries
-TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz
-TOOLCHAIN_EXTERNAL_ACTUAL_SOURCE_TARBALL = gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_src.tar.bz2
-TOOLCHAIN_EXTERNAL_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_EXTERNAL_LINARO_SYMLINK
+TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-5.3.1-2016.05-i686_arm-linux-gnueabihf.tar.xz
else
-TOOLCHAIN_EXTERNAL_SITE = https://releases.linaro.org/components/toolchain/binaries/5.3-2016.05/arm-linux-gnueabihf
TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabihf.tar.xz
endif
else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB),y)
--
2.5.5
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 2/4] toolchain/external: bump Linaro ARMeb to 2016.05 for i686 hosts
2016-10-11 21:04 [Buildroot] [PATCH 1/4] toolchain/external: bump Linaro ARM to 2016.05 for i686 hosts Romain Naour
@ 2016-10-11 21:04 ` Romain Naour
2016-10-11 21:04 ` [Buildroot] [PATCH 3/4] toolchain/external: bump Linaro AArch64 " Romain Naour
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Romain Naour @ 2016-10-11 21:04 UTC (permalink / raw)
To: buildroot
Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
toolchain/toolchain-external/Config.in | 27 +---------------------
.../toolchain-external/toolchain-external.hash | 3 +--
toolchain/toolchain-external/toolchain-external.mk | 7 ++----
3 files changed, 4 insertions(+), 33 deletions(-)
diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index 4293369..d01da01 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -34,36 +34,11 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
with the hard floating point calling convention, and uses
the VFPv3-D16 FPU instructions.
-# See the note above.
-config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
- bool "Linaro armeb 2014.09"
- depends on BR2_armeb
- depends on BR2_ARM_CPU_ARMV7A
- depends on BR2_HOSTARCH = "x86"
- depends on BR2_ARM_EABIHF
- depends on !BR2_STATIC_LIBS
- select BR2_TOOLCHAIN_EXTERNAL_GLIBC
- select BR2_TOOLCHAIN_HAS_SSP
- select BR2_TOOLCHAIN_HAS_NATIVE_RPC
- select BR2_INSTALL_LIBSTDCPP
- select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
- select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
- select BR2_TOOLCHAIN_HAS_FORTRAN
- help
- Linaro toolchain for the ARM big endian architecture. It
- uses Linaro GCC 2014.09 (based on gcc 4.9), Linaro GDB
- 2013.10 (based on GDB 7.6), eglibc 2.19, Binutils 2014.09
- (based on 2.24). It generates code that runs on all Cortex-A
- profile devices, but tuned for the Cortex-A9. The code
- generated is Thumb 2, with the hard floating point calling
- convention, and uses the VFPv3-D16 FPU instructions.
-
-# See the note above.
config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
bool "Linaro armeb 2016.05"
depends on BR2_armeb
depends on BR2_ARM_CPU_ARMV7A
- depends on BR2_HOSTARCH = "x86_64"
+ depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
depends on BR2_ARM_EABIHF
depends on !BR2_STATIC_LIBS
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
diff --git a/toolchain/toolchain-external/toolchain-external.hash b/toolchain/toolchain-external/toolchain-external.hash
index b89b346..65be7dd 100644
--- a/toolchain/toolchain-external/toolchain-external.hash
+++ b/toolchain/toolchain-external/toolchain-external.hash
@@ -37,8 +37,7 @@ sha256 25fbf0513ad7322b15cbaae964cafadcbb4c939f2708f57f40b8f9f2d601122b arago-t
# ARM and Aarch64 toolchains from Linaro
sha256 f1421c580ce977226f4fefc9c409b3b423260cc65a6e9dc6da88bb3478a521a0 gcc-linaro-5.3.1-2016.05-i686_arm-linux-gnueabihf.tar.xz
sha256 987941c9fffdf56ffcbe90e8984673c16648c477b537fcf43add22fa62f161cd gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabihf.tar.xz
-sha256 4bc9d86390f8fa67a693ba4768ba5b12faaf7dd37c706c05ccd9321e765226e4 gcc-linaro-armeb-linux-gnueabihf-4.9-2014.09_linux.tar.xz
-sha256 bf5d3111dad5aa9aef0e955875fb7fc9e918cb24519af7014dd67a9e581a49b1 gcc-linaro-armeb-linux-gnueabihf-4.9-2014.09_src.tar.bz2
+sha256 f6e9c0d3320760fe8f89e9ec3acdd7b4da7eff889c094b4a2acc286fd46f334f gcc-linaro-5.3.1-2016.05-i686_armeb-linux-gnueabihf.tar.xz
sha256 6cf41c8944be56279cc14992aa075174b7a4c5938502536266eaaeef048f9440 gcc-linaro-5.3.1-2016.05-x86_64_armeb-linux-gnueabihf.tar.xz
sha256 3954f496ab01de67241109e82abfaa9b7625fdab4f05e79e7902e9814a07b832 gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux.tar.xz
sha256 a7b8f842fdc9d9be22ca4e0c999429780fc6f16ea798b032421b5ec0cfa53b3e gcc-linaro-aarch64-linux-gnu-4.9-2014.09_src.tar.bz2
diff --git a/toolchain/toolchain-external/toolchain-external.mk b/toolchain/toolchain-external/toolchain-external.mk
index d7fa9df..fd1e75a 100644
--- a/toolchain/toolchain-external/toolchain-external.mk
+++ b/toolchain/toolchain-external/toolchain-external.mk
@@ -336,13 +336,10 @@ else
TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabihf.tar.xz
endif
else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB),y)
+TOOLCHAIN_EXTERNAL_SITE = https://releases.linaro.org/components/toolchain/binaries/5.3-2016.05/armeb-linux-gnueabihf
ifeq ($(HOSTARCH),x86)
-TOOLCHAIN_EXTERNAL_SITE = https://releases.linaro.org/14.09/components/toolchain/binaries
-TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-armeb-linux-gnueabihf-4.9-2014.09_linux.tar.xz
-TOOLCHAIN_EXTERNAL_ACTUAL_SOURCE_TARBALL = gcc-linaro-armeb-linux-gnueabihf-4.9-2014.09_src.tar.bz2
-TOOLCHAIN_EXTERNAL_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_EXTERNAL_LINARO_SYMLINK
+TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-5.3.1-2016.05-i686_armeb-linux-gnueabihf.tar.xz
else
-TOOLCHAIN_EXTERNAL_SITE = https://releases.linaro.org/components/toolchain/binaries/5.3-2016.05/armeb-linux-gnueabihf
TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-5.3.1-2016.05-x86_64_armeb-linux-gnueabihf.tar.xz
endif
else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS),y)
--
2.5.5
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 3/4] toolchain/external: bump Linaro AArch64 to 2016.05 for i686 hosts
2016-10-11 21:04 [Buildroot] [PATCH 1/4] toolchain/external: bump Linaro ARM to 2016.05 for i686 hosts Romain Naour
2016-10-11 21:04 ` [Buildroot] [PATCH 2/4] toolchain/external: bump Linaro ARMeb " Romain Naour
@ 2016-10-11 21:04 ` Romain Naour
2016-10-11 21:05 ` [Buildroot] [PATCH 4/4] toolchain/external: remove unused Linaro symlink hook Romain Naour
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Romain Naour @ 2016-10-11 21:04 UTC (permalink / raw)
To: buildroot
Tested with Qemu 2.6.1 and qemu_aarch64_virt_defconfig and with
HOSTARCH set to x86 in the Buildroot main Makefile.
Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
toolchain/toolchain-external/Config.in | 20 +-------------------
toolchain/toolchain-external/toolchain-external.hash | 3 +--
toolchain/toolchain-external/toolchain-external.mk | 7 ++-----
3 files changed, 4 insertions(+), 26 deletions(-)
diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index d01da01..1f0458e 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -480,28 +480,10 @@ config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX
Toolchain for the Blackfin architecture, from
http://blackfin.uclinux.org.
-# See note about Linaro ARM/ARMEB toolchains, above.
-config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
- bool "Linaro AArch64 14.09"
- depends on BR2_aarch64
- depends on BR2_HOSTARCH = "x86"
- depends on !BR2_STATIC_LIBS
- select BR2_TOOLCHAIN_EXTERNAL_GLIBC
- select BR2_TOOLCHAIN_HAS_SSP
- select BR2_INSTALL_LIBSTDCPP
- select BR2_TOOLCHAIN_HAS_NATIVE_RPC
- select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
- select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
- select BR2_TOOLCHAIN_HAS_FORTRAN
- help
- Toolchain for the AArch64 architecture, from
- http://www.linaro.org/engineering/armv8/
-
-# See note about Linaro ARM/ARMEB toolchains, above.
config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
bool "Linaro AArch64 2016.05"
depends on BR2_aarch64
- depends on BR2_HOSTARCH = "x86_64"
+ depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
depends on !BR2_STATIC_LIBS
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
select BR2_TOOLCHAIN_HAS_SSP
diff --git a/toolchain/toolchain-external/toolchain-external.hash b/toolchain/toolchain-external/toolchain-external.hash
index 65be7dd..41c2ab3 100644
--- a/toolchain/toolchain-external/toolchain-external.hash
+++ b/toolchain/toolchain-external/toolchain-external.hash
@@ -39,8 +39,7 @@ sha256 f1421c580ce977226f4fefc9c409b3b423260cc65a6e9dc6da88bb3478a521a0 gcc-lin
sha256 987941c9fffdf56ffcbe90e8984673c16648c477b537fcf43add22fa62f161cd gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabihf.tar.xz
sha256 f6e9c0d3320760fe8f89e9ec3acdd7b4da7eff889c094b4a2acc286fd46f334f gcc-linaro-5.3.1-2016.05-i686_armeb-linux-gnueabihf.tar.xz
sha256 6cf41c8944be56279cc14992aa075174b7a4c5938502536266eaaeef048f9440 gcc-linaro-5.3.1-2016.05-x86_64_armeb-linux-gnueabihf.tar.xz
-sha256 3954f496ab01de67241109e82abfaa9b7625fdab4f05e79e7902e9814a07b832 gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux.tar.xz
-sha256 a7b8f842fdc9d9be22ca4e0c999429780fc6f16ea798b032421b5ec0cfa53b3e gcc-linaro-aarch64-linux-gnu-4.9-2014.09_src.tar.bz2
+sha256 d43227248f282a652da42322fcf4abfd3021f2a2f62e0cf6e242d82f55966ba9 gcc-linaro-5.3.1-2016.05-i686_aarch64-linux-gnu.tar.xz
sha256 1941dcf6229d6706bcb89b7976d5d43d170efdd17c27d5fe1738e7ecf22adc37 gcc-linaro-5.3.1-2016.05-x86_64_aarch64-linux-gnu.tar.xz
# Codescape toolchains from Imagination Technologies
diff --git a/toolchain/toolchain-external/toolchain-external.mk b/toolchain/toolchain-external/toolchain-external.mk
index fd1e75a..39c5734 100644
--- a/toolchain/toolchain-external/toolchain-external.mk
+++ b/toolchain/toolchain-external/toolchain-external.mk
@@ -376,13 +376,10 @@ TOOLCHAIN_EXTERNAL_EXTRA_DOWNLOADS = blackfin-toolchain-uclibc-full-2014R1-RC2.i
TOOLCHAIN_EXTERNAL_STRIP_COMPONENTS = 3
TOOLCHAIN_EXTERNAL_POST_EXTRACT_HOOKS += TOOLCHAIN_EXTERNAL_BLACKFIN_UCLIBC_EXTRA_EXTRACT
else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64),y)
+TOOLCHAIN_EXTERNAL_SITE = https://releases.linaro.org/components/toolchain/binaries/5.3-2016.05/aarch64-linux-gnu
ifeq ($(HOSTARCH),x86)
-TOOLCHAIN_EXTERNAL_SITE = https://releases.linaro.org/14.09/components/toolchain/binaries
-TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux.tar.xz
-TOOLCHAIN_EXTERNAL_ACTUAL_SOURCE_TARBALL = gcc-linaro-aarch64-linux-gnu-4.9-2014.09_src.tar.bz2
-TOOLCHAIN_EXTERNAL_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_EXTERNAL_LINARO_SYMLINK
+TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-5.3.1-2016.05-i686_aarch64-linux-gnu.tar.xz
else
-TOOLCHAIN_EXTERNAL_SITE = https://releases.linaro.org/components/toolchain/binaries/5.3-2016.05/aarch64-linux-gnu
TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-5.3.1-2016.05-x86_64_aarch64-linux-gnu.tar.xz
endif
else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64),y)
--
2.5.5
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 4/4] toolchain/external: remove unused Linaro symlink hook
2016-10-11 21:04 [Buildroot] [PATCH 1/4] toolchain/external: bump Linaro ARM to 2016.05 for i686 hosts Romain Naour
2016-10-11 21:04 ` [Buildroot] [PATCH 2/4] toolchain/external: bump Linaro ARMeb " Romain Naour
2016-10-11 21:04 ` [Buildroot] [PATCH 3/4] toolchain/external: bump Linaro AArch64 " Romain Naour
@ 2016-10-11 21:05 ` Romain Naour
2016-10-14 21:49 ` [Buildroot] [PATCH 1/4] toolchain/external: bump Linaro ARM to 2016.05 for i686 hosts Romain Naour
2016-10-16 11:12 ` Thomas Petazzoni
4 siblings, 0 replies; 6+ messages in thread
From: Romain Naour @ 2016-10-11 21:05 UTC (permalink / raw)
To: buildroot
This hook was needed by 1014.09 Linaro toolchains.
Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
toolchain/toolchain-external/toolchain-external.mk | 8 --------
1 file changed, 8 deletions(-)
diff --git a/toolchain/toolchain-external/toolchain-external.mk b/toolchain/toolchain-external/toolchain-external.mk
index 39c5734..141dd10 100644
--- a/toolchain/toolchain-external/toolchain-external.mk
+++ b/toolchain/toolchain-external/toolchain-external.mk
@@ -257,14 +257,6 @@ ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y)
TOOLCHAIN_EXTERNAL_DEPENDENCIES += musl-compat-headers
endif
-# The Linaro toolchain expects the libraries in
-# {/usr,}/lib/<tuple>, but Buildroot copies them to
-# {/usr,}/lib, so we need to create a symbolic link.
-define TOOLCHAIN_EXTERNAL_LINARO_SYMLINK
- ln -snf . $(TARGET_DIR)/lib/$(TOOLCHAIN_EXTERNAL_PREFIX)
- ln -snf . $(TARGET_DIR)/usr/lib/$(TOOLCHAIN_EXTERNAL_PREFIX)
-endef
-
# The Codescape toolchain uses a sysroot layout that places them
# side-by-side instead of nested like multilibs. A symlink is needed
# much like for the nested sysroots which are handled in
--
2.5.5
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 1/4] toolchain/external: bump Linaro ARM to 2016.05 for i686 hosts
2016-10-11 21:04 [Buildroot] [PATCH 1/4] toolchain/external: bump Linaro ARM to 2016.05 for i686 hosts Romain Naour
` (2 preceding siblings ...)
2016-10-11 21:05 ` [Buildroot] [PATCH 4/4] toolchain/external: remove unused Linaro symlink hook Romain Naour
@ 2016-10-14 21:49 ` Romain Naour
2016-10-16 11:12 ` Thomas Petazzoni
4 siblings, 0 replies; 6+ messages in thread
From: Romain Naour @ 2016-10-14 21:49 UTC (permalink / raw)
To: buildroot
Hi Thomas,
Le 11/10/2016 ? 23:04, Romain Naour a ?crit :
> This Linaro release provide a new toolchain archive for i686 hosts, so update our
> old 2014.09.
>
> Tested with Qemu qemu-2.4.1-11.fc23 and with HOSTARCH set to x86 in the Buildroot
> main Makefile.
According to the Host Requirements [1], this new toolchain needs at least glibc
2.14. So, no need to update the autobuilder exception in autobuild-run :)
Tested on a squeeze chroot:
./arm-linux-gnueabihf-gcc --version
./arm-linux-gnueabihf-gcc: /lib/libc.so.6: version `GLIBC_2.14' not found
(required by ./arm-linux-gnueabihf-gcc)
Best regards,
Romain
[1] https://releases.linaro.org/components/toolchain/binaries/5.3-2016.05/
>
> Signed-off-by: Romain Naour <romain.naour@gmail.com>
> ---
> My host is a x86_64
> ---
> toolchain/toolchain-external/Config.in | 29 +---------------------
> .../toolchain-external/toolchain-external.hash | 3 +--
> toolchain/toolchain-external/toolchain-external.mk | 7 ++----
> 3 files changed, 4 insertions(+), 35 deletions(-)
>
> diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
> index 2b17b7a..4293369 100644
> --- a/toolchain/toolchain-external/Config.in
> +++ b/toolchain/toolchain-external/Config.in
> @@ -11,38 +11,11 @@ comment "Linaro toolchains available for Cortex-A + EABIhf"
> depends on !BR2_ARM_CPU_ARMV7A || !BR2_ARM_EABIHF
> depends on !BR2_STATIC_LIBS
>
> -# Note: we use the same symbol for both Linaro toolchains.
> -# Since they have different dependencies (the host), we can
> -# give them different prompts and different help texts.
> -config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
> - bool "Linaro ARM 2014.09"
> - depends on BR2_arm
> - depends on BR2_ARM_CPU_ARMV7A
> - depends on BR2_HOSTARCH = "x86"
> - depends on BR2_ARM_EABIHF
> - depends on !BR2_STATIC_LIBS
> - select BR2_TOOLCHAIN_EXTERNAL_GLIBC
> - select BR2_TOOLCHAIN_HAS_SSP
> - select BR2_TOOLCHAIN_HAS_NATIVE_RPC
> - select BR2_INSTALL_LIBSTDCPP
> - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1
> - select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
> - select BR2_TOOLCHAIN_HAS_FORTRAN
> - help
> - Linaro toolchain for the ARM architecture. It uses Linaro
> - GCC 2014.09 (based on gcc 4.9), Linaro GDB 2013.10 (based on
> - GDB 7.6), eglibc 2.19, Binutils 2014.09 (based on 2.24). It
> - generates code that runs on all Cortex-A profile devices,
> - but tuned for the Cortex-A9. The code generated is Thumb 2,
> - with the hard floating point calling convention, and uses
> - the VFPv3-D16 FPU instructions.
> -
> -# See the note above.
> config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
> bool "Linaro ARM 2016.05"
> depends on BR2_arm
> depends on BR2_ARM_CPU_ARMV7A
> - depends on BR2_HOSTARCH = "x86_64"
> + depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
> depends on BR2_ARM_EABIHF
> depends on !BR2_STATIC_LIBS
> select BR2_TOOLCHAIN_EXTERNAL_GLIBC
> diff --git a/toolchain/toolchain-external/toolchain-external.hash b/toolchain/toolchain-external/toolchain-external.hash
> index 9059175..b89b346 100644
> --- a/toolchain/toolchain-external/toolchain-external.hash
> +++ b/toolchain/toolchain-external/toolchain-external.hash
> @@ -35,8 +35,7 @@ sha256 254af7d02eb3bcc8345c78e131700bc995d65b68232caaed21150a5fd1456070 arago-2
> sha256 25fbf0513ad7322b15cbaae964cafadcbb4c939f2708f57f40b8f9f2d601122b arago-toolchain-2011.09-sources.tar.bz2
>
> # ARM and Aarch64 toolchains from Linaro
> -sha256 0cffac0caea0eb3c8bdddfa14be011ce366680f40aeddbefc7cf23cb6d4f1891 gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz
> -sha256 eafeb3a5247e9ce31aa35d812e296fba5d5f1443e106d9bef9e38d3ee3ade006 gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_src.tar.bz2
> +sha256 f1421c580ce977226f4fefc9c409b3b423260cc65a6e9dc6da88bb3478a521a0 gcc-linaro-5.3.1-2016.05-i686_arm-linux-gnueabihf.tar.xz
> sha256 987941c9fffdf56ffcbe90e8984673c16648c477b537fcf43add22fa62f161cd gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabihf.tar.xz
> sha256 4bc9d86390f8fa67a693ba4768ba5b12faaf7dd37c706c05ccd9321e765226e4 gcc-linaro-armeb-linux-gnueabihf-4.9-2014.09_linux.tar.xz
> sha256 bf5d3111dad5aa9aef0e955875fb7fc9e918cb24519af7014dd67a9e581a49b1 gcc-linaro-armeb-linux-gnueabihf-4.9-2014.09_src.tar.bz2
> diff --git a/toolchain/toolchain-external/toolchain-external.mk b/toolchain/toolchain-external/toolchain-external.mk
> index 6fd2742..d7fa9df 100644
> --- a/toolchain/toolchain-external/toolchain-external.mk
> +++ b/toolchain/toolchain-external/toolchain-external.mk
> @@ -329,13 +329,10 @@ define TOOLCHAIN_EXTERNAL_FIXUP_CMDS
> endef
> TOOLCHAIN_EXTERNAL_POST_EXTRACT_HOOKS += TOOLCHAIN_EXTERNAL_FIXUP_CMDS
> else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM),y)
> +TOOLCHAIN_EXTERNAL_SITE = https://releases.linaro.org/components/toolchain/binaries/5.3-2016.05/arm-linux-gnueabihf
> ifeq ($(HOSTARCH),x86)
> -TOOLCHAIN_EXTERNAL_SITE = https://releases.linaro.org/14.09/components/toolchain/binaries
> -TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz
> -TOOLCHAIN_EXTERNAL_ACTUAL_SOURCE_TARBALL = gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_src.tar.bz2
> -TOOLCHAIN_EXTERNAL_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_EXTERNAL_LINARO_SYMLINK
> +TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-5.3.1-2016.05-i686_arm-linux-gnueabihf.tar.xz
> else
> -TOOLCHAIN_EXTERNAL_SITE = https://releases.linaro.org/components/toolchain/binaries/5.3-2016.05/arm-linux-gnueabihf
> TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabihf.tar.xz
> endif
> else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB),y)
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH 1/4] toolchain/external: bump Linaro ARM to 2016.05 for i686 hosts
2016-10-11 21:04 [Buildroot] [PATCH 1/4] toolchain/external: bump Linaro ARM to 2016.05 for i686 hosts Romain Naour
` (3 preceding siblings ...)
2016-10-14 21:49 ` [Buildroot] [PATCH 1/4] toolchain/external: bump Linaro ARM to 2016.05 for i686 hosts Romain Naour
@ 2016-10-16 11:12 ` Thomas Petazzoni
4 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2016-10-16 11:12 UTC (permalink / raw)
To: buildroot
Hello,
On Tue, 11 Oct 2016 23:04:57 +0200, Romain Naour wrote:
> This Linaro release provide a new toolchain archive for i686 hosts, so update our
> old 2014.09.
>
> Tested with Qemu qemu-2.4.1-11.fc23 and with HOSTARCH set to x86 in the Buildroot
> main Makefile.
>
> Signed-off-by: Romain Naour <romain.naour@gmail.com>
> ---
> My host is a x86_64
> ---
> toolchain/toolchain-external/Config.in | 29 +---------------------
> .../toolchain-external/toolchain-external.hash | 3 +--
> toolchain/toolchain-external/toolchain-external.mk | 7 ++----
> 3 files changed, 4 insertions(+), 35 deletions(-)
All four patches applied. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-10-16 11:12 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-11 21:04 [Buildroot] [PATCH 1/4] toolchain/external: bump Linaro ARM to 2016.05 for i686 hosts Romain Naour
2016-10-11 21:04 ` [Buildroot] [PATCH 2/4] toolchain/external: bump Linaro ARMeb " Romain Naour
2016-10-11 21:04 ` [Buildroot] [PATCH 3/4] toolchain/external: bump Linaro AArch64 " Romain Naour
2016-10-11 21:05 ` [Buildroot] [PATCH 4/4] toolchain/external: remove unused Linaro symlink hook Romain Naour
2016-10-14 21:49 ` [Buildroot] [PATCH 1/4] toolchain/external: bump Linaro ARM to 2016.05 for i686 hosts Romain Naour
2016-10-16 11:12 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox