rying to build for my actiontec wcb3000n / mips-linux-gcc: error: unrecognized argument in option ‘-march=5281’

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm trying to run the do_act_build script for my actiontec wcb3000n
router. The source tree and scripts I'm using are located here:
http://opensource.actiontec.com/sourcecode/wcb3000x/wcb3000n-fw-ncs-0.16.4.3-readme

I'm getting an error from mips-linux-gcc using the following version:

 mips-linux-gcc -v
Using built-in specs.
COLLECT_GCC=mips-linux-gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc-cross/mips-linux-gnu/6/lto-wrapper
Target: mips-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian
6.3.0-18' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs
--enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++
--prefix=/usr --program-suffix=-6 --enable-shared
--enable-linker-build-id --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --libdir=/usr/lib
--enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--with-default-libstdcxx-abi=new --enable-gnu-unique-object
--disable-libitm --disable-libsanitizer --disable-libquadmath
--enable-plugin --enable-default-pie --with-system-zlib
--disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-mips-cross/jre
--enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-mips-cross
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-mips-cross
--with-arch-directory=mips
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libgcj
--enable-multiarch --enable-multilib --with-arch-32=mips32r2
--with-fp-32=xx --with-lxc1-sxc1=no --enable-targets=all
--with-arch-64=mips64r2 --enable-checking=release
--build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=mips-linux-gnu --program-prefix=mips-linux-gnu-
--includedir=/usr/mips-linux-gnu/include
Thread model: posix
gcc version 6.3.0 20170516 (Debian 6.3.0-18)

mips-linux-gcc: note: valid arguments to ‘-march=’ are: 10000 1004kc
1004kf 1004kf1_1 1004kf2_1 10k 12000 12k 14000 14k 16000 16k 2000 20kc
24kc 24kec 24kef 24kef1_1 24kef2_1 24kefx 24kex 24kf 24kf1_1 24kf2_1
24kfx 24kx 2k 3000 34kc 34kf 34kf1_1 34kf2_1 34kfx 34kn 34kx 3900 3k
4000 4100 4111 4120 4130 4300 4400 4600 4650 4700 4k 4kc 4kec 4kem
4kep 4km 4kp 4ksc 4ksd 5000 5400 5500 5900 5k 5kc 5kf 6000 6k 7000
74kc 74kf 74kf1_1 74kf2_1 74kf3_2 74kfx 74kx 7k 8000 8k 9000 9k
from-abi i6400 interaptiv loongson2e loongson2f loongson3a m14k m14kc
m14ke m14kec m4k m5100 m5101 mips1 mips2 mips3 mips32 mips32r2
mips32r3 mips32r5 mips32r6 mips4 mips64 mips64r2 mips64r3 mips64r5
mips64r6 native octeon octeon+ octeon2 octeon3 orion p5600 r10000
r1004kc r1004kf r1004kf1_1 r1004kf2_1 r10k r12000 r12k r14000 r14k
r16000 r16k r2000 r20kc r24kc r24kec r24kef r24kef1_1 r24kef2_1
r24kefx r24kex r24kf r24kf1_1 r24kf2_1 r24kfx r24kx r2k r3000 r34kc
r34kf r34kf1_1 r34kf2_1 r34kfx r34kn r34kx r3900 r3k r4000 r4100 r4111
r4120 r4130 r4300 r4400 r4600 r4650 r4700 r4k r4kc r4kec r4kem r4kep
r4km r4kp r4ksc r4ksd r5000 r5400 r5500 r5900 r5k r5kc r5kf r6000 r6k
r7000 r74kc r74kf r74kf1_1 r74kf2_1 r74kf3_2 r74kfx r74kx r7k r8000
r8k r9000 r9k rm7000 rm7k rm9000 rm9k sb1 sb1a sr71000 sr71k vr4100
vr4111 vr4120 vr4130 vr4300 vr5000 vr5400 vr5500 vr5k xlp xlr
make[2]: *** [Output/head.o] Error 1
make[1]: *** [all] Error 2
Makefile:166: recipe for target 'bootcode' failed
make: *** [bootcode] Error 2

It looks like it's missing the architecture specified in the build
script. Why is the architecture missing and is it unavailable? Has it
been renamed? What should I do to build for my device? Anybody know
which CPU / architecture the wcb3000n is using?




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux