Hi Carlos, On Wed, Sep 22, 2010 at 6:04 PM, Carlos O'Donell <carlos@xxxxxxxxxxxxxxxx> wrote: > On 9/22/2010 9:12 AM, Ameya Palande wrote: >> >> CC arch/arm/kernel/asm-offsets.s >> In file included from include/linux/kernel.h:12, >> from include/linux/sched.h:54, >> from arch/arm/kernel/asm-offsets.c:13: >> >> /opt/arm-2010q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/include/stdarg.h:40: >> internal compiler error: Segmentation fault >> Please submit a full bug report, >> with preprocessed source if appropriate. >> See<https://support.codesourcery.com/GNUToolchain/> for instructions. >> make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1 >> make: *** [prepare0] Error 2 > > In order to recreate the problem on our end we need you to provide us with > the following information: > > 1. The compiler command line that causes the failure. > > e.g. gcc -O2 -g -o test.o test.cc > > If you run `make V=1` you should be able to see the actual compiler command > line used to compile the assembly file. arm-none-linux-gnueabi-gcc -Wp,-MD,arch/arm/kernel/.asm-offsets.s.d -nostdinc -isystem /opt/arm-2010q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/include -I/home/ameya/repos/linux-2.6/arch/arm/include -Iinclude -include include/generated/autoconf.h -D__KERNEL__ -mlittle-endian -Iarch/arm/mach-omap2/include -Iarch/arm/plat-omap/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -marm -fno-dwarf2-cfi-asm -mabi=aapcs-linux -mno-thumb-interwork -funwind-tables -D__LINUX_ARM_ARCH__=6 -march=armv6 -mtune=arm1136j-s -msoft-float -Uarm -Wframe-larger-than=1024 -fno-stack-protector -fomit-frame-pointer -g -femit-struct-debug-baseonly -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(asm_offsets)" -D"KBUILD_MODNAME=KBUILD_STR(asm_offsets)" -D"DEBUG_HASH=42" -D"DEBUG_HASH2=41" -fverbose-asm -S -o arch/arm/kernel/asm-offsets.s arch/arm/kernel/asm-offsets.c > 2. The pre-processed source output by the compiler. This is done by adding > '-save-temps' to the compiler command line. This produces a ".i" or "*.ii" > (for C++) file. > > e.g. gcc -save-temps -v -O2 -g -o test.o test.cc > > Please send us the "compiler.log" the "*.i" or "*.ii" (for C++) file, and > the command line used. asm-offsets.i attached with this email. Cheers, Ameya.
Attachment:
asm-offsets.i
Description: Binary data