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

2012-06-29 Thread Geert Uytterhoeven
Hi Paul,

On Thu, Jun 28, 2012 at 10:20 AM, Paul Mundt let...@linux-sh.org wrote:
 On Tue, Jun 26, 2012 at 10:06:27PM +0200, Geert Uytterhoeven wrote:
 On Tue, Jun 26, 2012 at 9:59 PM, Geert Uytterhoeven
 ge...@linux-m68k.org wrote:
  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.

Mine (from Tony) is:

sh4-linux-gcc -v
Using built-in specs.
COLLECT_GCC=/usr/local/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux-gcc
COLLECT_LTO_WRAPPER=/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=sh4-linux --host=x86_64-linux-gnu --build=x86_64-linux-gnu
--enable-targets=all --prefix=/opt/cross/gcc-4.6.3-nolibc/sh4-linux/
--enable-languages=c --with-newlib --without-headers --disable-nls
--disable-threads --disable-shared --disable-libmudflap
--disable-libssp --disable-libgomp --disable-decimal-float
--enable-checking=release --with-multilib-list=m4,m4-nofpu
--with-mpfr=/home/tony/buildall/src/sys-x86_64
--with-gmp=/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=any
-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=any
-ffreestanding -Iarch/sh/include/cpu-sh3 -Iarch/sh/include/cpu-common
-Iarch/sh/include/mach-se -Iarch/sh/include/mach-common
-Wframe-larger-than=1024 -fno-stack-protector
-Wno-unused-but-set-variable -fno-omit-frame-pointer
-fno-optimize-sibling-calls -g -Wdeclaration-after-statement
-Wno-pointer-sign -fno-strict-overflow -fconserve-stack
-DCC_HAVE_ASM_GOTO-DKBUILD_STR(s)=#s
-DKBUILD_BASENAME=KBUILD_STR(asm_offsets)
-DKBUILD_MODNAME=KBUILD_STR(asm_offsets) -fverbose-asm -S -o
arch/sh/kernel/asm-offsets.s arch/sh/kernel/asm-offsets.c
In file included from include/linux/thread_info.h:54:0,
 from include/linux/preempt.h:9,
 from include/linux/spinlock.h:50,
 from include/linux/mmzone.h:7,
 from include/linux/gfp.h:4,
 from include/linux/mm.h:8,
 from arch/sh/kernel/asm-offsets.c:13:
arch/sh/include/asm/thread_info.h: In function 'set_restore_sigmask':
arch/sh/include/asm/thread_info.h:172:2: error: implicit declaration
of function 'WARN_ON' [-Werror=implicit-function-declaration]
In file included from arch/sh/include/asm/pgtable.h:25:0,
 from include/linux/mm.h:44,
 from arch/sh/kernel/asm-offsets.c:13:
arch/sh/include/asm/fixmap.h: In function 'virt_to_fix':
arch/sh/include/asm/fixmap.h:133:2: error: implicit declaration of
function 'BUG_ON' [-Werror=implicit-function-declaration]
In file included from arch/sh/include/asm/pgtable.h:164:0,
 from include/linux/mm.h:44,
 from arch/sh/kernel/asm-offsets.c:13:
include/asm-generic/pgtable.h: In function 'pmdp_test_and_clear_young':
include/asm-generic/pgtable.h:56:2: error: implicit declaration of
function 'BUG' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[1]: *** [arch/sh/kernel/asm-offsets.s] Error 1


allnoconfig:

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=any
-ffreestanding -Iarch/sh/include/cpu-sh2 -Iarch/sh/include/cpu-common
-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 

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

2012-06-28 Thread Paul Mundt
On Tue, Jun 26, 2012 at 10:06:27PM +0200, Geert Uytterhoeven wrote:
 On Tue, Jun 26, 2012 at 9:59 PM, Geert Uytterhoeven
 ge...@linux-m68k.org wrote:
  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.
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


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

2012-06-27 Thread Michael Ellerman
On Tue, 2012-06-26 at 22:06 +0200, Geert Uytterhoeven wrote:
 On Tue, Jun 26, 2012 at 9:59 PM, Geert Uytterhoeven
 ge...@linux-m68k.org wrote:
  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

___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


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

2012-06-26 Thread Geert Uytterhoeven
On Tue, Jun 26, 2012 at 9:59 PM, Geert Uytterhoeven
ge...@linux-m68k.org wrote:
 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

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

i386-randconfig

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

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

avr32-allnoconfig

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@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
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev