All of lore.kernel.org
 help / color / mirror / Atom feed
* [morty][PATCH 0/1] packagegroup-core-standalone-sdk-target: add libssp
@ 2017-04-07  2:38 Paul Eggleton
  2017-04-07  2:38 ` [morty][PATCH 1/1] " Paul Eggleton
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Eggleton @ 2017-04-07  2:38 UTC (permalink / raw)
  To: openembedded-core

Backport this to morty since if you want runtime support for stack-smashing
protection when building with gcc you need this library.


The following changes since commit ddf907ca95a19f54785079b4396935273b3747f6:

  Revert "file: update SRCREV for 5.28 to fix fetch fail on missing commit" (2017-03-21 22:17:57 +0000)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib paule/libssp-sdk-morty
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/libssp-sdk-morty

Paul Eggleton (1):
  packagegroup-core-standalone-sdk-target: add libssp

 .../packagegroups/packagegroup-core-standalone-sdk-target.bb         | 5 +++++
 1 file changed, 5 insertions(+)

-- 
2.9.3



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [morty][PATCH 1/1] packagegroup-core-standalone-sdk-target: add libssp
  2017-04-07  2:38 [morty][PATCH 0/1] packagegroup-core-standalone-sdk-target: add libssp Paul Eggleton
@ 2017-04-07  2:38 ` Paul Eggleton
  2017-04-07 17:00   ` akuster808
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Eggleton @ 2017-04-07  2:38 UTC (permalink / raw)
  To: openembedded-core

If you want to be able to use -fstack-protector then you need the
runtime support - you can either write this yourself or use libssp
supplied with GCC. If you're using GCC then it seems likely that you'd
just be using libssp, so include in the SDK by default; however use
RRECOMMENDS just in case it's been disabled or you aren't using GCC.

(From OE-Core rev: 6c990655e35bb3a14d59555662ec5802c9980028)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 .../packagegroups/packagegroup-core-standalone-sdk-target.bb         | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bb b/meta/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bb
index 274e11a..43fc599 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bb
@@ -12,3 +12,8 @@ RDEPENDS_${PN} = "\
     libstdc++-dev \
     ${LIBC_DEPENDENCIES} \
     "
+
+RRECOMMENDS_${PN} = "\
+    libssp \
+    libssp-dev \
+    "
-- 
2.9.3



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [morty][PATCH 1/1] packagegroup-core-standalone-sdk-target: add libssp
  2017-04-07  2:38 ` [morty][PATCH 1/1] " Paul Eggleton
@ 2017-04-07 17:00   ` akuster808
  0 siblings, 0 replies; 3+ messages in thread
From: akuster808 @ 2017-04-07 17:00 UTC (permalink / raw)
  To: Paul Eggleton, openembedded-core



On 04/06/2017 07:38 PM, Paul Eggleton wrote:
> If you want to be able to use -fstack-protector then you need the
> runtime support - you can either write this yourself or use libssp
> supplied with GCC. If you're using GCC then it seems likely that you'd
> just be using libssp, so include in the SDK by default; however use
> RRECOMMENDS just in case it's been disabled or you aren't using GCC.
>
> (From OE-Core rev: 6c990655e35bb3a14d59555662ec5802c9980028)
>
> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
> Signed-off-by: Ross Burton <ross.burton@intel.com>
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

great. will pull in. thanks,
Armin
> ---
>   .../packagegroups/packagegroup-core-standalone-sdk-target.bb         | 5 +++++
>   1 file changed, 5 insertions(+)
>
> diff --git a/meta/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bb b/meta/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bb
> index 274e11a..43fc599 100644
> --- a/meta/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bb
> +++ b/meta/recipes-core/packagegroups/packagegroup-core-standalone-sdk-target.bb
> @@ -12,3 +12,8 @@ RDEPENDS_${PN} = "\
>       libstdc++-dev \
>       ${LIBC_DEPENDENCIES} \
>       "
> +
> +RRECOMMENDS_${PN} = "\
> +    libssp \
> +    libssp-dev \
> +    "



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-04-07 17:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-07  2:38 [morty][PATCH 0/1] packagegroup-core-standalone-sdk-target: add libssp Paul Eggleton
2017-04-07  2:38 ` [morty][PATCH 1/1] " Paul Eggleton
2017-04-07 17:00   ` akuster808

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.