From mboxrd@z Thu Jan 1 00:00:00 1970 From: Romain Naour Date: Sat, 16 May 2015 10:12:41 +0200 Subject: [Buildroot] [PATCH 1/1] enlightenment: updating on which platforms ptrace is disabled In-Reply-To: <1431096376-21900-1-git-send-email-imrehg@gmail.com> References: <1431096376-21900-1-git-send-email-imrehg@gmail.com> Message-ID: <5556FBF9.9050909@openwide.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hi Gergely, Le 08/05/2015 16:46, Gergely Imreh a ?crit : > uclibc is missing definitions in sys/ptrace.h for certain plaforms. > The xtensa platform is also affected (linked autobuild failure), fixed > by disabling ptrace for that too. This choice of disabling ptrace for > all uclibc choices is probably conservative: while uclibc-ng fails, > uclibc Git Xstensa seeems to compile successfully. What is the version of uclibc-ng ? did you try with the latest 1.0.2 ? > > http://autobuild.buildroot.org/results/d03/d035e3735e414acb26ae79a8cf55a562c89d01e8/ > > Testing previously affected platforms, powerpc does not fail anymore while > building enlightenment on either uclibc-0.9.33.x or uclibc-ng, so re-enabling > support for it. The powerpc issue has been fixed for Buildroot's internal toolchains by [1] but it's not for (old) external toolchains. However, an exception in autobuilders can be added for these toolchains. > > The sparc build fails on other issues earlier in the build, so couldn't > directly test enlightenment; probably the safe choice is leaving it as is. > > The tests were run by using the config from the linked autobuild, > changing platform, and running `make enlightenment`. > > Signed-off-by: Gergely Imreh > --- > package/enlightenment/enlightenment.mk | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/package/enlightenment/enlightenment.mk b/package/enlightenment/enlightenment.mk > index ddebe06..e8d6143 100644 > --- a/package/enlightenment/enlightenment.mk > +++ b/package/enlightenment/enlightenment.mk > @@ -29,8 +29,8 @@ ENLIGHTENMENT_CONF_OPTS = \ > --with-eet-eet=$(HOST_DIR)/usr/bin/eet \ > --disable-rpath > > -# uClibc has an old incomplete sys/ptrace.h for powerpc & sparc > -ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC)$(BR2_powerpc)$(BR2_sparc),yy) > +# uClibc has an incomplete sys/ptrace.h for sparc and xtensa > +ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC)$(BR2_sparc)$(BR2_xtensa),yy) This change enable ptrace for powerpc and disable ptrace for xtensa. It would be good if it can be done in a separate patch. Best regards, Romain [1] http://git.buildroot.net/buildroot/commit/?id=e0a4d9fa6fa68b95181fbaf1babcbb3cf2c9c63b > ENLIGHTENMENT_CONF_ENV += ac_cv_header_sys_ptrace_h=no > endif > >