All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/enlightenment: disable ptrace with xtensa and uClibc-ng
@ 2015-05-17 16:40 Romain Naour
  2015-05-17 19:02 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Romain Naour @ 2015-05-17 16:40 UTC (permalink / raw)
  To: buildroot

uCLibc-ng needs to backport the uClibc commit
de6561f6669308e5d2297589b39a217d4c14df1c to add
PT_GETSIGINFO definition.

This commit is already merged in uClibc-snapshot used by
Buildroot's toolchains for xtensa.

For now, disable ptrace with xtensa uClibc-ng toolchains.

Thanks to Gergely Imreh for the initial investigation and
patch:
http://patchwork.ozlabs.org/patch/470073/

Fixes:
http://autobuild.buildroot.net/results/77b/77b82e5b437d0778b3f6a3813f2c0a5c39b52db9

Reported-by: Gergely Imreh <imrehg@gmail.com>
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
---
 package/enlightenment/enlightenment.mk | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/enlightenment/enlightenment.mk b/package/enlightenment/enlightenment.mk
index ddebe06..ac15642 100644
--- a/package/enlightenment/enlightenment.mk
+++ b/package/enlightenment/enlightenment.mk
@@ -34,6 +34,11 @@ ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC)$(BR2_powerpc)$(BR2_sparc),yy)
 ENLIGHTENMENT_CONF_ENV += ac_cv_header_sys_ptrace_h=no
 endif
 
+# uClibc-ng has an old incomplete sys/ptrace.h for xtensa
+ifeq ($(BR2_UCLIBC_VERSION_NG)$(BR2_xtensa),yy)
+ENLIGHTENMENT_CONF_ENV += ac_cv_header_sys_ptrace_h=no
+endif
+
 # alsa backend needs mixer support
 ifeq ($(BR2_PACKAGE_ALSA_LIB)$(BR2_PACKAGE_ALSA_LIB_MIXER),yy)
 ENLIGHTENMENT_DEPENDENCIES += alsa-lib
-- 
1.9.3

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

* [Buildroot] [PATCH] package/enlightenment: disable ptrace with xtensa and uClibc-ng
  2015-05-17 16:40 [Buildroot] [PATCH] package/enlightenment: disable ptrace with xtensa and uClibc-ng Romain Naour
@ 2015-05-17 19:02 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2015-05-17 19:02 UTC (permalink / raw)
  To: buildroot

>>>>> "Romain" == Romain Naour <romain.naour@openwide.fr> writes:

 > uCLibc-ng needs to backport the uClibc commit
 > de6561f6669308e5d2297589b39a217d4c14df1c to add
 > PT_GETSIGINFO definition.

 > This commit is already merged in uClibc-snapshot used by
 > Buildroot's toolchains for xtensa.

 > For now, disable ptrace with xtensa uClibc-ng toolchains.

 > Thanks to Gergely Imreh for the initial investigation and
 > patch:
 > http://patchwork.ozlabs.org/patch/470073/

 > Fixes:
 > http://autobuild.buildroot.net/results/77b/77b82e5b437d0778b3f6a3813f2c0a5c39b52db9

 > Reported-by: Gergely Imreh <imrehg@gmail.com>
 > Signed-off-by: Romain Naour <romain.naour@openwide.fr>

Committed, thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2015-05-17 19:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-17 16:40 [Buildroot] [PATCH] package/enlightenment: disable ptrace with xtensa and uClibc-ng Romain Naour
2015-05-17 19:02 ` Peter Korsgaard

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.