The host is linux 2.6.19. The target platform is Freescale imx31ads board. The cross toolchain is arm-none-linux-gnueabi-.
While compiling the gcc-3.4.3, its giving the following error: -c ../../gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o ../../gcc/unwind-dw2.c: In function 'extract_cie_info': ../../gcc/unwind-dw2.c:328: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness ../../gcc/unwind-dw2.c:381: warning: dereferencing type-punned pointer will break strict-aliasing rules ../../gcc/unwind-dw2.c: In function 'execute_cfa_program': ../../gcc/unwind-dw2.c:844: warning: dereferencing type-punned pointer will break strict-aliasing rules ../../gcc/unwind-dw2.c: In function 'uw_frame_state_for': ../../gcc/unwind-dw2.c:1060: warning: dereferencing type-punned pointer will break strict-aliasing rules ../../gcc/unwind-dw2.c: In function 'init_dwarf_reg_size_table': ../../gcc/unwind-dw2.c:1272: internal compiler error: in arm_dbx_register_number, at config/arm/arm.c:15183 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. make[2]: *** [libgcc/./unwind-dw2.o] Error 1 make[2]: Leaving directory `/home/deepak.singal/test1/ltib-imx31ads-20070511/rpm/BUILD/gcc-3.4.3/build-gcc/gcc' make[1]: *** [libgcc.a] Error 2 make[1]: Leaving directory `/home/deepak.singal/test1/ltib-imx31ads-20070511/rpm/BUILD/gcc-3.4.3/build-gcc/gcc' make: *** [all-gcc] Error 2 error: Bad exit status from /home/deepak.singal/test1/ltib-imx31ads-20070511/tmp/rpm-tmp.87288 (%build) Regards, Deepak Singal -- Summary: Compiling GCC-3.4.3 gives internal compiler error: in arm_dbx_register_number, at config/arm/arm.c Product: gcc Version: 3.4.3 Status: UNCONFIRMED Severity: critical Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: deepak dot singal at nechclst dot in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34151