Skip to contentSkip to conversation

linux-next: New build failures in Sep 25 tree

DISCUSSION Guenter Roeck 5 participants 7 messages Sep 25, 2014 – Sep 26, 2014 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Build results:

	total: 133 pass: 115 fail: 18

Failed builds:
alpha:defconfig
alpha:allmodconfig
arc:defconfig
i386:allyesconfig
i386:allmodconfig
m68k:allmodconfig
mips:allmodconfig
openrisc:defconfig
powerpc:cell_defconfig
powerpc:ppc6xx_defconfig
powerpc:mpc85xx_defconfig
powerpc:mpc85xx_smp_defconfig
powerpc:cell_defconfig
powerpc:ppc6xx_defconfig
powerpc:mpc85xx_defconfig
powerpc:mpc85xx_smp_defconfig
tile:tilegx_defconfig
xtensa:allmodconfig

---

New build failures:

---
arc:defconfig

arch/arc/kernel/setup.c: In function 'customize_machine':
arch/arc/kernel/setup.c:354: error: implicit declaration of function 'of_clk_init'

---
mips:allmodconfig

arch/mips/net/bpf_jit.c: In function 'build_body':
arch/mips/net/bpf_jit.c:762:6: error: unused variable 'tmp' [-Werror=unused-variable]

---
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

---
tile:defconfig

In file included from sound/pci/cs46xx/dsp_spos.c:25:0:
include/linux/pm.h: In function ‘dev_pm_domain_attach’:
include/linux/pm.h:631:10: error: ‘ENODEV’ undeclared make[3]: *** [sound/pci/cs46xx/dsp_spos.o] Error 1

---

Guenter

#1 lore raw

Hi,

Quoted 4 lines · Guenter Roeck

arc:defconfig

arch/arc/kernel/setup.c: In function 'customize_machine':
arch/arc/kernel/setup.c:354: error: implicit declaration of function 'of_clk_init'

This is now fixed/pushed.

Thx,
-Vineet

#2 lore raw
In reply to Guenter Roeck

Hi Günther,

[cc openrisc]

Quoted 7 lines · Guenter Roeck

New build failures:

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 ;-)

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
_______________________________________________
Linux mailing list
[email protected]
http://lists.openrisc.net/listinfo/linux

#3 lore raw
Quoted 7 lines · Geert Uytterhoeven

Hi Günther,

[cc openrisc]

Quoted 1 line · Guenter Roeck

New build failures:

Quoted 8 lines
Quoted 5 lines

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.

Thought I had seen it before.

Quoted 2 lines

If you only see it now, that means something else got fixed ;-)

That's one way to put it ;-)

Guenter

#4 lore raw
In reply to Geert Uytterhoeven
Quoted 13 lines · Geert Uytterhoeven

Hi Günther,

[cc openrisc]

Quoted 7 lines · Guenter Roeck

New build failures:

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

Quoted 6 lines

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 ;-)

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.

Stefan

#5 lore raw
Quoted 19 lines · Stefan Kristiansson
Quoted 17 lines · Geert Uytterhoeven

Hi Günther,

[cc openrisc]

Quoted 7 lines · Guenter Roeck

New build failures:

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 8 lines
Quoted 1 line

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

#6 lore raw
Quoted 29 lines · Guenter Roeck
Quoted 19 lines · Stefan Kristiansson
Quoted 17 lines · Geert Uytterhoeven

Hi Günther,

[cc openrisc]

Quoted 7 lines · Guenter Roeck

New build failures:

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 8 lines
Quoted 1 line

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.

Quoted 7 lines

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

I had no idea you were having build problems for so long!! I'm so sorry! The tree got pulled from -next for a while because we ran into some arm problems and I was going on vacation. So I pulled from -next. It just went back into -next (after I dealt with arm). And so you saw build failure again on the 25th.

I guess the choices are moving EM_OPENRISC public like the other ones (which I believe you sent a patch for) or maybe you can include arch/openrisc/include/uapi/asm/elf.h inside arch/openrisc/include/asm/syscall.h so you still get to keep that definition 'private'. I have no idea if such an include would give you a circular mess. That happens all to often at the arch level.