diff options
author | Alexey Neyman <stilor@att.net> | 2015-10-02 14:23:33 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2015-10-15 17:34:26 -0700 |
commit | 7b3821450a0921799b86880921ee91802e80fbf9 (patch) | |
tree | 85c104fa960c995d7c6294a26a24a307d0cb8de9 /samples/powerpc-e500v2-linux-gnuspe | |
parent | 8c5de9dcd527731ced700f4f7c496e04df74c9c0 (diff) | |
download | crosstool-ng-7b3821450a0921799b86880921ee91802e80fbf9.tar.gz crosstool-ng-7b3821450a0921799b86880921ee91802e80fbf9.tar.bz2 crosstool-ng-7b3821450a0921799b86880921ee91802e80fbf9.zip |
Fix powerpc-e500v2-linux-gnuspe.
Options were renamed. However, matching current option names result
in a compile error for strfmon_l.o in glibc: GCC 4.6 detects an
unitialized variable in its own va_arg() implementation. Likely,
an older GLIBC was used when this sample was submitted - which did
not provide -Werror in CFLAGS.
Thus, use most recent GCC (5.2.0) and revert GLIBC_FORCE_UNWIND to
its default value, 'y' (as forced unwind is required with this version).
Diffstat (limited to 'samples/powerpc-e500v2-linux-gnuspe')
-rw-r--r-- | samples/powerpc-e500v2-linux-gnuspe/crosstool.config | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/samples/powerpc-e500v2-linux-gnuspe/crosstool.config b/samples/powerpc-e500v2-linux-gnuspe/crosstool.config index b611548b..1507fab7 100644 --- a/samples/powerpc-e500v2-linux-gnuspe/crosstool.config +++ b/samples/powerpc-e500v2-linux-gnuspe/crosstool.config @@ -2,7 +2,6 @@ CT_LOCAL_TARBALLS_DIR="${HOME}/src" CT_SAVE_TARBALLS=y CT_LOG_EXTRA=y CT_ARCH_CPU="8548" -CT_ARCH_TUNE="8548" CT_ARCH_FLOAT_SW=y CT_TARGET_CFLAGS="-mfloat-gprs=double -Wa,-me500x2" CT_ARCH_powerpc=y @@ -10,13 +9,10 @@ CT_ARCH_powerpc_ABI_SPE=y CT_TARGET_VENDOR="e500v2" CT_KERNEL_linux=y CT_BINUTILS_EXTRA_CONFIG_ARRAY="--enable-spe=yes --enable-e500x2 --with-e500x2" -CT_LIBC_glibc=y -# CT_LIBC_GLIBC_FORCE_UNWIND is not set CT_CC_GCC_SHOW_LINARO=y -CT_CC_V_4_6_4=y -CT_CC_LANG_CXX=y -CT_CC_CORE_EXTRA_CONFIG_ARRAY="--with-long-double-128 --enable-e500_double" -CT_CC_EXTRA_CONFIG_ARRAY="--with-long-double-128 --enable-e500_double" +CT_CC_GCC_CORE_EXTRA_CONFIG_ARRAY="--with-long-double-128 --enable-e500_double" +CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-long-double-128 --enable-e500_double" # CT_CC_GCC_ENABLE_TARGET_OPTSPACE is not set +CT_CC_LANG_CXX=y CT_DEBUG_gdb=y # CT_GDB_CROSS_PYTHON is not set |