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).
This commit is contained in:
Alexey Neyman 2015-10-02 14:23:33 -07:00
parent 8c5de9dcd5
commit 7b3821450a

View File

@ -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