From: Paul Mundt <hidden> Date: 2012-06-20 04:00:12
On Sun, Jun 17, 2012 at 09:56:59PM +0200, Geert Uytterhoeven wrote:
On Sun, Jun 17, 2012 at 9:46 PM, Geert Uytterhoeven
[off-list ref] wrote:
quoted
JFYI, when comparing v3.5-rc3 to v3.5-rc2[3], the summaries are:
??- build errors: +235/-10
Truckloads of powerpc "Unrecognized opcode" breakage, and
That was my fault, should be fixed up by 2603efa31a.
+ drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c: error: implicit
declaration of function 'pci_iomap'
[-Werror=implicit-function-declaration]: => 90:3
+ drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c: error: implicit
declaration of function 'pci_iounmap'
[-Werror=implicit-function-declaration]: => 142:2
Not sure about this one, it should find everything alright via:
linux/io.h -> asm/io.h -> asm-generic/iomap.h -> asm-generic/pci_iomap.h
in the case that PCI is enabled. None of allyesconfig/modconfig enable
PCI for me though, so I'm unsure of how you got in to this configuration
to begin with?
These seem to be the same issue on both platforms, EXPORT_SYMBOL()
doesn't work from lib-y. While it's straightforward to fix, I'm not able
to reproduce __lshrdi3/__ashrdi3 references in any of the above, which
compiler are you using?
Commit: 3777808873b0c49c5cf27e44c948dfb02675d578 breaks all MIPS builds.
CC arch/mips/kernel/machine_kexec.o
In file included from include/linux/kernel.h:20:0,
from include/asm-generic/bug.h:35,
from /home/yuasa/src/linux/kernel/git/linux-2.6/arch/mips/include/asm/bug.h:41,
from /home/yuasa/src/linux/kernel/git/linux-2.6/arch/mips/include/asm/bitops.h:20,
from include/linux/bitops.h:22,
from include/linux/signal.h:38,
from include/linux/elfcore.h:5,
from include/linux/kexec.h:60,
from arch/mips/kernel/machine_kexec.c:9:
include/linux/log2.h: In function '__ilog2_u32':
include/linux/log2.h:34:2: error: implicit declaration of function 'fls' [-Werror=implicit-function-declaration]
include/linux/log2.h: In function '__ilog2_u64':
include/linux/log2.h:42:2: error: implicit declaration of function 'fls64' [-Werror=implicit-function-declaration]
include/linux/log2.h: In function '__roundup_pow_of_two':
include/linux/log2.h:63:2: error: implicit declaration of function 'fls_long' [-Werror=implicit-function-declaration]
In file included from include/linux/bitops.h:22:0,
from include/linux/signal.h:38,
from include/linux/elfcore.h:5,
from include/linux/kexec.h:60,
from arch/mips/kernel/machine_kexec.c:9:
/home/yuasa/src/linux/kernel/git/linux-2.6/arch/mips/include/asm/bitops.h: At top level:
/home/yuasa/src/linux/kernel/git/linux-2.6/arch/mips/include/asm/bitops.h:615:19: error: static declaration of 'fls' follows non-static declaration
include/linux/log2.h:34:9: note: previous implicit declaration of 'fls' was here
In file included from /home/yuasa/src/linux/kernel/git/linux-2.6/arch/mips/include/asm/bitops.h:651:0,
from include/linux/bitops.h:22,
from include/linux/signal.h:38,
from include/linux/elfcore.h:5,
from include/linux/kexec.h:60,
from arch/mips/kernel/machine_kexec.c:9:
include/asm-generic/bitops/fls64.h:18:28: error: static declaration of 'fls64' follows non-static declaration
include/linux/log2.h:42:9: note: previous implicit declaration of 'fls64' was here
In file included from include/linux/signal.h:38:0,
from include/linux/elfcore.h:5,
from include/linux/kexec.h:60,
from arch/mips/kernel/machine_kexec.c:9:
include/linux/bitops.h:160:24: error: conflicting types for 'fls_long'
include/linux/log2.h:63:16: note: previous implicit declaration of 'fls_long' was here
cc1: all warnings being treated as errors
make[2]: *** [arch/mips/kernel/machine_kexec.o] Error 1
Signed-off-by: Yoichi Yuasa <redacted>
---
arch/mips/include/asm/bitops.h | 1 -
arch/mips/include/asm/io.h | 1 +
2 files changed, 1 insertions(+), 1 deletions(-)
From: John Crispin <john@phrozen.org> Date: 2012-06-20 07:10:14
On 20/06/12 08:27, Yoichi Yuasa wrote:
Commit: 3777808873b0c49c5cf27e44c948dfb02675d578 breaks all MIPS builds.
Hi Yoichi,
I stumbled across the same build regression last night and came up with
almost the same fix :-)
Tested-by: John Crispin <redacted>
Thanks,
John
declaration of function 'pci_iomap'
[-Werror=3Dimplicit-function-declaration]: =C2=A0=3D> 90:3
=C2=A0 + drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c: error: implic=
it
quoted
declaration of function 'pci_iounmap'
[-Werror=3Dimplicit-function-declaration]: =C2=A0=3D> 142:2
Not sure about this one, it should find everything alright via:
=C2=A0 =C2=A0 =C2=A0 =C2=A0linux/io.h -> asm/io.h -> asm-generic/iomap.h =
-> asm-generic/pci_iomap.h
in the case that PCI is enabled. None of allyesconfig/modconfig enable
PCI for me though, so I'm unsure of how you got in to this configuration
to begin with?
These were xtensa, not sh.
The ones above ("error: expected expression before 'do'") were sh.
These seem to be the same issue on both platforms, EXPORT_SYMBOL()
doesn't work from lib-y. While it's straightforward to fix, I'm not able
to reproduce __lshrdi3/__ashrdi3 references in any of the above, which
compiler are you using?
http://kisskb.ellerman.id.au/kisskb/buildresult/6543287/ says
sh4-linux-gcc (GCC) 4.6.3
Gr{oetje,eeting}s,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k=
.org
In personal conversations with technical people, I call myself a hacker. Bu=
t
when I'm talking to journalists I just say "programmer" or something like t=
hat.
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 =C2=A0=C2=A0 -- Linus Torvalds
From: Giuseppe CAVALLARO <hidden> Date: 2012-06-20 12:51:30
Hello Paul
On 6/20/2012 5:59 AM, Paul Mundt wrote:
On Sun, Jun 17, 2012 at 09:56:59PM +0200, Geert Uytterhoeven wrote:
quoted
On Sun, Jun 17, 2012 at 9:46 PM, Geert Uytterhoeven
[off-list ref] wrote:
quoted
JFYI, when comparing v3.5-rc3 to v3.5-rc2[3], the summaries are:
??- build errors: +235/-10
Truckloads of powerpc "Unrecognized opcode" breakage, and
That was my fault, should be fixed up by 2603efa31a.
quoted
+ drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c: error: implicit
declaration of function 'pci_iomap'
[-Werror=implicit-function-declaration]: => 90:3
+ drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c: error: implicit
declaration of function 'pci_iounmap'
[-Werror=implicit-function-declaration]: => 142:2
Not sure about this one, it should find everything alright via:
linux/io.h -> asm/io.h -> asm-generic/iomap.h -> asm-generic/pci_iomap.h
in the case that PCI is enabled. None of allyesconfig/modconfig enable
PCI for me though, so I'm unsure of how you got in to this configuration
to begin with?
Trying to reproduce the problem, I've also re-built the mainstream
kernel 3.5-rc3 for se7724_defconfig platform plus the stmmac (pltf and
pci) but all compiles fine.
I've also verified that there is the 33d5e332b9c5 commit that is the
latest one discussed/tested/committed in the network mailing list.
Can you tell me how to reproduce the problem? How can I help?
Pls let me know,
Peppe
On Fri, Jun 22, 2012 at 7:54 PM, David Daney [off-list ref] wrote:
On 06/20/2012 09:12 AM, Ralf Baechle wrote:
quoted
On Wed, Jun 20, 2012 at 03:27:59PM +0900, Yoichi Yuasa wrote:
quoted
Commit: 3777808873b0c49c5cf27e44c948dfb02675d578 breaks all MIPS builds.
Thanks, fix applied.
Where was it applied?
It doesn't show up in linux-next for 20120622, which is where it is needed.
It's also desperately needed in mainline for 3.5.
Ralf?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
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
On Mon, Jul 16, 2012 at 9:27 PM, Geert Uytterhoeven
[off-list ref] wrote:
On Fri, Jun 22, 2012 at 7:54 PM, David Daney [off-list ref] wrote:
quoted
On 06/20/2012 09:12 AM, Ralf Baechle wrote:
quoted
On Wed, Jun 20, 2012 at 03:27:59PM +0900, Yoichi Yuasa wrote:
quoted
Commit: 3777808873b0c49c5cf27e44c948dfb02675d578 breaks all MIPS builds.
Thanks, fix applied.
Where was it applied?
It doesn't show up in linux-next for 20120622, which is where it is needed.
It's also desperately needed in mainline for 3.5.
Ralf?
Andrew? This prevents any green MIPS builds.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
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