All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] parted: fix rss+perf+gold failure on do_compile_ptest_base
@ 2017-03-03 21:36 Andreas Müller
  2017-03-03 21:36 ` [PATCH 2/2] aor: " Andreas Müller
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Müller @ 2017-03-03 21:36 UTC (permalink / raw)
  To: openembedded-core

Was detected in Martin's world build

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 ...s_resize-link-against-libuuid-explicitly-.patch | 34 ++++++++++++++++++++++
 meta/recipes-extended/parted/parted_3.2.bb         |  1 +
 2 files changed, 35 insertions(+)
 create mode 100644 meta/recipes-extended/parted/files/0002-libparted_fs_resize-link-against-libuuid-explicitly-.patch

diff --git a/meta/recipes-extended/parted/files/0002-libparted_fs_resize-link-against-libuuid-explicitly-.patch b/meta/recipes-extended/parted/files/0002-libparted_fs_resize-link-against-libuuid-explicitly-.patch
new file mode 100644
index 0000000..bd2b5c5
--- /dev/null
+++ b/meta/recipes-extended/parted/files/0002-libparted_fs_resize-link-against-libuuid-explicitly-.patch
@@ -0,0 +1,34 @@
+From 5c99d7e4c2b5e7a957dc922aff03debfebbd6154 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
+Date: Fri, 3 Mar 2017 21:49:15 +0100
+Subject: [PATCH] libparted_fs_resize: link against libuuid explicitly to
+ unbreak gold linking on test
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+| ../libparted/fs/.libs/libparted-fs-resize.so: error: undefined reference to 'uuid_generate'
+
+Upstream-Status: Pending
+
+Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
+---
+ libparted/fs/Makefile.am | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/libparted/fs/Makefile.am b/libparted/fs/Makefile.am
+index d3cc8bc..c301b0b 100644
+--- a/libparted/fs/Makefile.am
++++ b/libparted/fs/Makefile.am
+@@ -113,6 +113,8 @@ libparted_fs_resize_la_SOURCES = \
+   r/hfs/reloc_plus.c		\
+   r/hfs/reloc_plus.h
+ 
++libparted_fs_resize_la_LIBADD   = $(UUID_LIBS)
++
+ AM_CPPFLAGS = \
+   -I$(top_srcdir)/libparted/labels	\
+   $(partedincludedir)			\
+-- 
+2.9.3
+
diff --git a/meta/recipes-extended/parted/parted_3.2.bb b/meta/recipes-extended/parted/parted_3.2.bb
index edc4bd3..9ce2dfe 100644
--- a/meta/recipes-extended/parted/parted_3.2.bb
+++ b/meta/recipes-extended/parted/parted_3.2.bb
@@ -13,6 +13,7 @@ SRC_URI = "${GNU_MIRROR}/parted/parted-${PV}.tar.xz \
            file://fix-compile-failure-while-dis.patch \
            file://0001-Include-fcntl.h-in-platform_defs.h.patch \
            file://0001-Unset-need_charset_alias-when-building-for-musl.patch \
+           file://0002-libparted_fs_resize-link-against-libuuid-explicitly-.patch \
 	   file://parted-3.2-sysmacros.patch \
            file://run-ptest \
            file://Makefile \
-- 
2.9.3



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

* [PATCH 2/2] aor: fix rss+perf+gold failure on do_compile_ptest_base
  2017-03-03 21:36 [PATCH 1/2] parted: fix rss+perf+gold failure on do_compile_ptest_base Andreas Müller
@ 2017-03-03 21:36 ` Andreas Müller
  2017-03-03 22:27   ` Martin Jansa
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Müller @ 2017-03-03 21:36 UTC (permalink / raw)
  To: openembedded-core

Was detected in Martin's world build

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 ...link-libapr-against-phtread-to-make-gold-.patch | 50 ++++++++++++++++++++++
 meta/recipes-support/apr/apr_1.5.2.bb              |  1 +
 2 files changed, 51 insertions(+)
 create mode 100644 meta/recipes-support/apr/apr/0002-explicitly-link-libapr-against-phtread-to-make-gold-.patch

diff --git a/meta/recipes-support/apr/apr/0002-explicitly-link-libapr-against-phtread-to-make-gold-.patch b/meta/recipes-support/apr/apr/0002-explicitly-link-libapr-against-phtread-to-make-gold-.patch
new file mode 100644
index 0000000..7d0dddc
--- /dev/null
+++ b/meta/recipes-support/apr/apr/0002-explicitly-link-libapr-against-phtread-to-make-gold-.patch
@@ -0,0 +1,50 @@
+From 94d1ca0266a0f9c0446f1299b54f752e87b8a695 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
+Date: Fri, 3 Mar 2017 22:24:17 +0100
+Subject: [PATCH] explicitly link libapr against phtread to make gold happy on
+ test
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+| ../.libs/libapr-1.so: error: undefined reference to 'pthread_mutexattr_init'
+| ../.libs/libapr-1.so: error: undefined reference to 'pthread_mutexattr_settype'
+| ../.libs/libapr-1.so: error: undefined reference to 'pthread_mutexattr_destroy'
+| ../.libs/libapr-1.so: error: undefined reference to 'pthread_mutex_trylock'
+| ../.libs/libapr-1.so: error: undefined reference to 'pthread_attr_setstacksize'
+| ../.libs/libapr-1.so: error: undefined reference to 'pthread_create'
+| ../.libs/libapr-1.so: error: undefined reference to 'pthread_join'
+| ../.libs/libapr-1.so: error: undefined reference to 'pthread_detach'
+| ../.libs/libapr-1.so: error: undefined reference to 'pthread_sigmask'
+| ../.libs/libapr-1.so: error: undefined reference to 'pthread_once'
+| ../.libs/libapr-1.so: error: undefined reference to 'pthread_key_create'
+| ../.libs/libapr-1.so: error: undefined reference to 'pthread_getspecific'
+| ../.libs/libapr-1.so: error: undefined reference to 'pthread_key_delete'
+| ../.libs/libapr-1.so: error: undefined reference to 'pthread_setspecific'
+| collect2: error: ld returned 1 exit status
+| Makefile:114: recipe for target 'globalmutexchild' failed
+| make[1]: *** [globalmutexchild] Error 1
+| make[1]: Leaving directory '/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-angstrom-linux-gnueabi/apr/1.5.2-r0/apr-1.5.2/test'
+
+Upstream-Status: Pending
+
+Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
+---
+ configure.in | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/configure.in b/configure.in
+index 5b19940..cdf4d58 100644
+--- a/configure.in
++++ b/configure.in
+@@ -766,6 +766,7 @@ else
+           APR_PTHREADS_CHECK_RESTORE ] )
+     fi
+     if test "$pthreadh" = "1"; then
++        APR_ADDTO(LIBS,[-lpthread])
+         APR_CHECK_PTHREAD_GETSPECIFIC_TWO_ARGS
+         APR_CHECK_PTHREAD_ATTR_GETDETACHSTATE_ONE_ARG
+         APR_CHECK_PTHREAD_RECURSIVE_MUTEX
+-- 
+2.9.3
+
diff --git a/meta/recipes-support/apr/apr_1.5.2.bb b/meta/recipes-support/apr/apr_1.5.2.bb
index 079f8cd..992b561 100644
--- a/meta/recipes-support/apr/apr_1.5.2.bb
+++ b/meta/recipes-support/apr/apr_1.5.2.bb
@@ -18,6 +18,7 @@ SRC_URI = "${APACHE_MIRROR}/apr/${BPN}-${PV}.tar.bz2 \
            file://Fix-packet-discards-HTTP-redirect.patch \
            file://configure.in-fix-LTFLAGS-to-make-it-work-with-ccache.patch \
            file://0001-apr-fix-off_t-size-doesn-t-match-in-glibc-when-cross.patch \
+           file://0002-explicitly-link-libapr-against-phtread-to-make-gold-.patch \
 "
 
 SRC_URI[md5sum] = "4e9769f3349fe11fc0a5e1b224c236aa"
-- 
2.9.3



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

* Re: [PATCH 2/2] aor: fix rss+perf+gold failure on do_compile_ptest_base
  2017-03-03 21:36 ` [PATCH 2/2] aor: " Andreas Müller
@ 2017-03-03 22:27   ` Martin Jansa
  2017-03-04 10:17     ` Andreas Müller
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Jansa @ 2017-03-03 22:27 UTC (permalink / raw)
  To: Andreas Müller; +Cc: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 4394 bytes --]

Typo in summary, but thanks for taking care of this!

On Fri, Mar 3, 2017 at 10:36 PM, Andreas Müller <
schnitzeltony@googlemail.com> wrote:

> Was detected in Martin's world build
>
> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
> ---
>  ...link-libapr-against-phtread-to-make-gold-.patch | 50
> ++++++++++++++++++++++
>  meta/recipes-support/apr/apr_1.5.2.bb              |  1 +
>  2 files changed, 51 insertions(+)
>  create mode 100644 meta/recipes-support/apr/apr/
> 0002-explicitly-link-libapr-against-phtread-to-make-gold-.patch
>
> diff --git a/meta/recipes-support/apr/apr/0002-explicitly-link-
> libapr-against-phtread-to-make-gold-.patch b/meta/recipes-support/apr/
> apr/0002-explicitly-link-libapr-against-phtread-to-make-gold-.patch
> new file mode 100644
> index 0000000..7d0dddc
> --- /dev/null
> +++ b/meta/recipes-support/apr/apr/0002-explicitly-link-
> libapr-against-phtread-to-make-gold-.patch
> @@ -0,0 +1,50 @@
> +From 94d1ca0266a0f9c0446f1299b54f752e87b8a695 Mon Sep 17 00:00:00 2001
> +From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
> +Date: Fri, 3 Mar 2017 22:24:17 +0100
> +Subject: [PATCH] explicitly link libapr against phtread to make gold
> happy on
> + test
> +MIME-Version: 1.0
> +Content-Type: text/plain; charset=UTF-8
> +Content-Transfer-Encoding: 8bit
> +
> +| ../.libs/libapr-1.so: error: undefined reference to
> 'pthread_mutexattr_init'
> +| ../.libs/libapr-1.so: error: undefined reference to
> 'pthread_mutexattr_settype'
> +| ../.libs/libapr-1.so: error: undefined reference to
> 'pthread_mutexattr_destroy'
> +| ../.libs/libapr-1.so: error: undefined reference to
> 'pthread_mutex_trylock'
> +| ../.libs/libapr-1.so: error: undefined reference to
> 'pthread_attr_setstacksize'
> +| ../.libs/libapr-1.so: error: undefined reference to 'pthread_create'
> +| ../.libs/libapr-1.so: error: undefined reference to 'pthread_join'
> +| ../.libs/libapr-1.so: error: undefined reference to 'pthread_detach'
> +| ../.libs/libapr-1.so: error: undefined reference to 'pthread_sigmask'
> +| ../.libs/libapr-1.so: error: undefined reference to 'pthread_once'
> +| ../.libs/libapr-1.so: error: undefined reference to 'pthread_key_create'
> +| ../.libs/libapr-1.so: error: undefined reference to
> 'pthread_getspecific'
> +| ../.libs/libapr-1.so: error: undefined reference to 'pthread_key_delete'
> +| ../.libs/libapr-1.so: error: undefined reference to
> 'pthread_setspecific'
> +| collect2: error: ld returned 1 exit status
> +| Makefile:114: recipe for target 'globalmutexchild' failed
> +| make[1]: *** [globalmutexchild] Error 1
> +| make[1]: Leaving directory '/home/superandy/tmp/oe-core-
> glibc/work/cortexa7t2hf-neon-vfpv4-angstrom-linux-gnueabi/
> apr/1.5.2-r0/apr-1.5.2/test'
> +
> +Upstream-Status: Pending
> +
> +Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
> +---
> + configure.in | 1 +
> + 1 file changed, 1 insertion(+)
> +
> +diff --git a/configure.in b/configure.in
> +index 5b19940..cdf4d58 100644
> +--- a/configure.in
> ++++ b/configure.in
> +@@ -766,6 +766,7 @@ else
> +           APR_PTHREADS_CHECK_RESTORE ] )
> +     fi
> +     if test "$pthreadh" = "1"; then
> ++        APR_ADDTO(LIBS,[-lpthread])
> +         APR_CHECK_PTHREAD_GETSPECIFIC_TWO_ARGS
> +         APR_CHECK_PTHREAD_ATTR_GETDETACHSTATE_ONE_ARG
> +         APR_CHECK_PTHREAD_RECURSIVE_MUTEX
> +--
> +2.9.3
> +
> diff --git a/meta/recipes-support/apr/apr_1.5.2.bb
> b/meta/recipes-support/apr/apr_1.5.2.bb
> index 079f8cd..992b561 100644
> --- a/meta/recipes-support/apr/apr_1.5.2.bb
> +++ b/meta/recipes-support/apr/apr_1.5.2.bb
> @@ -18,6 +18,7 @@ SRC_URI = "${APACHE_MIRROR}/apr/${BPN}-${PV}.tar.bz2 \
>             file://Fix-packet-discards-HTTP-redirect.patch \
>             file://configure.in-fix-LTFLAGS-to-make-it-work-with-ccache.patch
> \
>             file://0001-apr-fix-off_t-size-doesn-t-match-in-glibc-when-cross.patch
> \
> +           file://0002-explicitly-link-libapr-against-phtread-to-make-gold-.patch
> \
>  "
>
>  SRC_URI[md5sum] = "4e9769f3349fe11fc0a5e1b224c236aa"
> --
> 2.9.3
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>

[-- Attachment #2: Type: text/html, Size: 6309 bytes --]

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

* Re: [PATCH 2/2] aor: fix rss+perf+gold failure on do_compile_ptest_base
  2017-03-03 22:27   ` Martin Jansa
@ 2017-03-04 10:17     ` Andreas Müller
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Müller @ 2017-03-04 10:17 UTC (permalink / raw)
  To: Martin Jansa; +Cc: Patches and discussions about the oe-core layer

On Fri, Mar 3, 2017 at 11:27 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> Typo in summary, but thanks for taking care of this!
Although aor is close to apr I'll send out V2 today.

Andreas


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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-03 21:36 [PATCH 1/2] parted: fix rss+perf+gold failure on do_compile_ptest_base Andreas Müller
2017-03-03 21:36 ` [PATCH 2/2] aor: " Andreas Müller
2017-03-03 22:27   ` Martin Jansa
2017-03-04 10:17     ` Andreas Müller

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.