* [meta-networking][PATCH 0/3] NO_GNU_HASH warning fixes
@ 2016-08-19 10:04 Yi Zhao
2016-08-19 10:04 ` [meta-networking][PATCH 1/3] ifenslave: fix QA warning for GNU_HASH Yi Zhao
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Yi Zhao @ 2016-08-19 10:04 UTC (permalink / raw)
To: openembedded-devel
The following changes since commit 02a390b79bdc089eb583e443ee04f60bffd409eb:
tnftp: tnftp20130505 -> tnftp20151004 (2016-08-16 21:26:15 -0400)
are available in the git repository at:
git://git.openembedded.org/meta-openembedded-contrib yzhao/networking-hashfix
http://cgit.openembedded.org/cgit.cgi/meta-openembedded-contrib/log/?h=yzhao/networking-hashfix
Yi Zhao (3):
ifenslave: fix QA warning for GNU_HASH
ipvsadm: fix QA warning for GNU_HASH
iscsitarget: fix QA warning for GNU_HASH
.../iscsitarget/iscsitarget_1.4.20.3+svn502.bb | 3 ++-
.../recipes-support/ifenslave/ifenslave_1.1.0.bb | 2 +-
.../ipvsadm/ipvsadm/makefile-add-ldflags.patch | 19 +++++++++++++++++++
.../recipes-support/ipvsadm/ipvsadm_1.26.bb | 1 +
4 files changed, 23 insertions(+), 2 deletions(-)
create mode 100644 meta-networking/recipes-support/ipvsadm/ipvsadm/makefile-add-ldflags.patch
--
2.7.4
^ permalink raw reply [flat|nested] 7+ messages in thread
* [meta-networking][PATCH 1/3] ifenslave: fix QA warning for GNU_HASH
2016-08-19 10:04 [meta-networking][PATCH 0/3] NO_GNU_HASH warning fixes Yi Zhao
@ 2016-08-19 10:04 ` Yi Zhao
2016-08-19 10:09 ` André Draszik
2016-08-19 10:04 ` [meta-networking][PATCH 2/3] ipvsadm: " Yi Zhao
2016-08-19 10:04 ` [meta-networking][PATCH 3/3] iscsitarget: " Yi Zhao
2 siblings, 1 reply; 7+ messages in thread
From: Yi Zhao @ 2016-08-19 10:04 UTC (permalink / raw)
To: openembedded-devel
Set LDFLAGS explicitly for do_compile
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
meta-networking/recipes-support/ifenslave/ifenslave_1.1.0.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-networking/recipes-support/ifenslave/ifenslave_1.1.0.bb b/meta-networking/recipes-support/ifenslave/ifenslave_1.1.0.bb
index acc0864..385bc80 100644
--- a/meta-networking/recipes-support/ifenslave/ifenslave_1.1.0.bb
+++ b/meta-networking/recipes-support/ifenslave/ifenslave_1.1.0.bb
@@ -10,7 +10,7 @@ SRC_URI[md5sum] = "56126cd1013cefe0ce6f81613e677bdd"
SRC_URI[sha256sum] = "7917bf34de80a2492eb225adf9168c83a4854ac8a008ed0fd5b3fd147ccd3041"
do_compile() {
- ${CC} ifenslave.c -o ifenslave
+ ${CC} ${LDFLAGS} ifenslave.c -o ifenslave
}
do_install() {
install -d "${D}${sbindir}"
--
2.7.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [meta-networking][PATCH 2/3] ipvsadm: fix QA warning for GNU_HASH
2016-08-19 10:04 [meta-networking][PATCH 0/3] NO_GNU_HASH warning fixes Yi Zhao
2016-08-19 10:04 ` [meta-networking][PATCH 1/3] ifenslave: fix QA warning for GNU_HASH Yi Zhao
@ 2016-08-19 10:04 ` Yi Zhao
2016-08-19 10:04 ` [meta-networking][PATCH 3/3] iscsitarget: " Yi Zhao
2 siblings, 0 replies; 7+ messages in thread
From: Yi Zhao @ 2016-08-19 10:04 UTC (permalink / raw)
To: openembedded-devel
Add LDFLAGS variable to Makefile so that extra linker flags can be sent
via this variable.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
.../ipvsadm/ipvsadm/makefile-add-ldflags.patch | 19 +++++++++++++++++++
.../recipes-support/ipvsadm/ipvsadm_1.26.bb | 1 +
2 files changed, 20 insertions(+)
create mode 100644 meta-networking/recipes-support/ipvsadm/ipvsadm/makefile-add-ldflags.patch
diff --git a/meta-networking/recipes-support/ipvsadm/ipvsadm/makefile-add-ldflags.patch b/meta-networking/recipes-support/ipvsadm/ipvsadm/makefile-add-ldflags.patch
new file mode 100644
index 0000000..1bf1eed
--- /dev/null
+++ b/meta-networking/recipes-support/ipvsadm/ipvsadm/makefile-add-ldflags.patch
@@ -0,0 +1,19 @@
+Add LDFLAGS variable to Makefile, make sure the extra linker flags can be passed.
+
+Upstream-Status: Pending
+
+Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
+
+diff --git a/Makefile b/Makefile
+index 461c021..8bc9cde 100644
+--- a/Makefile
++++ b/Makefile
+@@ -86,7 +86,7 @@ libs:
+ make -C libipvs
+
+ ipvsadm: $(OBJS) libs
+- $(CC) $(CFLAGS) -o $@ $(OBJS) $(STATIC_LIBS) $(LIBS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(STATIC_LIBS) $(LIBS)
+
+ install: all
+ if [ ! -d $(SBIN) ]; then $(MKDIR) -p $(SBIN); fi
diff --git a/meta-networking/recipes-support/ipvsadm/ipvsadm_1.26.bb b/meta-networking/recipes-support/ipvsadm/ipvsadm_1.26.bb
index 7302e9d..8d1b3f0 100644
--- a/meta-networking/recipes-support/ipvsadm/ipvsadm_1.26.bb
+++ b/meta-networking/recipes-support/ipvsadm/ipvsadm_1.26.bb
@@ -19,6 +19,7 @@ SRC_URI = "http://www.linuxvirtualserver.org/software/kernel-2.6/${BP}.tar.gz \
file://0001-Modify-the-Makefile-for-cross-compile.patch \
file://0002-Replace-nl_handle-to-nl_sock.patch \
file://0003-ipvsadm-remove-dependency-on-bash.patch \
+ file://makefile-add-ldflags.patch \
"
SRC_URI[md5sum] = "eac3ba3f62cd4dea2da353aeddd353a8"
--
2.7.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [meta-networking][PATCH 3/3] iscsitarget: fix QA warning for GNU_HASH
2016-08-19 10:04 [meta-networking][PATCH 0/3] NO_GNU_HASH warning fixes Yi Zhao
2016-08-19 10:04 ` [meta-networking][PATCH 1/3] ifenslave: fix QA warning for GNU_HASH Yi Zhao
2016-08-19 10:04 ` [meta-networking][PATCH 2/3] ipvsadm: " Yi Zhao
@ 2016-08-19 10:04 ` Yi Zhao
2 siblings, 0 replies; 7+ messages in thread
From: Yi Zhao @ 2016-08-19 10:04 UTC (permalink / raw)
To: openembedded-devel
Split kernel module and user space build. Ensure the LDFLAGS is passed
when build user space code.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
.../recipes-extended/iscsitarget/iscsitarget_1.4.20.3+svn502.bb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta-networking/recipes-extended/iscsitarget/iscsitarget_1.4.20.3+svn502.bb b/meta-networking/recipes-extended/iscsitarget/iscsitarget_1.4.20.3+svn502.bb
index 4c5eed6..c60277d 100644
--- a/meta-networking/recipes-extended/iscsitarget/iscsitarget_1.4.20.3+svn502.bb
+++ b/meta-networking/recipes-extended/iscsitarget/iscsitarget_1.4.20.3+svn502.bb
@@ -26,7 +26,8 @@ do_configure[noexec] = "1"
do_make_scripts[depends] += "virtual/kernel:do_shared_workdir"
do_compile() {
- oe_runmake KSRC=${STAGING_KERNEL_DIR} LDFLAGS='' V=1
+ oe_runmake KSRC=${STAGING_KERNEL_DIR} LDFLAGS='' V=1 kernel
+ oe_runmake KSRC=${STAGING_KERNEL_DIR} usr
}
do_install() {
--
2.7.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [meta-networking][PATCH 1/3] ifenslave: fix QA warning for GNU_HASH
2016-08-19 10:04 ` [meta-networking][PATCH 1/3] ifenslave: fix QA warning for GNU_HASH Yi Zhao
@ 2016-08-19 10:09 ` André Draszik
2016-08-19 16:45 ` Khem Raj
2016-08-22 2:04 ` Yi Zhao
0 siblings, 2 replies; 7+ messages in thread
From: André Draszik @ 2016-08-19 10:09 UTC (permalink / raw)
To: openembedded-devel
On Fr, 2016-08-19 at 18:04 +0800, Yi Zhao wrote:
> Set LDFLAGS explicitly for do_compile
>
> Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
> ---
> meta-networking/recipes-support/ifenslave/ifenslave_1.1.0.bb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-networking/recipes-support/ifenslave/ifenslave_1.1.0.bb
> b/meta-networking/recipes-support/ifenslave/ifenslave_1.1.0.bb
> index acc0864..385bc80 100644
> --- a/meta-networking/recipes-support/ifenslave/ifenslave_1.1.0.bb
> +++ b/meta-networking/recipes-support/ifenslave/ifenslave_1.1.0.bb
> @@ -10,7 +10,7 @@ SRC_URI[md5sum] = "56126cd1013cefe0ce6f81613e677bdd"
> SRC_URI[sha256sum] =
> "7917bf34de80a2492eb225adf9168c83a4854ac8a008ed0fd5b3fd147ccd3041"
>
> do_compile() {
> - ${CC} ifenslave.c -o ifenslave
> + ${CC} ${LDFLAGS} ifenslave.c -o ifenslave
While you're fixing the gcc invocation here, wouldn't it make sense to add
CFLAGS as well? (Maybe in a separate patch).
Cheers,
Andre'
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [meta-networking][PATCH 1/3] ifenslave: fix QA warning for GNU_HASH
2016-08-19 10:09 ` André Draszik
@ 2016-08-19 16:45 ` Khem Raj
2016-08-22 2:04 ` Yi Zhao
1 sibling, 0 replies; 7+ messages in thread
From: Khem Raj @ 2016-08-19 16:45 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1402 bytes --]
> On Aug 19, 2016, at 3:09 AM, André Draszik <git@andred.net> wrote:
>
> On Fr, 2016-08-19 at 18:04 +0800, Yi Zhao wrote:
>> Set LDFLAGS explicitly for do_compile
>>
>> Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
>> ---
>> meta-networking/recipes-support/ifenslave/ifenslave_1.1.0.bb | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta-networking/recipes-support/ifenslave/ifenslave_1.1.0.bb
>> b/meta-networking/recipes-support/ifenslave/ifenslave_1.1.0.bb
>> index acc0864..385bc80 100644
>> --- a/meta-networking/recipes-support/ifenslave/ifenslave_1.1.0.bb
>> +++ b/meta-networking/recipes-support/ifenslave/ifenslave_1.1.0.bb
>> @@ -10,7 +10,7 @@ SRC_URI[md5sum] = "56126cd1013cefe0ce6f81613e677bdd"
>> SRC_URI[sha256sum] =
>> "7917bf34de80a2492eb225adf9168c83a4854ac8a008ed0fd5b3fd147ccd3041"
>>
>> do_compile() {
>> - ${CC} ifenslave.c -o ifenslave
>> + ${CC} ${LDFLAGS} ifenslave.c -o ifenslave
>
> While you're fixing the gcc invocation here, wouldn't it make sense to add
> CFLAGS as well? (Maybe in a separate patch).
>
yeah or into two distinct steps of compile and link.
>
> Cheers,
> Andre'
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [meta-networking][PATCH 1/3] ifenslave: fix QA warning for GNU_HASH
2016-08-19 10:09 ` André Draszik
2016-08-19 16:45 ` Khem Raj
@ 2016-08-22 2:04 ` Yi Zhao
1 sibling, 0 replies; 7+ messages in thread
From: Yi Zhao @ 2016-08-22 2:04 UTC (permalink / raw)
To: openembedded-devel
在 2016年08月19日 18:09, André Draszik 写道:
> On Fr, 2016-08-19 at 18:04 +0800, Yi Zhao wrote:
>> Set LDFLAGS explicitly for do_compile
>>
>> Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
>> ---
>> meta-networking/recipes-support/ifenslave/ifenslave_1.1.0.bb | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta-networking/recipes-support/ifenslave/ifenslave_1.1.0.bb
>> b/meta-networking/recipes-support/ifenslave/ifenslave_1.1.0.bb
>> index acc0864..385bc80 100644
>> --- a/meta-networking/recipes-support/ifenslave/ifenslave_1.1.0.bb
>> +++ b/meta-networking/recipes-support/ifenslave/ifenslave_1.1.0.bb
>> @@ -10,7 +10,7 @@ SRC_URI[md5sum] = "56126cd1013cefe0ce6f81613e677bdd"
>> SRC_URI[sha256sum] =
>> "7917bf34de80a2492eb225adf9168c83a4854ac8a008ed0fd5b3fd147ccd3041"
>>
>> do_compile() {
>> - ${CC} ifenslave.c -o ifenslave
>> + ${CC} ${LDFLAGS} ifenslave.c -o ifenslave
> While you're fixing the gcc invocation here, wouldn't it make sense to add
> CFLAGS as well? (Maybe in a separate patch).
Thanks, I will send the patch later.
Yi
>
> Cheers,
> Andre'
>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-08-22 2:04 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-19 10:04 [meta-networking][PATCH 0/3] NO_GNU_HASH warning fixes Yi Zhao
2016-08-19 10:04 ` [meta-networking][PATCH 1/3] ifenslave: fix QA warning for GNU_HASH Yi Zhao
2016-08-19 10:09 ` André Draszik
2016-08-19 16:45 ` Khem Raj
2016-08-22 2:04 ` Yi Zhao
2016-08-19 10:04 ` [meta-networking][PATCH 2/3] ipvsadm: " Yi Zhao
2016-08-19 10:04 ` [meta-networking][PATCH 3/3] iscsitarget: " Yi Zhao
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.