I built a powerpc cross toolchain from gcc-linaro-4.5-2011.03-0. I
can't reproduce the problem given the bounds.i and command line given by
Matthias or Andy.
Attached is the assembly output.
Using built-in specs.
COLLECT_GCC=./bin/powerpc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/home/michaelh/opt/cross-gcc-linaro/libexec/gcc/powerpc-linux-gnu/4.5.3/lto-wrapper
Target: powerpc-linux-gnu
Configured with: ../../src/gcc-linaro-4.5-2011.03-0/configure
--enable-languages=c --disable-libmudflap --disable-libssp
--prefix=/home/michaelh/opt/cross-gcc-linaro --target=powerpc-linux-gnu
--with-sysroot=/home/michaelh/opt/cross-gcc-linaro/powerpc-linux-gnu
--with-build-sysroot=/media/8ae14326-df5a-4464-84b5-0b30fd9c2ff6/home/michaelh/linaro/cross-build/fancy-cross-gcc/build/sysroot/home/michaelh/opt/cross-gcc-linaro/powerpc-linux-gnu
--disable-softfloat --enable-targets=powerpc-linux,powerpc64-linux
--with-cpu=default32
Thread model: posix
gcc version 4.5.3 20110221 (prerelease) (Linaro GCC 4.5-2011.03-0)
COLLECT_GCC_OPTIONS='-v' '-m64' '-nostdinc' '-isystem'
'/usr/lib/gcc/powerpc-linux-gnu/4.5.2/include' '-I/usr/src/linux-headers-lbm-'
'-I/home/apw/build/ubuntu-natty/ubuntu-natty/arch/powerpc/include' '-Iinclude'
'-I/home/apw/build/ubuntu-natty/ubuntu-natty/include' '-include'
'include/generated/autoconf.h' '-Iubuntu/include'
'-I/home/apw/build/ubuntu-natty/ubuntu-natty/ubuntu/include'
'-I/home/apw/build/ubuntu-natty/ubuntu-natty/.' '-I.' '-D__KERNEL__'
'-I/home/apw/build/ubuntu-natty/ubuntu-natty/arch/powerpc' '-Iarch/powerpc'
'-Wall' '-Wundef' '-Wstrict-prototypes' '-Wno-trigraphs' '-fno-strict-aliasing'
'-fno-common' '-Werror-implicit-function-declaration' '-Wno-format-security'
'-fno-delete-null-pointer-checks' '-fno-shrink-wrap' '-O2' '-msoft-float'
'-pipe' '-I/home/apw/build/ubuntu-natty/ubuntu-natty/arch/powerpc'
'-Iarch/powerpc' '-mminimal-toc' '-mtraceback=none' '-mcall-aixdesc'
'-mtune=power4' '-mno-altivec' '-mno-spe' '-mspe=no' '-funit-at-a-time'
'-fno-dwarf2-cfi-asm' '-mno-string' '-mno-sched-epilog'
'-Wframe-larger-than=1024' '-fno-stack-protector' '-fno-omit-frame-pointer'
'-fno-optimize-sibling-calls' '-pg' '-Wdeclaration-after-statement'
'-Wno-pointer-sign' '-fno-strict-overflow' '-fconserve-stack'
'-DCC_HAVE_ASM_GOTO' '-DKBUILD_STR(s)=#s'
'-DKBUILD_BASENAME=KBUILD_STR(bounds)' '-DKBUILD_MODNAME=KBUILD_STR(bounds)'
'-fverbose-asm' '-S'
/home/michaelh/opt/cross-gcc-linaro/libexec/gcc/powerpc-linux-gnu/4.5.3/cc1
-fpreprocessed bounds.i -mbig -quiet -dumpbase bounds.i -m64 -msoft-float
-mminimal-toc -mtraceback=none -mcall-aixdesc -mtune=power4 -mno-altivec
-mno-spe -mspe=no -mno-string -mno-sched-epilog -auxbase bounds -O2 -Wall
-Wundef -Wstrict-prototypes -Wno-trigraphs
-Werror-implicit-function-declaration -Wno-format-security
-Wframe-larger-than=1024 -Wdeclaration-after-statement -Wno-pointer-sign
-version -p -fno-strict-aliasing -fno-common -fno-delete-null-pointer-checks
-fno-shrink-wrap -funit-at-a-time -fno-dwarf2-cfi-asm -fno-stack-protector
-fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-strict-overflow
-fconserve-stack -fverbose-asm -o bounds.s
GNU C (Linaro GCC 4.5-2011.03-0) version 4.5.3 20110221 (prerelease)
(powerpc-linux-gnu)
compiled by GNU C version 4.4.5, GMP version 4.3.2, MPFR version
3.0.0-p3, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C (Linaro GCC 4.5-2011.03-0) version 4.5.3 20110221 (prerelease)
(powerpc-linux-gnu)
compiled by GNU C version 4.4.5, GMP version 4.3.2, MPFR version
3.0.0-p3, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 4eb676b63583ff9d923628b3afbd2fc8
COMPILER_PATH=/home/michaelh/opt/cross-gcc-linaro/libexec/gcc/powerpc-linux-gnu/4.5.3/:/home/michaelh/opt/cross-gcc-linaro/libexec/gcc/powerpc-linux-gnu/4.5.3/:/home/michaelh/opt/cross-gcc-linaro/libexec/gcc/powerpc-linux-gnu/:/home/michaelh/opt/cross-gcc-linaro/lib/gcc/powerpc-linux-gnu/4.5.3/:/home/michaelh/opt/cross-gcc-linaro/lib/gcc/powerpc-linux-gnu/:/home/michaelh/opt/cross-gcc-linaro/lib/gcc/powerpc-linux-gnu/4.5.3/../../../../powerpc-linux-gnu/bin/
LIBRARY_PATH=/home/michaelh/opt/cross-gcc-linaro/lib/gcc/powerpc-linux-gnu/4.5.3/:/home/michaelh/opt/cross-gcc-linaro/lib/gcc/powerpc-linux-gnu/4.5.3/../../../../powerpc-linux-gnu/lib/:/home/michaelh/opt/cross-gcc-linaro/powerpc-linux-gnu/lib/:/home/michaelh/opt/cross-gcc-linaro/powerpc-linux-gnu/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-m64' '-nostdinc' '-isystem'
'/usr/lib/gcc/powerpc-linux-gnu/4.5.2/include' '-I/usr/src/linux-headers-lbm-'
'-I/home/apw/build/ubuntu-natty/ubuntu-natty/arch/powerpc/include' '-Iinclude'
'-I/home/apw/build/ubuntu-natty/ubuntu-natty/include' '-include'
'include/generated/autoconf.h' '-Iubuntu/include'
'-I/home/apw/build/ubuntu-natty/ubuntu-natty/ubuntu/include'
'-I/home/apw/build/ubuntu-natty/ubuntu-natty/.' '-I.' '-D__KERNEL__'
'-I/home/apw/build/ubuntu-natty/ubuntu-natty/arch/powerpc' '-Iarch/powerpc'
'-Wall' '-Wundef' '-Wstrict-prototypes' '-Wno-trigraphs' '-fno-strict-aliasing'
'-fno-common' '-Werror-implicit-function-declaration' '-Wno-format-security'
'-fno-delete-null-pointer-checks' '-fno-shrink-wrap' '-O2' '-msoft-float'
'-pipe' '-I/home/apw/build/ubuntu-natty/ubuntu-natty/arch/powerpc'
'-Iarch/powerpc' '-mminimal-toc' '-mtraceback=none' '-mcall-aixdesc'
'-mtune=power4' '-mno-altivec' '-mno-spe' '-mspe=no' '-funit-at-a-time'
'-fno-dwarf2-cfi-asm' '-mno-string' '-mno-sched-epilog'
'-Wframe-larger-than=1024' '-fno-stack-protector' '-fno-omit-frame-pointer'
'-fno-optimize-sibling-calls' '-pg' '-Wdeclaration-after-statement'
'-Wno-pointer-sign' '-fno-strict-overflow' '-fconserve-stack'
'-DCC_HAVE_ASM_GOTO' '-DKBUILD_STR(s)=#s'
'-DKBUILD_BASENAME=KBUILD_STR(bounds)' '-DKBUILD_MODNAME=KBUILD_STR(bounds)'
'-fverbose-asm' '-S'
** Attachment added: "Assembly output"
https://bugs.launchpad.net/ubuntu/+source/gcc-4.5/+bug/731665/+attachment/1898278/+files/bounds.s
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/731665
Title:
internal compiler error compiling kernel on powerpc
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs