Modify

Opened 18 months ago

Last modified 18 months ago

#23325 new defect

build failure with gcc for mips32, opcode not supported

Reported by: pmrbpmrb Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: gcc mipsel opcode Cc: pmlists@…

Description

Hi,

I would like to compile gcc for my Asus WL-500gP board, but unfortunately it fails with latest (git HEAD) openwrt:

mipsel-openwrt-linux-musl-gcc   -g -Os -O2  -g -Os -DIN_GCC   -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -fPIC -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector   -fPIC -I. -I. -I../../host-mipsel-openwrt-linux-musl/gcc -I../.././libgcc -I../.././libgcc/. -I../.././libgcc/../gcc -I../.././libgcc/../include  -DHAVE_CC_TLS  -o _m16addsf3_s.o -MT _m16addsf3_s.o -MD -MP -MF _m16addsf3_s.dep -DSHARED -DL_m16addsf3 -xassembler-with-cpp -c ../.././libgcc/config/mips/mips16.S
../.././libgcc/config/mips/mips16.S: Assembler messages:
../.././libgcc/config/mips/mips16.S:202: Error: opcode not supported on this processor: mips1 (mips1) `mtc1 $4,$f12'
../.././libgcc/config/mips/mips16.S:202: Error: opcode not supported on this processor: mips1 (mips1) `mtc1 $5,$f14'
../.././libgcc/config/mips/mips16.S:202: Error: opcode not supported on this processor: mips1 (mips1) `add.s $f0,$f12,$f14'
../.././libgcc/config/mips/mips16.S:202: Error: opcode not supported on this processor: mips1 (mips1) `mfc1 $2,$f0'
Makefile:450: recipe for target '_m16addsf3_s.o' failed
make[6]: *** [_m16addsf3_s.o] Error 1
make[6]: Leaving directory '/tmp/openwrt/build_dir/target-mipsel_mips32_musl-1.1.14/gcc-4.8.3/mipsel-openwrt-linux-musl/libgcc'
Makefile:11257: recipe for target 'all-target-libgcc' failed
make[5]: *** [all-target-libgcc] Error 2
make[5]: Leaving directory '/tmp/openwrt/build_dir/target-mipsel_mips32_musl-1.1.14/gcc-4.8.3'
Makefile:863: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory '/tmp/openwrt/build_dir/target-mipsel_mips32_musl-1.1.14/gcc-4.8.3'
Makefile:118: recipe for target '/tmp/openwrt/build_dir/target-mipsel_mips32_musl-1.1.14/gcc-4.8.3/.built' failed
make[3]: *** [/tmp/openwrt/build_dir/target-mipsel_mips32_musl-1.1.14/gcc-4.8.3/.built] Error 2
make[3]: Leaving directory '/tmp/openwrt/feeds/packages/devel/gcc'
package/Makefile:196: recipe for target 'package/feeds/packages/gcc/compile' failed
make[2]: *** [package/feeds/packages/gcc/compile] Error 2
make[2]: Leaving directory '/tmp/openwrt'
package/Makefile:193: recipe for target '/tmp/openwrt/staging_dir/target-mipsel_mips32_musl-1.1.14/stamp/.package_compile' failed
make[1]: *** [/tmp/openwrt/staging_dir/target-mipsel_mips32_musl-1.1.14/stamp/.package_compile] Error 2
make[1]: Leaving directory '/tmp/openwrt'
/tmp/openwrt/include/toplevel.mk:192: recipe for target 'world' failed
make: *** [world] Error 2

Steps to reproduce:

  • git clone git://github.com/openwrt/openwrt.git
  • cd openwrt
  • ./scripts/feeds update -a
  • ./scripts/feeds install -a
  • make menuconfig
    • Target System -> Broadcom BCM47xx/53xx (MIPS)
    • Target Profile -> ASUS WL-500g Premium v1 (Atheros WiFi using ath5k)
    • Development/gcc -> yes
  • make V=sc

How could this issue be solved please?

TIA for any help, Peter

Attachments (0)

Change History (1)

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.