From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 4/9] rpm: Use link time check for libssp
Date: Fri, 15 Jun 2012 13:43:30 +0100 [thread overview]
Message-ID: <1339764210.24333.114.camel@ted> (raw)
In-Reply-To: <1f0884d8428c923c1b18670877c85cb3dc09cfda.1339740433.git.raj.khem@gmail.com>
On Thu, 2012-06-14 at 23:12 -0700, Khem Raj wrote:
> -fstack-protector needs libssp to link with
> so when checking for this option support we
> need to find if libssp is staged in root file
> system
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> .../rpm/rpm/fstack-protector-configure-check.patch | 13 +++++++++++++
> meta/recipes-devtools/rpm/rpm_5.4.9.bb | 1 +
> 2 files changed, 14 insertions(+), 0 deletions(-)
> create mode 100644 meta/recipes-devtools/rpm/rpm/fstack-protector-configure-check.patch
>
> diff --git a/meta/recipes-devtools/rpm/rpm/fstack-protector-configure-check.patch b/meta/recipes-devtools/rpm/rpm/fstack-protector-configure-check.patch
> new file mode 100644
> index 0000000..84d0430
> --- /dev/null
> +++ b/meta/recipes-devtools/rpm/rpm/fstack-protector-configure-check.patch
This is a rather subtle patch with no header information (author,
explaination, upstream status).
Cheers,
Richard
> @@ -0,0 +1,13 @@
> +Index: rpm-5.4.0/configure.ac
> +===================================================================
> +--- rpm-5.4.0.orig/configure.ac 2012-06-01 11:41:19.741480143 -0700
> ++++ rpm-5.4.0/configure.ac 2012-06-01 11:41:51.773481676 -0700
> +@@ -193,7 +193,7 @@
> + my_save_cflags="$CFLAGS"
> + CFLAGS=$c
> + AC_MSG_CHECKING([whether GCC supports $c])
> +- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])],
> ++ AC_LINK_IFELSE([AC_LANG_PROGRAM([])],
> + [AC_MSG_RESULT([yes])]
> + [my_cflags=$c],
> + [AC_MSG_RESULT([no])]
> diff --git a/meta/recipes-devtools/rpm/rpm_5.4.9.bb b/meta/recipes-devtools/rpm/rpm_5.4.9.bb
> index 404916a..ccf015a 100644
> --- a/meta/recipes-devtools/rpm/rpm_5.4.9.bb
> +++ b/meta/recipes-devtools/rpm/rpm_5.4.9.bb
> @@ -74,6 +74,7 @@ SRC_URI = "http://www.rpm5.org/files/rpm/rpm-5.4/rpm-5.4.9-0.20120508.src.rpm;ex
> file://rpm-pkgconfigdeps.patch \
> file://uclibc-support.patch \
> file://rpmatch.patch \
> + file://fstack-protector-configure-check.patch \
> "
>
> SRC_URI[md5sum] = "60d56ace884340c1b3fcac6a1d58e768"
next prev parent reply other threads:[~2012-06-15 12:54 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-15 6:12 [PATCH 0/9 V3] rpm compilation on uclibc Khem Raj
2012-06-15 6:12 ` [PATCH 1/9] uclibc_0.9.33.bb: Upgrade to latest git Khem Raj
2012-06-15 6:12 ` [PATCH 2/9] site/x86_64-linux-uclibc: Cache definitions of guint32/guint64 Khem Raj
2012-06-15 6:12 ` [PATCH 3/9] rpm: Fix compilation on uclibc Khem Raj
2012-06-15 6:12 ` [PATCH 4/9] rpm: Use link time check for libssp Khem Raj
2012-06-15 12:43 ` Richard Purdie [this message]
2012-06-15 14:34 ` Khem Raj
2012-09-24 20:36 ` McClintock Matthew-B29882
2012-09-24 21:18 ` Khem Raj
2012-09-24 22:30 ` McClintock Matthew-B29882
2012-06-15 6:12 ` [PATCH 5/9] sat-solver: Fix build on uclibc Khem Raj
2012-06-15 12:55 ` Richard Purdie
2012-06-15 14:35 ` Khem Raj
2012-06-15 13:07 ` Bernhard Reutner-Fischer
2012-06-15 6:12 ` [PATCH 6/9] libzypp: Fix build with uclibc Khem Raj
2012-06-15 6:12 ` [PATCH 7/9] rpm: pass lrt and lpthread to link step explicitly for uclibc Khem Raj
2012-06-15 6:12 ` [PATCH 8/9] zypper: Fix build on uclibc Khem Raj
2012-06-15 6:12 ` [PATCH 9/9] libzypp: Define OECMAKE_CXX_LINK_FLAGS when compiling for uclibc Khem Raj
2012-06-18 16:48 ` [PATCH 0/9 V3] rpm compilation on uclibc Saul Wold
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1339764210.24333.114.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.