All of lore.kernel.org
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Paul Mundt <lethal@linux-sh.org>
Cc: linux-kernel@vger.kernel.org,
	Linuxppc-dev <linuxppc-dev@ozlabs.org>,
	Linux MIPS Mailing List <linux-mips@linux-mips.org>,
	Linux-sh list <linux-sh@vger.kernel.org>,
	Chris Zankel <chris@zankel.net>,
	Giuseppe Cavallaro <peppe.cavallaro@st.com>
Subject: Re: Build regressions/improvements in v3.5-rc3
Date: Wed, 20 Jun 2012 08:02:48 +0000	[thread overview]
Message-ID: <CAMuHMdUmNgBsvVUGsfwKgVq2CfCnOje_4ZUSoig=vSbhN4vSJA@mail.gmail.com> (raw)
In-Reply-To: <20120620035951.GC5623@linux-sh.org>

On Wed, Jun 20, 2012 at 5:59 AM, Paul Mundt <lethal@linux-sh.org> 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@linux-m68k.org> 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@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

WARNING: multiple messages have this Message-ID (diff)
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Paul Mundt <lethal@linux-sh.org>
Cc: linux-kernel@vger.kernel.org,
	Linuxppc-dev <linuxppc-dev@ozlabs.org>,
	Linux MIPS Mailing List <linux-mips@linux-mips.org>,
	Linux-sh list <linux-sh@vger.kernel.org>,
	Chris Zankel <chris@zankel.net>,
	Giuseppe Cavallaro <peppe.cavallaro@st.com>
Subject: Re: Build regressions/improvements in v3.5-rc3
Date: Wed, 20 Jun 2012 10:02:48 +0200	[thread overview]
Message-ID: <CAMuHMdUmNgBsvVUGsfwKgVq2CfCnOje_4ZUSoig=vSbhN4vSJA@mail.gmail.com> (raw)
In-Reply-To: <20120620035951.GC5623@linux-sh.org>

On Wed, Jun 20, 2012 at 5:59 AM, Paul Mundt <lethal@linux-sh.org> 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@linux-m68k.org> 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@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

WARNING: multiple messages have this Message-ID (diff)
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Paul Mundt <lethal@linux-sh.org>
Cc: Chris Zankel <chris@zankel.net>,
	Linux-sh list <linux-sh@vger.kernel.org>,
	linux-kernel@vger.kernel.org,
	Linuxppc-dev <linuxppc-dev@ozlabs.org>,
	Linux MIPS Mailing List <linux-mips@linux-mips.org>,
	Giuseppe Cavallaro <peppe.cavallaro@st.com>
Subject: Re: Build regressions/improvements in v3.5-rc3
Date: Wed, 20 Jun 2012 10:02:48 +0200	[thread overview]
Message-ID: <CAMuHMdUmNgBsvVUGsfwKgVq2CfCnOje_4ZUSoig=vSbhN4vSJA@mail.gmail.com> (raw)
In-Reply-To: <20120620035951.GC5623@linux-sh.org>

On Wed, Jun 20, 2012 at 5:59 AM, Paul Mundt <lethal@linux-sh.org> 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@linux-m68k.org> 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.
>
>> =C2=A0 + drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c: error: implic=
it
>> 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
>> 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.

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

=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

  reply	other threads:[~2012-06-20  8:02 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-17 19:46 Build regressions/improvements in v3.5-rc3 Geert Uytterhoeven
2012-06-17 19:56 ` Geert Uytterhoeven
2012-06-17 19:56   ` Geert Uytterhoeven
2012-06-17 19:56   ` Geert Uytterhoeven
2012-06-17 21:53   ` Benjamin Herrenschmidt
2012-06-17 21:53     ` Benjamin Herrenschmidt
2012-06-17 21:53     ` Benjamin Herrenschmidt
2012-06-17 22:30     ` Andreas Schwab
2012-06-17 22:30       ` Andreas Schwab
2012-06-17 22:30       ` Andreas Schwab
2012-06-18 20:27   ` Kim Phillips
2012-06-18 20:27     ` Kim Phillips
2012-06-18 20:35     ` Mauro Carvalho Chehab
2012-06-18 20:35       ` Mauro Carvalho Chehab
2012-06-20  3:59   ` Paul Mundt
2012-06-20  3:59     ` Paul Mundt
2012-06-20  3:59     ` Paul Mundt
2012-06-20  8:02     ` Geert Uytterhoeven [this message]
2012-06-20  8:02       ` Geert Uytterhoeven
2012-06-20  8:02       ` Geert Uytterhoeven
2012-06-20 12:50     ` Giuseppe CAVALLARO
2012-06-20 12:50       ` Giuseppe CAVALLARO
2012-06-20 12:50       ` Giuseppe CAVALLARO
2012-06-20  6:27   ` [PATCH] MIPS: fix bug.h MIPS build regression Yoichi Yuasa
2012-06-20  6:27     ` Yoichi Yuasa
2012-06-20  6:27     ` Yoichi Yuasa
2012-06-20  7:09     ` John Crispin
2012-06-20  7:09       ` John Crispin
2012-06-20  7:09       ` John Crispin
2012-06-20 10:40     ` Sergei Shtylyov
2012-06-20 10:40       ` Sergei Shtylyov
2012-06-20 10:40       ` Sergei Shtylyov
2012-06-20 16:12     ` Ralf Baechle
2012-06-20 16:12       ` Ralf Baechle
2012-06-20 16:12       ` Ralf Baechle
2012-06-22 17:54       ` David Daney
2012-06-22 17:54         ` David Daney
2012-06-22 17:54         ` David Daney
2012-06-22 17:54         ` David Daney
2012-07-16 19:27         ` Geert Uytterhoeven
2012-07-16 19:27           ` Geert Uytterhoeven
2012-07-16 19:27           ` Geert Uytterhoeven
2012-07-18  8:35           ` Geert Uytterhoeven
2012-07-18  8:35             ` Geert Uytterhoeven
2012-07-18  8:35             ` Geert Uytterhoeven
2012-07-18 21:07             ` Andrew Morton
2012-07-18 21:07               ` Andrew Morton
2012-07-18 21:07               ` Andrew Morton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMuHMdUmNgBsvVUGsfwKgVq2CfCnOje_4ZUSoig=vSbhN4vSJA@mail.gmail.com' \
    --to=geert@linux-m68k.org \
    --cc=chris@zankel.net \
    --cc=lethal@linux-sh.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=peppe.cavallaro@st.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.