Re: Build regressions/improvements in v3.5-rc3

From: Geert Uytterhoeven
Date: Wed Jun 20 2012 - 04:02:50 EST


On Wed, Jun 20, 2012 at 5:59 AM, Paul Mundt <lethal@xxxxxxxxxxxx> wrote:
> On Sun, Jun 17, 2012 at 09:56:59PM +0200, Geert Uytterhoeven wrote:
>> On Sun, Jun 17, 2012 at 9:46 PM, Geert Uytterhoeven
>> <geert@xxxxxxxxxxxxxx> wrote:
>> > 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 were xtensa, not sh.

The ones above ("error: expected expression before 'do'") were sh.

>> Â + error: "__ashrdi3" [fs/ntfs/ntfs.ko] undefined!: Â=> N/A
>> Â + error: "__lshrdi3" [fs/ntfs/ntfs.ko] undefined!: Â=> N/A
>>
>> sh4/landisk_defconfig
>>
>> Â + error: "__ashrdi3" [fs/xfs/xfs.ko] undefined!: Â=> N/A
>> Â + error: "__lshrdi3" [drivers/mtd/mtd.ko] undefined!: Â=> N/A
>> Â + error: "__lshrdi3" [fs/xfs/xfs.ko] undefined!: Â=> N/A
>>
> 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,

            Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/