This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/41642] New: Cross-compiling error on cris os while building openwrt
- From: "bohne-lang at medma dot uni-heidelberg dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Oct 2009 09:33:40 -0000
- Subject: [Bug c/41642] New: Cross-compiling error on cris os while building openwrt
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Making all in arpd
make[7]: Entering directory
`/home/.users/131/andreas/FoxBoard/openwrtSDK/trunk/build_dir/target-cris_uClibc-0.9.30.1/linux-atm-2.4.1/src/arpd'
if cris-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I/home/.users/131/andreas/FoxBoard/openwrtSDK/trunk/staging_dir/target-cris_uClibc-0.9.30.1/usr/include
-I/home/.users/131/andreI/home/.users/131/andreas/FoxBoard/openwrtSDK/trunk/staging_dir/toolchain-cris_gcc-4.3.3_uClibc-0.9.30.1/include
-I../../src/include -Os -pipe -funit-at-a-time -fhonour-copts -Wall -Wshadow
-Wpointer-arith -Wwrite-strings -Wstrict-prototypes -MT arp.o -MD -MP -MF
".deps/arp.Tpo" -c -o arp.o arp.c; \
then mv -f ".deps/arp.Tpo" ".deps/arp.Po"; else rm -f ".deps/arp.Tpo";
exit 1; fi
arp.c: In function 'incoming_arp':
arp.c:866: error: insn does not satisfy its constraints:
(insn 826 737 827 12 arp.c:789 (set (reg:SI 11 r11 [orig:37 temp.738 ] [37])
(zero_extend:SI (reg:QI 16 srp))) 59 {zero_extendqisi2} (nil))
arp.c:866: internal compiler error: in copyprop_hardreg_forward_1, at
regrename.c:1605
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[7]: *** [arp.o] Error 1
make[7]: Leaving directory
`/home/.users/131/andreas/FoxBoard/openwrtSDK/trunk/build_dir/target-cris_uClibc-0.9.30.1/linux-atm-2.4.1/src/arpd'
make[6]: *** [all-recursive] Error 1
---
The -Os cause this error - when changing this flag to -O0 compilation goes on.
--
Summary: Cross-compiling error on cris os while building openwrt
Product: gcc
Version: 4.3.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bohne-lang at medma dot uni-heidelberg dot de
GCC host triplet: linux i586 2.6.20
GCC target triplet: cris-axis-elf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41642