Thread (7 messages) 7 messages, 5 authors, 2014-09-26

Re: linux-next: New build failures in Sep 25 tree

From: Guenter Roeck <linux@roeck-us.net>
Date: 2014-09-26 13:32:55
Also in: lkml

On 09/26/2014 12:59 AM, Stefan Kristiansson wrote:
On Fri, Sep 26, 2014 at 08:30:57AM +0200, Geert Uytterhoeven wrote:
quoted
Hi Günther,

[cc openrisc]

On Thu, Sep 25, 2014 at 10:25 PM, Guenter Roeck [off-list ref] wrote:
quoted
New build failures:
quoted
openrisc-defconfig

In file included from arch/openrisc/kernel/signal.c:31:0:
./arch/openrisc/include/asm/syscall.h: In function 'syscall_get_arch':
./arch/openrisc/include/asm/syscall.h:77:9: error: 'EM_OPENRISC' undeclared
That's not a new one. It's been failing for half or year or so.

If you only see it now, that means something else got fixed ;-)
quoted
From what I can see, it's caused by
ce5d112827e5 ("ARCH: AUDIT: implement syscall_get_arch for all arches")
that got (re?)introduced two days ago.

To me it seems that the problem is that EM_OPENRISC is
missing in include/uapi/linux/elf-em.h, but if that's the case,
I think microblaze have the same problem with that patch applied.
Microblaze builds for some reason. But, yes, that commit is from March.
Maybe that is where I remember it from.

You are right, it builds if I add the define. I'll submit a patch to fix
the problem if the resulting image builds.

Guenter
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help