I’m trying to build the qt4e-demo-image and i’ve stumped into xgcc internal compiler error when trying to compile libgcc (danny)
The compilation line that gives the error is this: /home/pedro/poky-last/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/gcc-cross-initial-4.7.2-r13/gcc-4.7.2/build.x86_64-linux.arm-poky-linux-gnueabi/./gcc/xgcc -B/home/pedro/poky-last/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/gcc-cross-initial-4.7.2-r13/gcc-4.7.2/build.x86_64-linux.arm-poky-linux-gnueabi/./gcc/ -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -isystem/home/pedro/poky-last/poky/build/tmp/sysroots/igep00x0/usr/include -B/home/pedro/poky-last/poky/build/tmp/sysroots/x86_64-linux/usr/arm-poky-linux-gnueabi/bin/ -B/home/pedro/poky-last/poky/build/tmp/sysroots/x86_64-linux/usr/arm-poky-linux-gnueabi/lib/ -isystem /home/pedro/poky-last/poky/build/tmp/sysroots/x86_64-linux/usr/arm-poky-linux-gnueabi/include -isystem /home/pedro/poky-last/poky/build/tmp/sysroots/x86_64-linux/usr/arm-poky-linux-gnueabi/sys-include --sysroot=/home/pedro/poky-last/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/gcc-cross-initial-4.7.2-r13/gcc-4.7.2/build.x86_64-linux.arm-poky-linux-gnueabi/tmpsysroot -g -Os -O2 -g -Os -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -fno-inline -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc -fPIC -fno-inline -I. -I. -I../.././gcc -I/home/pedro/poky-last/poky/build/tmp/work-shared/gcc-4.7.2-r13/gcc-4.7.2/libgcc -I/home/pedro/poky-last/poky/build/tmp/work-shared/gcc-4.7.2-r13/gcc-4.7.2/libgcc/. -I/home/pedro/poky-last/poky/build/tmp/work-shared/gcc-4.7.2-r13/gcc-4.7.2/libgcc/../gcc -I/home/pedro/poky-last/poky/build/tmp/work-shared/gcc-4.7.2-r13/gcc-4.7.2/libgcc/../include -DHAVE_CC_TLS -o _absvdi2.o -MT _absvdi2.o -MD -MP -MF _absvdi2.dep -DL_absvdi2 -c /home/pedro/poky-last/poky/build/tmp/work-shared/gcc-4.7.2-r13/gcc-4.7.2/libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS I’ve noticed that it has -g -Os -O2 -g -Os. If I change it to -g -O2 it compiles fine. Where do they come from ? I’ve been trying to find where they are defined but i cannot see them in the gcc or the libgcc bbs. How could I get rid of the -Os ?
_______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto