* [Buildroot] [arc-buildroot] [autobuild.buildroot.net] arc build results for 2016-05-31
[not found] <20160601063019.5D553101D2D@stock.ovh.net>
@ 2016-06-01 8:17 ` Alexey Brodkin
2016-06-01 8:19 ` Thomas Petazzoni
0 siblings, 1 reply; 4+ messages in thread
From: Alexey Brodkin @ 2016-06-01 8:17 UTC (permalink / raw)
To: buildroot
Hi Thomas,
On Wed, 2016-06-01 at 08:30 +0200, Thomas Petazzoni wrote:
> Those results are limited to the arc architecture.
>
> Build statistics for 2016-05-31
> ===============================
>
> ????????success : 14?
> ???????failures : 3??
> ???????timeouts : 0??
> ??????????TOTAL : 17?
>
> Classification of failures by reason
> ====================================
>
> ?????????????????mesa3d-11.2.2 | 2?
> ?????????????????jack2-v1.9.10 | 1?
>
> Detail of failures
> ===================
>
> ?????????arc |??????????????????jack2-v1.9.10 | NOK |
> http://autobuild.buildroot.net/results/c05e4a5280f34b2a1dff8a10adfd46f53344e13a/
So this one is almost fixed by Bernd but given he has no time for the real fix
we'll take a look at proposed solution and hopefully will cook up a patch ourselves.
> ?????????arc |??????????????????mesa3d-11.2.2 | NOK |
> http://autobuild.buildroot.net/results/6b29d2dc46a60d7b6aa442d2b2bad2795368bc81/
> ?????????arc |??????????????????mesa3d-11.2.2 | NOK | http://autobuild.buildroot.net/results/8212b9ca27ccd88004135feb2
> a96130d5906fc92/
This long-standing mesa3d problem is fixed with newer tools, so once "next" becomes
a new "master" issue will go away.
-Alexey
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [arc-buildroot] [autobuild.buildroot.net] arc build results for 2016-05-31
2016-06-01 8:17 ` [Buildroot] [arc-buildroot] [autobuild.buildroot.net] arc build results for 2016-05-31 Alexey Brodkin
@ 2016-06-01 8:19 ` Thomas Petazzoni
2016-06-01 9:54 ` Alexey Brodkin
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2016-06-01 8:19 UTC (permalink / raw)
To: buildroot
Hello,
On Wed, 1 Jun 2016 08:17:21 +0000, Alexey Brodkin wrote:
> > ?????????arc |??????????????????jack2-v1.9.10 | NOK |
> > http://autobuild.buildroot.net/results/c05e4a5280f34b2a1dff8a10adfd46f53344e13a/
>
> So this one is almost fixed by Bernd but given he has no time for the real fix
> we'll take a look at proposed solution and hopefully will cook up a patch ourselves.
Aah, good. I proposed a fix in a reply to Bernd, I believe it should
work, it just needs to be tested a little bit on platforms where NGREG
is really defined.
> > ?????????arc |??????????????????mesa3d-11.2.2 | NOK |
> > http://autobuild.buildroot.net/results/6b29d2dc46a60d7b6aa442d2b2bad2795368bc81/
> > ?????????arc |??????????????????mesa3d-11.2.2 | NOK | http://autobuild.buildroot.net/results/8212b9ca27ccd88004135feb2
> > a96130d5906fc92/
>
> This long-standing mesa3d problem is fixed with newer tools, so once "next" becomes
> a new "master" issue will go away.
Excellent, thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [arc-buildroot] [autobuild.buildroot.net] arc build results for 2016-05-31
2016-06-01 8:19 ` Thomas Petazzoni
@ 2016-06-01 9:54 ` Alexey Brodkin
2016-06-01 11:40 ` Alexey Brodkin
0 siblings, 1 reply; 4+ messages in thread
From: Alexey Brodkin @ 2016-06-01 9:54 UTC (permalink / raw)
To: buildroot
Hi Thomas,
On Wed, 2016-06-01 at 10:19 +0200, Thomas Petazzoni wrote:
> Hello,
>
> On Wed, 1 Jun 2016 08:17:21 +0000, Alexey Brodkin wrote:
>
> >
> > >
> > > ?????????arc |??????????????????jack2-v1.9.10 | NOK |
> > > http://autobuild.buildroot.net/results/c05e4a5280f34b2a1dff8a10adfd46f53344e13a/??
> > So this one is almost fixed by Bernd but given he has no time for the real fix
> > we'll take a look at proposed solution and hopefully will cook up a patch ourselves.
> Aah, good. I proposed a fix in a reply to Bernd, I believe it should
> work, it just needs to be tested a little bit on platforms where NGREG
> is really defined.
Hm I see that NGREG is defined in Linux kernel in "include/uapi/linux/elfcore.h" as:
----------------->8----------------
#ifndef __KERNEL__
...
#define NGREG ELF_NGREG
#endif
----------------->8----------------
Then in its turn ELF_NGREG is defined for ARC in "arch/arc/include/uapi/asm/elf.h" as:
----------------->8----------------
#define ELF_NGREG (sizeof(struct user_regs_struct) / sizeof(elf_greg_t))
----------------->8----------------
And since kernel's UAPI is meant to be exported to user-space I would expect NGREG to
be available for ARC and all other users of UAPI.
So might be a better solution would be to just include "elfcore.h" in jack's "dbus/sigsegv.c"?
I'll give it a try locally and if that works I'll send a patch upstream.
-Alexey
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [arc-buildroot] [autobuild.buildroot.net] arc build results for 2016-05-31
2016-06-01 9:54 ` Alexey Brodkin
@ 2016-06-01 11:40 ` Alexey Brodkin
0 siblings, 0 replies; 4+ messages in thread
From: Alexey Brodkin @ 2016-06-01 11:40 UTC (permalink / raw)
To: buildroot
Hi Thomas,
On Wed, 2016-06-01 at 12:53 +0300, Alexey Brodkin wrote:
> Hi Thomas,
>
> On Wed, 2016-06-01 at 10:19 +0200, Thomas Petazzoni wrote:
> >
> > Hello,
> >
> > On Wed, 1 Jun 2016 08:17:21 +0000, Alexey Brodkin wrote:
> >
> > >
> > >
> > > >
> > > >
> > > > ?????????arc |??????????????????jack2-v1.9.10 | NOK |
> > > > http://autobuild.buildroot.net/results/c05e4a5280f34b2a1dff8a10adfd46f53344e13a/??
> > > So this one is almost fixed by Bernd but given he has no time for the real fix
> > > we'll take a look at proposed solution and hopefully will cook up a patch ourselves.
> > Aah, good. I proposed a fix in a reply to Bernd, I believe it should
> > work, it just needs to be tested a little bit on platforms where NGREG
> > is really defined.
> Hm I see that NGREG is defined in Linux kernel in "include/uapi/linux/elfcore.h" as:
> ----------------->8----------------
> #ifndef __KERNEL__
> ...
> #define NGREG ELF_NGREG
> #endif
> ----------------->8----------------
>
> Then in its turn ELF_NGREG is defined for ARC in "arch/arc/include/uapi/asm/elf.h" as:
> ----------------->8----------------
> #define ELF_NGREG (sizeof(struct user_regs_struct) / sizeof(elf_greg_t))
> ----------------->8----------------
>
> And since kernel's UAPI is meant to be exported to user-space I would expect NGREG to
> be available for ARC and all other users of UAPI.
>
> So might be a better solution would be to just include "elfcore.h" in jack's "dbus/sigsegv.c"?
> I'll give it a try locally and if that works I'll send a patch upstream.
Ok apparently that didn't work.
Once I made:
----------------------->8------------------------
diff --git a/dbus/sigsegv.c b/dbus/sigsegv.c
index ee12f91..d7bbe7e 100644
--- a/dbus/sigsegv.c
+++ b/dbus/sigsegv.c
@@ -27,6 +27,7 @@
?#include <stdio.h>
?#include <signal.h>
?#include <dlfcn.h>
+#include <linux/elfcore.h>
?#include <execinfo.h>
?#include <errno.h>
?#ifndef NO_CPP_DEMANGLE
----------------------->8------------------------
I opened a can with worms:
----------------------->8------------------------
[255/259] c: dbus/sigsegv.c -> build/dbus/sigsegv.c.17.o
In file included from /home/abrodkin/Outputs/buildroot/archs38-jack2/host/usr/arc-buildroot-linux-
uclibc/sysroot/usr/include/asm/signal.h:25:0,
?????????????????from /home/abrodkin/Outputs/buildroot/archs38-jack2/host/usr/arc-buildroot-linux-
uclibc/sysroot/usr/include/linux/signal.h:4,
?????????????????from /home/abrodkin/Outputs/buildroot/archs38-jack2/host/usr/arc-buildroot-linux-
uclibc/sysroot/usr/include/linux/elfcore.h:5,
?????????????????from ../dbus/sigsegv.c:30:
/home/abrodkin/Outputs/buildroot/archs38-jack2/host/usr/arc-buildroot-linux-uclibc/sysroot/usr/include/asm-
generic/signal.h:91:3: error: conflicting types for ?sigset_t?
?} sigset_t;
???^
In file included from /home/abrodkin/Outputs/buildroot/archs38-jack2/host/usr/arc-buildroot-linux-
uclibc/sysroot/usr/include/sys/types.h:219:0,
?????????????????from /home/abrodkin/Outputs/buildroot/archs38-jack2/host/usr/arc-buildroot-linux-
uclibc/sysroot/usr/include/stdlib.h:198,
?????????????????from ../dbus/sigsegv.c:26:
/home/abrodkin/Outputs/buildroot/archs38-jack2/host/usr/arc-buildroot-linux-
uclibc/sysroot/usr/include/sys/select.h:37:20: note: previous declaration of ?sigset_t? was here
?typedef __sigset_t sigset_t;
????????????????????^
In file included from /home/abrodkin/Outputs/buildroot/archs38-jack2/host/usr/arc-buildroot-linux-
uclibc/sysroot/usr/include/asm/signal.h:25:0,
?????????????????from /home/abrodkin/Outputs/buildroot/archs38-jack2/host/usr/arc-buildroot-linux-
uclibc/sysroot/usr/include/linux/signal.h:4,
?????????????????from /home/abrodkin/Outputs/buildroot/archs38-jack2/host/usr/arc-buildroot-linux-
uclibc/sysroot/usr/include/linux/elfcore.h:5,
?????????????????from ../dbus/sigsegv.c:30:
/home/abrodkin/Outputs/buildroot/archs38-jack2/host/usr/arc-buildroot-linux-uclibc/sysroot/usr/include/asm-
generic/signal.h:102:8: error: redefinition of ?struct sigaction?
?struct sigaction {
????????^
In file included from /home/abrodkin/Outputs/buildroot/archs38-jack2/host/usr/arc-buildroot-linux-
uclibc/sysroot/usr/include/signal.h:251:0,
?????????????????from ../dbus/sigsegv.c:28:
/home/abrodkin/Outputs/buildroot/archs38-jack2/host/usr/arc-buildroot-linux-
uclibc/sysroot/usr/include/bits/sigaction.h:28:8: note: originally defined here
?struct sigaction {
????????^
/home/abrodkin/Outputs/buildroot/archs38-jack2/host/usr/arc-buildroot-linux-uclibc/sysroot/usr/include/asm-
generic/signal.h:103:17: error: expected ?:?, ?,?, ?;?, ?}? or ?__attribute__? before ?.? token
? __sighandler_t sa_handler;
?????????????????^
In file included from /home/abrodkin/Outputs/buildroot/archs38-jack2/host/usr/arc-buildroot-linux-
uclibc/sysroot/usr/include/asm/signal.h:25:0,
?????????????????from /home/abrodkin/Outputs/buildroot/archs38-jack2/host/usr/arc-buildroot-linux-
uclibc/sysroot/usr/include/linux/signal.h:4,
?????????????????from /home/abrodkin/Outputs/buildroot/archs38-jack2/host/usr/arc-buildroot-linux-
uclibc/sysroot/usr/include/linux/elfcore.h:5,
?????????????????from ../dbus/sigsegv.c:30:
/home/abrodkin/Outputs/buildroot/archs38-jack2/host/usr/arc-buildroot-linux-uclibc/sysroot/usr/include/asm-
generic/signal.h:111:16: error: redefinition of ?struct sigaltstack?
?typedef struct sigaltstack {
????????????????^
In file included from /home/abrodkin/Outputs/buildroot/archs38-jack2/host/usr/arc-buildroot-linux-
uclibc/sysroot/usr/include/signal.h:354:0,
?????????????????from ../dbus/sigsegv.c:28:
/home/abrodkin/Outputs/buildroot/archs38-jack2/host/usr/arc-buildroot-linux-
uclibc/sysroot/usr/include/bits/sigstack.h:49:16: note: originally defined here
?typedef struct sigaltstack
????????????????^
----------------------->8------------------------
Then I googled that?http://article.gmane.org/gmane.linux.kernel.api/14978
So I'm not alone with my grief here.
Which means probably your proposal is the only feasible way to go.
-Alexey
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-06-01 11:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20160601063019.5D553101D2D@stock.ovh.net>
2016-06-01 8:17 ` [Buildroot] [arc-buildroot] [autobuild.buildroot.net] arc build results for 2016-05-31 Alexey Brodkin
2016-06-01 8:19 ` Thomas Petazzoni
2016-06-01 9:54 ` Alexey Brodkin
2016-06-01 11:40 ` Alexey Brodkin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox