openpower: Move to glibc 2.23
setlocale is broken for glibc 2.22. Upstream has a patch in the 2.22
release branch (strcoll: Remove incorrect STRDIFF-based optimization
(Bug 18589)), but has not made any releases from this branch.
We can solve the problem and gain the other bugfixes, such as a fix for
CVE-2015-7547: getaddrinfo() stack-based buffer overflow.
Signed-off-by: Joel Stanley <joel@jms.id.au>
diff --git a/buildroot b/buildroot
index d60d595..b7540b2 160000
--- a/buildroot
+++ b/buildroot
@@ -1 +1 @@
-Subproject commit d60d595942e861a6871be11e2862b34bf790603a
+Subproject commit b7540b23bc01d6895c5cba1eaef53deba002087c
diff --git a/openpower/configs/firestone_defconfig b/openpower/configs/firestone_defconfig
index eb4eb30..5cf127f 100644
--- a/openpower/configs/firestone_defconfig
+++ b/openpower/configs/firestone_defconfig
@@ -6,7 +6,7 @@
BR2_EXTRA_GCC_CONFIG_OPTIONS="--enable-targets=powerpc64-linux"
BR2_TOOLCHAIN_BUILDROOT_CXX=y
# BR2_TOOLCHAIN_BUILDROOT_LIBSTDCPP is not set
-BR2_GLIBC_VERSION_2_22=y
+BR2_GLIBC_VERSION_2_23=y
BR2_OPENPOWER_CONFIG_NAME="firestone"
BR2_OPENPOWER_XML_PACKAGE="firestone-xml"
diff --git a/openpower/configs/garrison_defconfig b/openpower/configs/garrison_defconfig
index bf358dd..f48a59a 100644
--- a/openpower/configs/garrison_defconfig
+++ b/openpower/configs/garrison_defconfig
@@ -6,7 +6,7 @@
BR2_EXTRA_GCC_CONFIG_OPTIONS="--enable-targets=powerpc64-linux"
BR2_TOOLCHAIN_BUILDROOT_CXX=y
# BR2_TOOLCHAIN_BUILDROOT_LIBSTDCPP is not set
-BR2_GLIBC_VERSION_2_22=y
+BR2_GLIBC_VERSION_2_23=y
BR2_OPENPOWER_CONFIG_NAME="garrison"
BR2_OPENPOWER_XML_PACKAGE="garrison-xml"
diff --git a/openpower/configs/habanero_defconfig b/openpower/configs/habanero_defconfig
index 8cf6bd3..e21fa6b 100644
--- a/openpower/configs/habanero_defconfig
+++ b/openpower/configs/habanero_defconfig
@@ -6,7 +6,7 @@
BR2_EXTRA_GCC_CONFIG_OPTIONS="--enable-targets=powerpc64-linux"
BR2_TOOLCHAIN_BUILDROOT_CXX=y
# BR2_TOOLCHAIN_BUILDROOT_LIBSTDCPP is not set
-BR2_GLIBC_VERSION_2_22=y
+BR2_GLIBC_VERSION_2_23=y
BR2_OPENPOWER_CONFIG_NAME="habanero"
BR2_OPENPOWER_XML_PACKAGE="habanero-xml"
diff --git a/openpower/configs/openpower_mambo_defconfig b/openpower/configs/openpower_mambo_defconfig
index eb2ccbc..a3e9548 100644
--- a/openpower/configs/openpower_mambo_defconfig
+++ b/openpower/configs/openpower_mambo_defconfig
@@ -4,7 +4,7 @@
BR2_BINUTILS_EXTRA_CONFIG_OPTIONS="--enable-targets=powerpc64-linux"
BR2_EXTRA_GCC_CONFIG_OPTIONS="--enable-targets=powerpc64-linux"
-BR2_GLIBC_VERSION_2_22=y
+BR2_GLIBC_VERSION_2_23=y
# No HostBoot for Mambo
BR2_PACKAGE_HOSTBOOT=n
diff --git a/openpower/configs/palmetto_defconfig b/openpower/configs/palmetto_defconfig
index 26857e9..312dc75 100644
--- a/openpower/configs/palmetto_defconfig
+++ b/openpower/configs/palmetto_defconfig
@@ -6,7 +6,7 @@
BR2_EXTRA_GCC_CONFIG_OPTIONS="--enable-targets=powerpc64-linux"
BR2_TOOLCHAIN_BUILDROOT_CXX=y
# BR2_TOOLCHAIN_BUILDROOT_LIBSTDCPP is not set
-BR2_GLIBC_VERSION_2_22=y
+BR2_GLIBC_VERSION_2_23=y
BR2_OPENPOWER_CONFIG_NAME="palmetto"
BR2_OPENPOWER_XML_PACKAGE="palmetto-xml"