linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: Build regressions/improvements in v4.3-rc1
       [not found] <1442134868-17607-1-git-send-email-geert@linux-m68k.org>
@ 2015-09-13  9:03 ` Geert Uytterhoeven
  2015-09-13 15:19   ` Guenter Roeck
  0 siblings, 1 reply; 6+ messages in thread
From: Geert Uytterhoeven @ 2015-09-13  9:03 UTC (permalink / raw)
  To: linux-kernel@vger.kernel.org
  Cc: linux-arm-kernel@lists.infradead.org,
	linuxppc-dev@lists.ozlabs.org

On Sun, Sep 13, 2015 at 11:01 AM, Geert Uytterhoeven
<geert@linux-m68k.org> wrote:
> Below is the list of build error/warning regressions/improvements in
> v4.3-rc1[1] compared to v4.2[2].
>
> Summarized:
>   - build errors: +15/-6

> [1] http://kisskb.ellerman.id.au/kisskb/head/9353/ (all 254 configs)
> [2] http://kisskb.ellerman.id.au/kisskb/head/9309/ (all 254 configs)

>   + /home/kisskb/slave/src/arch/arm/kernel/devtree.c: error: implicit declaration of function 'early_init_dt_scan_nodes' [-Werror=implicit-function-declaration]:  => 244:2
>   + /home/kisskb/slave/src/arch/arm/kernel/devtree.c: error: implicit declaration of function 'early_init_dt_verify' [-Werror=implicit-function-declaration]:  => 215:2
>   + /home/kisskb/slave/src/arch/arm/kernel/devtree.c: error: implicit declaration of function 'of_flat_dt_match_machine' [-Werror=implicit-function-declaration]:  => 218:2
>   + /home/kisskb/slave/src/arch/arm/kernel/devtree.c: error: implicit declaration of function 'of_get_flat_dt_prop' [-Werror=implicit-function-declaration]:  => 229:3
>   + /home/kisskb/slave/src/arch/arm/kernel/devtree.c: error: implicit declaration of function 'of_get_flat_dt_root' [-Werror=implicit-function-declaration]:  => 228:3
>   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_DIRTY' undeclared (first use in this function):  => 39:2
>   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_MT_WRITEBACK' undeclared (first use in this function):  => 39:2
>   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_PRESENT' undeclared (first use in this function):  => 39:2
>   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_XN' undeclared (first use in this function):  => 39:2
>   + /home/kisskb/slave/src/arch/arm/kernel/patch.c: error: 'L_PTE_YOUNG' undeclared (first use in this function):  => 39:2

arm-randconfig

>   + /home/kisskb/slave/src/arch/powerpc/kvm/book3s_pr.c: error: 'last_sc' may be used uninitialized in this function [-Werror=uninitialized]:  => 1094:31

powerpc-allyesconfig, powerpc-randconfig, powerpc-allmodconfig

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Build regressions/improvements in v4.3-rc1
  2015-09-13  9:03 ` Build regressions/improvements in v4.3-rc1 Geert Uytterhoeven
@ 2015-09-13 15:19   ` Guenter Roeck
  2015-09-13 16:57     ` Russell King - ARM Linux
  2015-09-13 20:23     ` Geert Uytterhoeven
  0 siblings, 2 replies; 6+ messages in thread
From: Guenter Roeck @ 2015-09-13 15:19 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linuxppc-dev@lists.ozlabs.org

On Sun, Sep 13, 2015 at 11:03:51AM +0200, Geert Uytterhoeven wrote:
> On Sun, Sep 13, 2015 at 11:01 AM, Geert Uytterhoeven
> <geert@linux-m68k.org> wrote:
> > Below is the list of build error/warning regressions/improvements in
> > v4.3-rc1[1] compared to v4.2[2].
> >
[ ... ]

> 
> >   + /home/kisskb/slave/src/arch/powerpc/kvm/book3s_pr.c: error: 'last_sc' may be used uninitialized in this function [-Werror=uninitialized]:  => 1094:31
> 
> powerpc-allyesconfig, powerpc-randconfig, powerpc-allmodconfig
> 

I think that only affects powerpc-randconfig.

Also:

alpha:allmodconfig:

drivers/video/fbdev/aty/atyfb_base.c: In function 'atyfb_setup_generic':
drivers/video/fbdev/aty/atyfb_base.c:3447:2: error: implicit declaration of function 'ioremap_uc'

arm:rpc_defconfig:

fs/fat/dir.c: In function 'fat_ioctl_filldir':
fs/fat/dir.c:752:43: internal compiler error: Max. number of generated reload insns per insn is achieved (90)

[ gcc 4.9.1, 4.9.2 ]

arm64:allmodconfig:

drivers/firmware/qcom_scm-32.c:196:4: error: expected string literal before ‘__asmeq’
drivers/firmware/qcom_scm-32.c:221:2: error: implicit declaration of function ‘secure_flush_area’
drivers/firmware/qcom_scm-32.c:239:2: error: implicit declaration of function ‘outer_inv_range’
drivers/firmware/qcom_scm-32.c:331:4: error: expected string literal before ‘__asmeq’
drivers/firmware/qcom_scm-32.c:361:4: error: expected string literal before ‘__asmeq’

h8300:edosk2674_defconfig, h8300:h8s-sim_defconfig:

drivers/clk/h8300/clk-h8s2678.c: In function ‘h8s2678_pll_clk_setup’:
drivers/clk/h8300/clk-h8s2678.c:99:14: error: implicit declaration of function ‘kzalloc’
drivers/clk/h8300/clk-h8s2678.c:138:2: error: implicit declaration of function ‘kfree’

Guenter

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Build regressions/improvements in v4.3-rc1
  2015-09-13 15:19   ` Guenter Roeck
@ 2015-09-13 16:57     ` Russell King - ARM Linux
  2015-09-14  1:32       ` Guenter Roeck
  2015-09-13 20:23     ` Geert Uytterhoeven
  1 sibling, 1 reply; 6+ messages in thread
From: Russell King - ARM Linux @ 2015-09-13 16:57 UTC (permalink / raw)
  To: Guenter Roeck
  Cc: Geert Uytterhoeven, linuxppc-dev@lists.ozlabs.org,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org

On Sun, Sep 13, 2015 at 08:19:26AM -0700, Guenter Roeck wrote:
> arm:rpc_defconfig:
> 
> fs/fat/dir.c: In function 'fat_ioctl_filldir':
> fs/fat/dir.c:752:43: internal compiler error: Max. number of generated reload insns per insn is achieved (90)

Not much can be done about that - gcc people aren't interested in fixing
ARMv3 compiler support anymore, although this is still buildable with
older compilers.  I don't see any point in removing the platform just
because GCC has decided to break itself.

> arm64:allmodconfig:
> 
> drivers/firmware/qcom_scm-32.c:196:4: error: expected string literal before ‘__asmeq’
> drivers/firmware/qcom_scm-32.c:221:2: error: implicit declaration of function ‘secure_flush_area’
> drivers/firmware/qcom_scm-32.c:239:2: error: implicit declaration of function ‘outer_inv_range’
> drivers/firmware/qcom_scm-32.c:331:4: error: expected string literal before ‘__asmeq’
> drivers/firmware/qcom_scm-32.c:361:4: error: expected string literal before ‘__asmeq’

This file shouldn't be built on ARM64, and there's a fix in the pipeline
which obviously didn't make -rc1 for it.

-- 
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Build regressions/improvements in v4.3-rc1
  2015-09-13 15:19   ` Guenter Roeck
  2015-09-13 16:57     ` Russell King - ARM Linux
@ 2015-09-13 20:23     ` Geert Uytterhoeven
  2015-09-14  5:19       ` Michael Ellerman
  1 sibling, 1 reply; 6+ messages in thread
From: Geert Uytterhoeven @ 2015-09-13 20:23 UTC (permalink / raw)
  To: Guenter Roeck, Stephen Rothwell, Michael Ellerman
  Cc: linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linuxppc-dev@lists.ozlabs.org

On Sun, Sep 13, 2015 at 5:19 PM, Guenter Roeck <linux@roeck-us.net> wrote:
> On Sun, Sep 13, 2015 at 11:03:51AM +0200, Geert Uytterhoeven wrote:
>> On Sun, Sep 13, 2015 at 11:01 AM, Geert Uytterhoeven
>> <geert@linux-m68k.org> wrote:
>> > Below is the list of build error/warning regressions/improvements in
>> > v4.3-rc1[1] compared to v4.2[2].
>> >
> [ ... ]
>
>>
>> >   + /home/kisskb/slave/src/arch/powerpc/kvm/book3s_pr.c: error: 'last_=
sc' may be used uninitialized in this function [-Werror=3Duninitialized]:  =
=3D> 1094:31
>>
>> powerpc-allyesconfig, powerpc-randconfig, powerpc-allmodconfig
>
> I think that only affects powerpc-randconfig.

Right, on powerpc-all{mod,yes}config it's just a build warning, not an erro=
r.

> arm64:allmodconfig:
>
> drivers/firmware/qcom_scm-32.c:196:4: error: expected string literal befo=
re =E2=80=98__asmeq=E2=80=99
> drivers/firmware/qcom_scm-32.c:221:2: error: implicit declaration of func=
tion =E2=80=98secure_flush_area=E2=80=99
> drivers/firmware/qcom_scm-32.c:239:2: error: implicit declaration of func=
tion =E2=80=98outer_inv_range=E2=80=99
> drivers/firmware/qcom_scm-32.c:331:4: error: expected string literal befo=
re =E2=80=98__asmeq=E2=80=99
> drivers/firmware/qcom_scm-32.c:361:4: error: expected string literal befo=
re =E2=80=98__asmeq=E2=80=99

Time for kisskb to gain arm64 support?

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. Bu=
t
when I'm talking to journalists I just say "programmer" or something like t=
hat.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Build regressions/improvements in v4.3-rc1
  2015-09-13 16:57     ` Russell King - ARM Linux
@ 2015-09-14  1:32       ` Guenter Roeck
  0 siblings, 0 replies; 6+ messages in thread
From: Guenter Roeck @ 2015-09-14  1:32 UTC (permalink / raw)
  To: Russell King - ARM Linux
  Cc: Geert Uytterhoeven, linuxppc-dev@lists.ozlabs.org,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org

Russell,

On 09/13/2015 09:57 AM, Russell King - ARM Linux wrote:
> On Sun, Sep 13, 2015 at 08:19:26AM -0700, Guenter Roeck wrote:
>> arm:rpc_defconfig:
>>
>> fs/fat/dir.c: In function 'fat_ioctl_filldir':
>> fs/fat/dir.c:752:43: internal compiler error: Max. number of generated reload insns per insn is achieved (90)
>
> Not much can be done about that - gcc people aren't interested in fixing
> ARMv3 compiler support anymore, although this is still buildable with
> older compilers.  I don't see any point in removing the platform just
> because GCC has decided to break itself.
>
To be fair, they actually fixed a number of similar problems recently,
though I don't know if they happened to fix this one in later versions of gcc.
This specific error seems to be pretty far spread.

Guess you are saying that there is no plan to implement a workaround.
Fair enough; I'll just remove the configuration from my list of tests.

>> arm64:allmodconfig:
>>
>> drivers/firmware/qcom_scm-32.c:196:4: error: expected string literal before ‘__asmeq’
>> drivers/firmware/qcom_scm-32.c:221:2: error: implicit declaration of function ‘secure_flush_area’
>> drivers/firmware/qcom_scm-32.c:239:2: error: implicit declaration of function ‘outer_inv_range’
>> drivers/firmware/qcom_scm-32.c:331:4: error: expected string literal before ‘__asmeq’
>> drivers/firmware/qcom_scm-32.c:361:4: error: expected string literal before ‘__asmeq’
>
> This file shouldn't be built on ARM64, and there's a fix in the pipeline
> which obviously didn't make -rc1 for it.
>

Fixes are in the pipeline for most of the problems. Only exception is alpha;
the patches necessary to fix the problems there only met silence.

I'll probably wait for -rc4 or -rc5 and then send a pull request for everything
that is left directly to Linus.

Thanks,
Guenter

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Build regressions/improvements in v4.3-rc1
  2015-09-13 20:23     ` Geert Uytterhoeven
@ 2015-09-14  5:19       ` Michael Ellerman
  0 siblings, 0 replies; 6+ messages in thread
From: Michael Ellerman @ 2015-09-14  5:19 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Guenter Roeck, Stephen Rothwell, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linuxppc-dev@lists.ozlabs.org

On Sun, 2015-09-13 at 22:23 +0200, Geert Uytterhoeven wrote:
> On Sun, Sep 13, 2015 at 5:19 PM, Guenter Roeck <linux@roeck-us.net> wrote:
> > arm64:allmodconfig:
> >
> > drivers/firmware/qcom_scm-32.c:196:4: error: expected string literal before ‘__asmeq’
> > drivers/firmware/qcom_scm-32.c:221:2: error: implicit declaration of function ‘secure_flush_area’
> > drivers/firmware/qcom_scm-32.c:239:2: error: implicit declaration of function ‘outer_inv_range’
> > drivers/firmware/qcom_scm-32.c:331:4: error: expected string literal before ‘__asmeq’
> > drivers/firmware/qcom_scm-32.c:361:4: error: expected string literal before ‘__asmeq’
> 
> Time for kisskb to gain arm64 support?

Yes. I'll add it to my TODO list.

cheers

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-09-14  5:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1442134868-17607-1-git-send-email-geert@linux-m68k.org>
2015-09-13  9:03 ` Build regressions/improvements in v4.3-rc1 Geert Uytterhoeven
2015-09-13 15:19   ` Guenter Roeck
2015-09-13 16:57     ` Russell King - ARM Linux
2015-09-14  1:32       ` Guenter Roeck
2015-09-13 20:23     ` Geert Uytterhoeven
2015-09-14  5:19       ` Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).