package/gcc: Enable gcc-8.x support for BR2_powerpc_spe
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 package/gcc: Enable gcc-8.x support for BR2_powerpc_spe
The GCC-7.x compiler series was the last to support BR2_powerpc_SPE CPUs within GCC.? After GCC-7.x support was removed as a default in buildroot, some boards, including the arcturus_ucp1020_defconfig and freescale_p1025twr_defconfig will fail to compile.
The GCC-8.x compiler series continues to support powerpc_spe CPU cores, but only as an --enable-obsoleted instruction set. This patch enables the use of GCC-8.x and asserts the required option to enable the powerpc_spe instruction set.
This Patch passes compilation and run tests with the arcturus/ppc-ucp1020? board.
This patch should address a noted job failure on GitLab CI
https://gitlab.com/buildroot.org/buildroot/-/jobs/805461732
---
?package/gcc/Config.in.host | 2 +-
?package/gcc/gcc.mk???????? | 1 +
?2 files changed, 2 insertions(+), 1 deletion(-)
package/gcc/Config.in.host +0 -0
@@ -27,7 +27,7 @@ config BR2_GCC_VERSION_8_X
??????? depends on !BR2_or1k
??????? # powerpc spe support has been deprecated since gcc 8.x. ??????? # https://gcc.gnu.org/ml/gcc/2018-04/msg00102.html
-?????? depends on !BR2_powerpc_SPE
+?????? # it can still be built with --enable-obsolete ??????? select BR2_TOOLCHAIN_GCC_AT_LEAST_8
?config BR2_GCC_VERSION_9_X
package/gcc/gcc.mk +0 -0
@@ -217,6 +217,7 @@ endif
?# Enable proper double/long double for SPE ABI
?ifeq ($(BR2_powerpc_SPE),y)
?HOST_GCC_COMMON_CONF_OPTS += \
+?????? --enable-obsolete \
??????? --enable-e500_double \
??????? --with-long-double-128
?endif
Signature · 1 line
2.26.2
PATCH 1/1 package/gcc: Enable gcc-8.x support for BR2_powerpc_spe
MIchael,
Quoted 11 lines · Michael Durrant
The GCC-7.x compiler series was the last to support
BR2_powerpc_SPECPUs within GCC. After GCC-7.x support was removed as a default in buildroot, some boards, including thearcturus_ucp1020_defconfigandfreescale_p1025twr_defconfigwill fail to compile.The GCC-8.x compiler series continues to support
powerpc_speCPU cores, but only as an --enable-obsoleted instruction set. This patch enables the use of GCC-8.x and asserts the required option to enable thepowerpc_speinstruction set.
Hopefully things get revived and support moves back out of obsoleted....
https://lists.freebsd.org/pipermail/freebsd-ppc/2018-May/009465.html
Quoted 11 lines
This Patch passes compilation and run tests with the arcturus/ppc-ucp1020 board.
Tested-by Oleksandr G Zhadan <[email protected]>This patch should address a noted job failure on GitLab CI
https://gitlab.com/buildroot.org/buildroot/-/jobs/805461732Signed-off-by Oleksandr G Zhadan <[email protected]>Signed-off-by Michael Durrant <[email protected]>
PATCH 1/1 package/gcc: Enable gcc-8.x support for BR2_powerpc_spe
Hi Matthew,
Unfortunately, in the latest release of GCC 8.4 [2020-03-04], powerpc_spe could only be built with the --enable-obsolete option, and support for powerpc_spe has been removed from GCC 9.
Oleks
Quoted 38 lines · Matthew Weber
MIchael,
Quoted 10 lines · Michael Durrant
The GCC-7.x compiler series was the last to support
BR2_powerpc_SPECPUs within GCC. After GCC-7.x support was removed as a default in buildroot, some boards, including thearcturus_ucp1020_defconfigandfreescale_p1025twr_defconfigwill fail to compile.The GCC-8.x compiler series continues to support
powerpc_speCPU cores, but only as an --enable-obsoleted instruction set. This patch enables the use of GCC-8.x and asserts the required option to enable thepowerpc_speinstruction set.Hopefully things get revived and support moves back out of obsoleted....
https://lists.freebsd.org/pipermail/freebsd-ppc/2018-May/009465.html
Quoted 11 lines
This Patch passes compilation and run tests with the arcturus/ppc-ucp1020 board.
Tested-by Oleksandr G Zhadan <[email protected]>This patch should address a noted job failure on GitLab CI
https://gitlab.com/buildroot.org/buildroot/-/jobs/805461732Signed-off-by Oleksandr G Zhadan <[email protected]>Signed-off-by Michael Durrant <[email protected]>Review-by Matt Weber <[email protected]>_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Thomas Petazzoni
AppliedPATCH 1/1 package/gcc: Enable gcc-8.x support for BR2_powerpc_spe
In reply to Michael DurrantQuoted 18 lines · On Mon, 26 Oct 2020 15:17:35 -0400 Michael Durrant…
The GCC-7.x compiler series was the last to support
BR2_powerpc_SPECPUs within GCC.? After GCC-7.x support was removed as a default in buildroot, some boards, including thearcturus_ucp1020_defconfigandfreescale_p1025twr_defconfigwill fail to compile.The GCC-8.x compiler series continues to support
powerpc_speCPU cores, but only as an --enable-obsoleted instruction set. This patch enables the use of GCC-8.x and asserts the required option to enable thepowerpc_speinstruction set.This Patch passes compilation and run tests with the arcturus/ppc-ucp1020? board.
Tested-by Oleksandr G Zhadan <[email protected]>This patch should address a noted job failure on GitLab CI
https://gitlab.com/buildroot.org/buildroot/-/jobs/805461732
Quoted 7 lines
Signed-off-by Oleksandr G Zhadan <[email protected]>Signed-off-by Michael Durrant <[email protected]>---
?package/gcc/Config.in.host | 2 +-
?package/gcc/gcc.mk???????? | 1 +
?2 files changed, 2 insertions(+), 1 deletion(-)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/1 package/gcc: Enable gcc-8.x support for BR2_powerpc_spe
Hello,
Le 31/10/2020 ? 23:49, Thomas Petazzoni a ?crit?:
Quoted 8 lines
Quoted 5 lines · On Mon, 26 Oct 2020 15:17:35 -0400 Michael Durrant…
The GCC-7.x compiler series was the last to support
BR2_powerpc_SPECPUs within GCC.? After GCC-7.x support was removed as a default in buildroot, some boards, including thearcturus_ucp1020_defconfigandfreescale_p1025twr_defconfigwill fail to compile.
Quoted 4 lines
Quoted 4 lines
The GCC-8.x compiler series continues to support
powerpc_speCPU cores, but only as an --enable-obsoleted instruction set. This patch enables the use of GCC-8.x and asserts the required option to enable thepowerpc_speinstruction set.
This is sad to see a CPU that is still used removed from upstream GCC. But what's the plan for next year ? GCC 8 is currently at 8.4.0 and the last release will be available in few month.
As soon as GCC 11.1 is added to Buildroot, GCC 8 will likely be removed to keep only 3 GCC version.
I don't see a future proof solution... maybe using a prebuilt toolchain for this defconfig?
Best regards,
Romain
Quoted 21 lines
Quoted 9 lines
This Patch passes compilation and run tests with the arcturus/ppc-ucp1020? board.
Tested-by Oleksandr G Zhadan <[email protected]>This patch should address a noted job failure on GitLab CI
https://gitlab.com/buildroot.org/buildroot/-/jobs/805461732Quoted 7 lines
Signed-off-by Oleksandr G Zhadan <[email protected]>Signed-off-by Michael Durrant <[email protected]>---
?package/gcc/Config.in.host | 2 +-
?package/gcc/gcc.mk???????? | 1 +
?2 files changed, 2 insertions(+), 1 deletion(-)Applied to master, thanks.
Thomas