package/gcc: remove gcc 5.5 or1k fork
PATCH 1/1 package/gcc: remove gcc 5.5 or1k fork
Remove the old gcc 5.5 fork for or1k architecture
that start to fail to build with recent version
of Binutils >= 2.32 with the following error:
host-gcc-final-or1k-musl-5.4.0-20170218/build/./gcc/crtbeginS.o: addend should be zero for plt relocations host/or1k-buildroot-linux-uclibc/bin/ld: final link failed: bad value
https://gitlab.com/kubu93/buildroot/-/jobs/391938988
--- Config.in.legacy | 7 +++++++ package/gcc/Config.in.host | 8 -------- package/gcc/gcc.mk | 5 +---- 3 files changed, 8 insertions(+), 12 deletions(-)
Config.in.legacy +7 -0
@@ -146,6 +146,13 @@ endif comment "Legacy options removed in 2020.02" +config BR2_GCC_VERSION_OR1K + bool "gcc 5.x fork for or1k has been removed" + select BR2_LEGACY + help + Support for gcc 5.x for or1k has been removed. The current + default version (9.x or later) has been selected instead. + config BR2_PACKAGE_PYTHON_SCAPY3K bool "python-scapy3k is replaced by python-scapy" select BR2_LEGACY
package/gcc/Config.in.host +0 -8
@@ -4,7 +4,6 @@ choice prompt "GCC compiler Version" default BR2_GCC_VERSION_ARC if BR2_arc default BR2_GCC_VERSION_CSKY if BR2_csky - default BR2_GCC_VERSION_OR1K if BR2_or1k default BR2_GCC_VERSION_8_X help Select the version of gcc you wish to use.
@@ -21,12 +20,6 @@ config BR2_GCC_VERSION_CSKY depends on BR2_csky select BR2_TOOLCHAIN_GCC_AT_LEAST_6 -config BR2_GCC_VERSION_OR1K - bool "gcc or1k (5.x)" - # Only supported architecture - depends on BR2_or1k - select BR2_TOOLCHAIN_GCC_AT_LEAST_5 - config BR2_GCC_VERSION_5_X bool "gcc 5.x" depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_6
@@ -96,7 +89,6 @@ config BR2_GCC_VERSION default "8.3.0" if BR2_GCC_VERSION_8_X default "9.2.0" if BR2_GCC_VERSION_9_X default "arc-2019.09-rc1" if BR2_GCC_VERSION_ARC - default "or1k-musl-5.4.0-20170218" if BR2_GCC_VERSION_OR1K default "48152afb96c59733d5bc79e3399bb7b3d4b44266" if BR2_GCC_VERSION_CSKY config BR2_EXTRA_GCC_CONFIG_OPTIONS
package/gcc/gcc.mk +1 -4
@@ -13,9 +13,6 @@ GCC_VERSION = $(call qstrip,$(BR2_GCC_VERSION)) ifeq ($(BR2_GCC_VERSION_ARC),y) GCC_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,gcc,$(GCC_VERSION)) GCC_SOURCE = gcc-$(GCC_VERSION).tar.gz -else ifeq ($(BR2_GCC_VERSION_OR1K),y) -GCC_SITE = $(call github,openrisc,or1k-gcc,$(GCC_VERSION)) -GCC_SOURCE = gcc-$(GCC_VERSION).tar.gz else ifeq ($(BR2_csky),y) GCC_SITE = $(call github,c-sky,gcc,$(GCC_VERSION)) GCC_SOURCE = gcc-$(GCC_VERSION).tar.gz
@@ -168,7 +165,7 @@ else HOST_GCC_COMMON_CONF_OPTS += --without-isl --without-cloog endif -ifeq ($(BR2_arc)$(BR2_GCC_VERSION_OR1K),y) +ifeq ($(BR2_arc),y) HOST_GCC_COMMON_DEPENDENCIES += host-flex host-bison endif
Signature · 1 line
2.24.1
PATCH 1/1 package/gcc: remove gcc 5.5 or1k fork
Hi All,
Le 02/01/2020 ? 23:04, Romain Naour a ?crit?:
Quoted 8 lines
Remove the old gcc 5.5 fork for or1k architecture
that start to fail to build with recent version
of Binutils >= 2.32 with the following error:
host-gcc-final-or1k-musl-5.4.0-20170218/build/./gcc/crtbeginS.o: addend should be zero for plt relocations host/or1k-buildroot-linux-uclibc/bin/ld: final link failed: bad value
binutils 2.34 has been released this weekend, it means that binutils 2.31 will be removed after adding binutils 2.34:
https://lists.gnu.org/archive/html/info-gnu/2020-02/msg00000.html
So this issue will be trigged with all binutils version available in Buildroot (2.31 -> 2.34).
Best regards,
Romain
Quoted 83 lines
Signed-off-by Romain Naour <[email protected]>--- Config.in.legacy | 7 +++++++ package/gcc/Config.in.host | 8 -------- package/gcc/gcc.mk | 5 +---- 3 files changed, 8 insertions(+), 12 deletions(-)Config.in.legacy +7
-0@@ -146,6 +146,13 @@ endif comment "Legacy options removed in 2020.02" +config BR2_GCC_VERSION_OR1K + bool "gcc 5.x fork for or1k has been removed" + select BR2_LEGACY + help + Support for gcc 5.x for or1k has been removed. The current + default version (9.x or later) has been selected instead. + config BR2_PACKAGE_PYTHON_SCAPY3K bool "python-scapy3k is replaced by python-scapy" select BR2_LEGACYpackage/gcc/Config.in.host +0
-8@@ -4,7 +4,6 @@ choice prompt "GCC compiler Version" default BR2_GCC_VERSION_ARC if BR2_arc default BR2_GCC_VERSION_CSKY if BR2_csky - default BR2_GCC_VERSION_OR1K if BR2_or1k default BR2_GCC_VERSION_8_X help Select the version of gcc you wish to use.@@ -21,12 +20,6 @@ config BR2_GCC_VERSION_CSKY depends on BR2_csky select BR2_TOOLCHAIN_GCC_AT_LEAST_6 -config BR2_GCC_VERSION_OR1K - bool "gcc or1k (5.x)" - # Only supported architecture - depends on BR2_or1k - select BR2_TOOLCHAIN_GCC_AT_LEAST_5 - config BR2_GCC_VERSION_5_X bool "gcc 5.x" depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_6@@ -96,7 +89,6 @@ config BR2_GCC_VERSION default "8.3.0" if BR2_GCC_VERSION_8_X default "9.2.0" if BR2_GCC_VERSION_9_X default "arc-2019.09-rc1" if BR2_GCC_VERSION_ARC - default "or1k-musl-5.4.0-20170218" if BR2_GCC_VERSION_OR1K default "48152afb96c59733d5bc79e3399bb7b3d4b44266" if BR2_GCC_VERSION_CSKY config BR2_EXTRA_GCC_CONFIG_OPTIONSpackage/gcc/gcc.mk +1
-4@@ -13,9 +13,6 @@ GCC_VERSION = $(call qstrip,$(BR2_GCC_VERSION)) ifeq ($(BR2_GCC_VERSION_ARC),y) GCC_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,gcc,$(GCC_VERSION)) GCC_SOURCE = gcc-$(GCC_VERSION).tar.gz -else ifeq ($(BR2_GCC_VERSION_OR1K),y) -GCC_SITE = $(call github,openrisc,or1k-gcc,$(GCC_VERSION)) -GCC_SOURCE = gcc-$(GCC_VERSION).tar.gz else ifeq ($(BR2_csky),y) GCC_SITE = $(call github,c-sky,gcc,$(GCC_VERSION)) GCC_SOURCE = gcc-$(GCC_VERSION).tar.gz@@ -168,7 +165,7 @@ else HOST_GCC_COMMON_CONF_OPTS += --without-isl --without-cloog endif -ifeq ($(BR2_arc)$(BR2_GCC_VERSION_OR1K),y) +ifeq ($(BR2_arc),y) HOST_GCC_COMMON_DEPENDENCIES += host-flex host-bison endif
PATCH 1/1 package/gcc: remove gcc 5.5 or1k fork
In reply to Romain NaourQuoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Romain" == Romain Naour <[email protected]> writes:
Remove the old gcc 5.5 fork for or1k architecture
that start to fail to build with recent version
of Binutils >= 2.32 with the following error:
Quoted 6 lines
host-gcc-final-or1k-musl-5.4.0-20170218/build/./gcc/crtbeginS.o: addend should be zero for plt relocations host/or1k-buildroot-linux-uclibc/bin/ld: final link failed: bad valuehttps://gitlab.com/kubu93/buildroot/-/jobs/391938988
Signed-off-by Romain Naour <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard