------- Comment #4 from alex at ozo dot com 2008-08-03 08:33 ------- trying to compile ath9k for mips or mipsel under openwrt toolchain with gcc-4.2.4 produces the following error:
make[3]: Entering directory `/extra3/openwrt/ar71xx/trunk/package/ath9k' make -C "/extra3/openwrt/ar71xx/trunk/build_dir/linux-ar71xx/linux-2.6.26" ARCH="mips" CROSS_COMPILE="mips-linux-uclibc-" SUBDIRS="/extra3/openwrt/ar71xx/trunk/build_dir/linux-ar71xx/ath9k-20080731/drivers/net/wireless/ath9k" EXTRA_CFLAGS=" -DCONFIG_ATH9K=1 " LINUXINCLUDE="-I/extra3/openwrt/ar71xx/trunk/staging_dir/mips/usr/include/mac80211 -I/extra3/openwrt/ar71xx/trunk/build_dir/linux-ar71xx/linux-2.6.26/include -include linux/autoconf.h" CONFIG_ATH9K=m modules make[4]: Entering directory `/extra3/openwrt/ar71xx/trunk/build_dir/linux-ar71xx/linux-2.6.26' CC [M] /extra3/openwrt/ar71xx/trunk/build_dir/linux-ar71xx/ath9k-20080731/drivers/net/wireless/ath9k/hw.o /extra3/openwrt/ar71xx/trunk/build_dir/linux-ar71xx/ath9k-20080731/drivers/net/wireless/ath9k/hw.c: In function 'ath9k_hw_spur_mitigate': /extra3/openwrt/ar71xx/trunk/build_dir/linux-ar71xx/ath9k-20080731/drivers/net/wireless/ath9k/hw.c:4906: internal compiler error: in expand_expr_real_1, at expr.c:8760 Please submit a full bug report, with preprocessed source if appropriate. a snapshot of the ath9k used is here: http://wifi.ozo.com/airo/openwrt/source/ath9k a relative ticket on the ath9k is here: https://lists.ath9k.org/pipermail/ath9k-devel/2008-August/000082.html gcc-3.4.6 compiles fine for mips & mipsel targets. gcc-4.2.4 also compiles fine for x86 target. -- alex at ozo dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alex at ozo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36947