-
Notifications
You must be signed in to change notification settings - Fork 23
Comparing changes
Open a pull request
base repository: open-power/buildroot
base: master
head repository: shenki/buildroot
compare: arch-powerpc
- 9 commits
- 5 files changed
- 1 contributor
Commits on Jul 28, 2022
-
arch/powerpc: Clarify generic CPUs
In the case where a specific CPU is not selected, set an appropriate gcc target for the architecture. For clarity this introduces a BR2_generic_powerpc64 as a generic 64 bit CPU as this makes the it clearer when browsing menuconfig. There's no such thing as a generic ppc64le CPU. Attempting to configure glibc for powerpc64le fails: configure: error: *** POWER8 or newer is required on powerpc64le. __builtin_signbit is broken. GCC 7.4 or newer is required to resolve (PR83862). The compiler must support -mabi=ieeelongdouble and -mlong-double-128 simultaneously. Hence set Power8 as the default CPU when using ppc64le. Signed-off-by: Joel Stanley <joel@jms.id.au>
Configuration menu - View commit details
-
Copy full SHA for 87f9969 - Browse repository at this point
Copy the full SHA 87f9969View commit details -
arch/powerpc: Hide SPE ABI behind CPU type
The target ABI option for PowerPC is for selecting the SPE ABI, not the ELF ABI that users may expect. Hide it when there is no option available to make it clearer when browsing menuconfig. Signed-off-by: Joel Stanley <joel@jms.id.au>
Configuration menu - View commit details
-
Copy full SHA for 766ef3b - Browse repository at this point
Copy the full SHA 766ef3bView commit details -
arch/powerpc: Enable powerpc64le only on CPUs that support it
Invalid configurations lead to build failures, such as trying to enable ppc64le for the ppc970: http://autobuild.buildroot.net/results/fda886768fce25ccd9b52b635ff5b13da7ba2d0c/ In order to run a ppc64le userspace a kernel that runs in this mode is required. The only CPU supported in buildroot that can boot a ppc64le kernel is Power8, so mark all of the other 64-bit capable CPUs as not supporting ppc64le. This drops the comment about libc, which is true but doesn't tell the whole story. Signed-off-by: Joel Stanley <joel@jms.id.au>
Configuration menu - View commit details
-
Copy full SHA for bfc236c - Browse repository at this point
Copy the full SHA bfc236cView commit details -
package/glibc: Use powerpc64le instead of power8
With "arch/powerpc: Enable powerpc64le only on CPUs that support it" we can use this symbol to indicate the CPU is supported by glibc. Signed-off-by: Joel Stanley <joel@jms.id.au>
Configuration menu - View commit details
-
Copy full SHA for 3ecbfc2 - Browse repository at this point
Copy the full SHA 3ecbfc2View commit details -
arch/powerpc: Add Power9 CPU type
The Power9 CPU was released by IBM in 2016. It is a 64-bit CPU implementing ISA v3.0. It runs in big and little endian modes, and supports VSX and AltiVec. Power9 is supported as of GCC 6.1 and Binutils 2.26. Signed-off-by: Joel Stanley <joel@jms.id.au>
Configuration menu - View commit details
-
Copy full SHA for 9f591c2 - Browse repository at this point
Copy the full SHA 9f591c2View commit details -
arch/powerpc: Add Power10 CPU type
The Power10 CPU was released by IBM in 2021. It is a 64-bit CPU implementing ISA v3.1. It runs in big and little endian modes, and supports VSX and AltiVec. It introduces prefix (8 byte) instructions along side the existing 4 byte instructions, and new SIMD MMA instructions. Power10 is supported as of GCC 10 and Binutils 2.35. Signed-off-by: Joel Stanley <joel@jms.id.au>
Configuration menu - View commit details
-
Copy full SHA for 3e8ee2b - Browse repository at this point
Copy the full SHA 3e8ee2bView commit details -
package/mesa3d: Remove force disable of power8
With "arch/powerpc: Enable powerpc64le only on CPUs that support it" buildroot will no longer build a toolchain that has broken VMX support. Remove the special casing so the build system can do feature detection. Signed-off-by: Joel Stanley <joel@jms.id.au>
Configuration menu - View commit details
-
Copy full SHA for 2fdd519 - Browse repository at this point
Copy the full SHA 2fdd519View commit details -
package/zlib-ng: Revert Power8 special casing
With "arch/powerpc: Enable powerpc64le only on CPUs that support it" buildroot will no longer build a toolchain that breaks feature detection. Remove the special casing so the build system can do feature detection. Signed-off-by: Joel Stanley <joel@jms.id.au>
Configuration menu - View commit details
-
Copy full SHA for 76c1530 - Browse repository at this point
Copy the full SHA 76c1530View commit details -
package/openblas: Add Power9 and Power10 targets
Now that buildroot supports these CPUs set the target type. Signed-off-by: Joel Stanley <joel@jms.id.au>
Configuration menu - View commit details
-
Copy full SHA for 5bded6e - Browse repository at this point
Copy the full SHA 5bded6eView commit details
There are no files selected for viewing