[gnome-continuous-yocto/gnomeostree-3.28-rocko: 823/8267] uclibc: never build with SSP



commit ef35facd961255fd3fe41603a23a80d378d0a98b
Author: André Draszik <adraszik tycoint com>
Date:   Fri Jun 10 16:12:13 2016 +0100

    uclibc: never build with SSP
    
    This doesn't work, as the initial gcc that is used for compiling
    uclibc doesn't have support for SSP yet (since that will only
    be available once uclibc has been compiled). Since during that
    same compilation step uclibc is trying to build its own utils
    those are failing to compile with SSP enabled as the
    initial gcc doesn't have access to the required libraries,
    yet.
    
    We never used to set UCLIBC_BUILD_SSP in the past, this was
    only changed as part of the upgrade to uclibc-ng in
    commit 63bdadc (uclibc: Switch to using uclibc-ng), so here
    we now simply restore the previous behaviour.
    
    Note that we still enable SSP support inside uclibc for
    everybody else to use, though.
    
    (From OE-Core rev: 0d4857090c5dd0d940dca6ea90afc66a4007cd88)
    
    Signed-off-by: André Draszik <adraszik tycoint com>
    Signed-off-by: Ross Burton <ross burton intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/recipes-core/uclibc/uclibc-config.inc |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/meta/recipes-core/uclibc/uclibc-config.inc b/meta/recipes-core/uclibc/uclibc-config.inc
index ed7b522..8b9e41c 100644
--- a/meta/recipes-core/uclibc/uclibc-config.inc
+++ b/meta/recipes-core/uclibc/uclibc-config.inc
@@ -119,7 +119,6 @@ def features_to_uclibc_settings(d):
     uclibc_cfg('thumb-interwork', distro_features,'USE_BX', cnf, rem)
     uclibc_cfg('xattr',     distro_features, 'UCLIBC_HAS_XATTR', cnf, rem)
     uclibc_cfg('ssp',       distro_features, 'UCLIBC_HAS_SSP', cnf, rem)
-    uclibc_cfg('ssp',       distro_features, 'UCLIBC_BUILD_SSP', cnf, rem)
     uclibc_cfg('argp',       distro_features, 'UCLIBC_HAS_ARGP', cnf, rem)
     uclibc_cfg('libc-posix-clang-wchar',  distro_features,'UCLIBC_HAS_WCHAR', cnf, rem)
     return "\n".join(cnf), "\n".join(rem)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]