Skip to content

Commit

Permalink
Fix powerpc-e500v2-linux-gnuspe.
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
stilor committed Oct 16, 2015
1 parent 8c5de9d commit 7b38214
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions samples/powerpc-e500v2-linux-gnuspe/crosstool.config
Expand Up @@ -2,21 +2,17 @@ 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
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

0 comments on commit 7b38214

Please sign in to comment.