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

Started by Geert Uytterhoeven on Jun 26, 2012 · 4 messages from 3 authors · Last reply Jun 29, 2012

open the first message on its own page

Message details and related content
On Tue, Jun 26, 2012 at 9:59 PM, Geert Uytterhoeven
[off-list ref] wrote:
JFYI, when comparing v3.5-rc4 to v3.5-rc3[3], the summaries are:
=C2=A0- build errors: +11/-219
11 regressions:
  + arch/sh/include/asm/fixmap.h: error: implicit declaration of
function 'BUG_ON' [-Werror=3Dimplicit-function-declaration]:  =3D> 133:2
  + arch/sh/include/asm/thread_info.h: error: implicit declaration of
function 'WARN_ON' [-Werror=3Dimplicit-function-declaration]:  =3D> 172:2
  + include/linux/huge_mm.h: error: implicit declaration of function
'BUG' [-Werror=3Dimplicit-function-declaration]:  =3D> 185:2

shmin_defconfig, se7712_defconfig, se7721_defconfig, sh-allnoconfig

  + arch/x86/include/asm/paravirt.h: error: implicit declaration of
function 'BUG_ON' [-Werror=3Dimplicit-function-declaration]:  =3D> 25:2
  + arch/x86/include/asm/processor.h: error: implicit declaration of
function 'WARN_ON_ONCE' [-Werror=3Dimplicit-function-declaration]:  =3D>
936:2
  + arch/x86/include/asm/thread_info.h: error: implicit declaration of
function 'WARN_ON' [-Werror=3Dimplicit-function-declaration]:  =3D> 251:2
  + include/linux/slub_def.h: error: implicit declaration of function
'BUG' [-Werror=3Dimplicit-function-declaration]:  =3D> 192:2

i386-randconfig

  + error: of_platform.c: undefined reference to
`.pcibios_claim_one_bus':  =3D> .devinit.text+0x160)

powerpc-randconfig

  + include/asm-generic/pgtable.h: error: implicit declaration of
function 'BUG' [-Werror=3Dimplicit-function-declaration]:  =3D> 56:2
  + include/asm-generic/pgtable.h: error: implicit declaration of
function 'BUG':  =3D> 56
  + include/linux/thread_info.h: error: implicit declaration of
function 'WARN_ON':  =3D> 129

avr32-allnoconfig

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=

12 more lines

Message details and related content
On Tue, 2012-06-26 at 22:06 +0200, Geert Uytterhoeven wrote:
On Tue, Jun 26, 2012 at 9:59 PM, Geert Uytterhoeven
[off-list ref] wrote:
quoted
JFYI, when comparing v3.5-rc4 to v3.5-rc3[3], the summaries are:
 - build errors: +11/-219
powerpc-randconfig

  + include/asm-generic/pgtable.h: error: implicit declaration of function 'BUG' [-Werror=implicit-function-declaration]:  => 56:2
  + include/asm-generic/pgtable.h: error: implicit declaration of function 'BUG':  => 56
  + include/linux/thread_info.h: error: implicit declaration of function 'WARN_ON':  => 129
Fixed by 09682c1dd3820445a27d32dcbeee6a6eafff3dc9 AFAICS.

cheers
Message details and related content
On Tue, Jun 26, 2012 at 10:06:27PM +0200, Geert Uytterhoeven wrote:
On Tue, Jun 26, 2012 at 9:59 PM, Geert Uytterhoeven
[off-list ref] wrote:
quoted
JFYI, when comparing v3.5-rc4 to v3.5-rc3[3], the summaries are:
??- build errors: +11/-219
11 regressions:
  + arch/sh/include/asm/fixmap.h: error: implicit declaration of
function 'BUG_ON' [-Werror=implicit-function-declaration]:  => 133:2
  + arch/sh/include/asm/thread_info.h: error: implicit declaration of
function 'WARN_ON' [-Werror=implicit-function-declaration]:  => 172:2
  + include/linux/huge_mm.h: error: implicit declaration of function
'BUG' [-Werror=implicit-function-declaration]:  => 185:2

shmin_defconfig, se7712_defconfig, se7721_defconfig, sh-allnoconfig
I'm unable to reproduce any of these, is there some specific compiler
version or warning flag configuration I'm supposed to be using? I'm
building with 4.5.1 at the moment.
Message details and related content
Hi Paul,

On Thu, Jun 28, 2012 at 10:20 AM, Paul Mundt [off-list ref] wrote:
On Tue, Jun 26, 2012 at 10:06:27PM +0200, Geert Uytterhoeven wrote:
quoted
On Tue, Jun 26, 2012 at 9:59 PM, Geert Uytterhoeven
[off-list ref] wrote:
quoted
JFYI, when comparing v3.5-rc4 to v3.5-rc3[3], the summaries are:
??- build errors: +11/-219
11 regressions:
=C2=A0 + arch/sh/include/asm/fixmap.h: error: implicit declaration of
function 'BUG_ON' [-Werror=3Dimplicit-function-declaration]: =C2=A0=3D> =
133:2
quoted
=C2=A0 + arch/sh/include/asm/thread_info.h: error: implicit declaration =
of
quoted
function 'WARN_ON' [-Werror=3Dimplicit-function-declaration]: =C2=A0=3D>=
 172:2
quoted
=C2=A0 + include/linux/huge_mm.h: error: implicit declaration of functio=
n
quoted
'BUG' [-Werror=3Dimplicit-function-declaration]: =C2=A0=3D> 185:2

shmin_defconfig, se7712_defconfig, se7721_defconfig, sh-allnoconfig
I'm unable to reproduce any of these, is there some specific compiler
version or warning flag configuration I'm supposed to be using? I'm
building with 4.5.1 at the moment.
Mine (from Tony) is:

sh4-linux-gcc -v
Using built-in specs.
COLLECT_GCC=3D/usr/local/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux-gcc
COLLECT_LTO_WRAPPER=3D/usr/local/gcc-4.6.3-nolibc/sh4-linux/bin/../libexec/=
gcc/sh4-linux/4.6.3/lto-wrapper
Target: sh4-linux
Configured with: /home/tony/buildall/src/gcc/configure
--target=3Dsh4-linux --host=3Dx86_64-linux-gnu --build=3Dx86_64-linux-gnu
--enable-targets=3Dall --prefix=3D/opt/cross/gcc-4.6.3-nolibc/sh4-linux/
--enable-languages=3Dc --with-newlib --without-headers --disable-nls
--disable-threads --disable-shared --disable-libmudflap
--disable-libssp --disable-libgomp --disable-decimal-float
--enable-checking=3Drelease --with-multilib-list=3Dm4,m4-nofpu
--with-mpfr=3D/home/tony/buildall/src/sys-x86_64
--with-gmp=3D/home/tony/buildall/src/sys-x86_64 --disable-bootstrap
--disable-libquadmath
Thread model: single
gcc version 4.6.3 (GCC)

Using v3.5-rc4:

se7721_defconfig:

sh4-linux-gcc -Wp,-MD,arch/sh/kernel/.asm-offsets.s.d  -nostdinc
-isystem /usr/local/gcc-4.6.3-nolibc/sh4-linux/bin/../lib/gcc/sh4-linux/4.6=
.3/include
-Iarch/sh/include -Iarch/sh/include/generated -Iinclude  -include
include/linux/kconfig.h -D__KERNEL__ -m4-nofpu -ml -Wa,-isa=3Dany
-ffreestanding -Iarch/sh/include/cpu-sh3 -Iarch/sh/include/cpu-common
-Iarch/sh/include/mach-se -Iarch/sh/include/mach-common -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-Werror-implicit-function-declaration -Wno-format-security
-fno-delete-null-pointer-checks -O2 -pipe -m4-nofpu -ml -Wa,-isa=3Dany
-ffreestanding -Iarch/sh/include/cpu-sh3 -Iarch/sh/include/cpu-common
-Iarch/sh/include/mach-se -Iarch/sh/include/mach-common
-Wframe-larger-than=3D1024 -fno-stack-protector
-Wno-unused-but-set-variable -fno-omit-frame-pointer

91 more lines

Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help