Re: Build regressions/improvements in v4.3-rc1

6 messages, 4 authors, 2015-09-14 · open the first message on its own page

Re: Build regressions/improvements in v4.3-rc1

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2015-09-13 09:03:53

On Sun, Sep 13, 2015 at 11:01 AM, Geert Uytterhoeven
[off-list ref] 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

Re: Build regressions/improvements in v4.3-rc1

From: Guenter Roeck <linux@roeck-us.net>
Date: 2015-09-13 15:19:34

On Sun, Sep 13, 2015 at 11:03:51AM +0200, Geert Uytterhoeven wrote:
On Sun, Sep 13, 2015 at 11:01 AM, Geert Uytterhoeven
[off-list ref] wrote:
quoted
Below is the list of build error/warning regressions/improvements in
v4.3-rc1[1] compared to v4.2[2].
[ ... ]
quoted
  + /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

Re: Build regressions/improvements in v4.3-rc1

From: Russell King - ARM Linux <hidden>
Date: 2015-09-13 16:58:21

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.

Re: Build regressions/improvements in v4.3-rc1

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2015-09-13 20:23:51

On Sun, Sep 13, 2015 at 5:19 PM, Guenter Roeck [off-list ref] wrote:
On Sun, Sep 13, 2015 at 11:03:51AM +0200, Geert Uytterhoeven wrote:
quoted
On Sun, Sep 13, 2015 at 11:01 AM, Geert Uytterhoeven
[off-list ref] wrote:
quoted
Below is the list of build error/warning regressions/improvements in
v4.3-rc1[1] compared to v4.2[2].
[ ... ]
quoted
quoted
  + /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
quoted
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

Re: Build regressions/improvements in v4.3-rc1

From: Guenter Roeck <linux@roeck-us.net>
Date: 2015-09-14 01:32:36

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:
quoted
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.
quoted
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

Re: Build regressions/improvements in v4.3-rc1

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2015-09-14 05:19:50

On Sun, 2015-09-13 at 22:23 +0200, Geert Uytterhoeven wrote:
On Sun, Sep 13, 2015 at 5:19 PM, Guenter Roeck [off-list ref] wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help