public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] Problem compiling batman for openwrt
@ 2014-02-13 14:15 Konstantin Pribluda
  2014-02-13 17:44 ` Antonio Quartulli
  0 siblings, 1 reply; 2+ messages in thread
From: Konstantin Pribluda @ 2014-02-13 14:15 UTC (permalink / raw)
  To: b.a.t.m.a.n

Hi all,

I try to compile  2013.4 against trunk of openwrt,  and habe problem
with batctl:
----------------------%<-------------------
CPPFLAGS="-I/home/ko5tik/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include
-I/home/ko5tik/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include
-I/home/ko5tik/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include
-I/home/ko5tik/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.6-linaro_uClibc-0.9.33.2/include"
CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc
-fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable
-msoft-float -ffunction-sections -fdata-sections -flto"
LDFLAGS="-L/home/ko5tik/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib
-L/home/ko5tik/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib
-L/home/ko5tik/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib
-L/home/ko5tik/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.6-linaro_uClibc-0.9.33.2/lib
-Wl,--gc-sections -fuse-linker-plugin" make -C
/home/ko5tik/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/batman-adv/batctl-2013.4.0
REVISION="" CC="mips-openwrt-linux-uclibc-gcc"
DESTDIR="/home/ko5tik/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/batman-adv/batman-adv-2013.4.0/ipkg-install"
batctl install
make[4]: Entering directory
`/home/ko5tik/openwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/batman-adv/batctl-2013.4.0'
mips-openwrt-linux-uclibc-gcc
-L/home/ko5tik/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib
-L/home/ko5tik/openwrt/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib
-L/home/ko5tik/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib
-L/home/ko5tik/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.6-linaro_uClibc-0.9.33.2/lib
-Wl,--gc-sections -fuse-linker-plugin  main.o bat-hosts.o functions.o
sys.o debug.o ping.o traceroute.o tcpdump.o hash.o vis.o debugfs.o
ioctl.o list-batman.o translate.o -lm -o batctl
/tmp/ccSxljUB.s: Assembler messages:
/tmp/ccSxljUB.s:3002: Warning: Macro instruction expanded into
multiple instructions
/tmp/ccSxljUB.s:3018: Warning: Macro instruction expanded into
multiple instructions
/tmp/ccSxljUB.s:3117: Warning: Macro instruction expanded into
multiple instructions
/tmp/ccSxljUB.s:3141: Warning: Macro instruction expanded into
multiple instructions
/tmp/ccSxljUB.s:3151: Warning: Macro instruction expanded into
multiple instructions
/tmp/ccSxljUB.s:3205: Warning: Macro instruction expanded into
multiple instructions
/tmp/ccSxljUB.s:3242: Warning: Macro instruction expanded into
multiple instructions
/tmp/ccSxljUB.s:3298: Warning: Macro instruction expanded into
multiple instructions
/tmp/ccSxljUB.s:3314: Warning: Macro instruction expanded into
multiple instructions
/tmp/ccuGt0iL.s: Assembler messages:
/tmp/ccuGt0iL.s:666: Error: opcode not supported on this processor:
mips1 (mips1) `ext $2,$2,24,4'
/tmp/ccuGt0iL.s:677: Error: opcode not supported on this processor:
mips1 (mips1) `ext $2,$2,24,4'
/tmp/ccuGt0iL.s:736: Error: opcode not supported on this processor:
mips1 (mips1) `ext $2,$2,24,4'
/tmp/ccuGt0iL.s:752: Error: opcode not supported on this processor:
mips1 (mips1) `ext $2,$2,24,4'
/tmp/ccuGt0iL.s:775: Error: opcode not supported on this processor:
mips1 (mips1) `ext $2,$2,24,4'
/tmp/ccuGt0iL.s:838: Error: opcode not supported on this processor:
mips1 (mips1) `ext $2,$2,24,4'
/tmp/ccuGt0iL.s:859: Error: opcode not supported on this processor:
mips1 (mips1) `ext $2,$2,24,4'
/tmp/ccuGt0iL.s:876: Error: opcode not supported on this processor:
mips1 (mips1) `ext $3,$3,24,4'
/tmp/ccuGt0iL.s:880: Warning: Macro instruction expanded into multiple
instructions
/tmp/ccuGt0iL.s:909: Error: opcode not supported on this processor:
mips1 (mips1) `ext $2,$2,24,4'
/tmp/ccuGt0iL.s:941: Error: opcode not supported on this processor:
mips1 (mips1) `ext $2,$2,24,4'
/tmp/ccuGt0iL.s:945: Warning: Macro instruction expanded into multiple
instructions
/tmp/ccuGt0iL.s:971: Error: opcode not supported on this processor:
mips1 (mips1) `ext $2,$2,24,4'
/tmp/ccuGt0iL.s:975: Warning: Macro instruction expanded into multiple
instructions
/tmp/ccuGt0iL.s:1004: Error: opcode not supported on this processor:
mips1 (mips1) `ext $2,$2,24,4'
/tmp/ccuGt0iL.s:1032: Error: opcode not supported on this processor:
mips1 (mips1) `ext $2,$2,24,4'
/tmp/ccuGt0iL.s:1063: Error: opcode not supported on this processor:
mips1 (mips1) `ext $2,$2,24,4'
/tmp/ccuGt0iL.s:1083: Error: opcode not supported on this processor:
mips1 (mips1) `ext $2,$2,24,4'
/tmp/ccuGt0iL.s:1091: Error: opcode not supported on this processor:
mips1 (mips1) `ext $2,$2,28,4'
/tmp/ccuGt0iL.s:1098: Error: opcode not supported on this processor:
mips1 (mips1) `ext $2,$2,24,4'
/tmp/ccuGt0iL.s:1116: Error: opcode not supported on this processor:
mips1 (mips1) `ext $2,$2,24,4'
/tmp/ccuGt0iL.s:1249: Error: opcode not supported on this processor:
mips1 (mips1) `ext $2,$2,24,4'
/tmp/ccuGt0iL.s:1278: Error: opcode not supported on this processor:
mips1 (mips1) `ext $2,$2,24,4'
/tmp/ccuGt0iL.s:1294: Error: opcode not supported on this processor:
mips1 (mips1) `ext $2,$2,24,4'
/tmp/ccuGt0iL.s:1317: Error: opcode not supported on this processor:
mips1 (mips1) `ext $2,$2,24,4'
/tmp/ccuGt0iL.s:1356: Error: opcode not supported on this processor:
mips1 (mips1) `ext $2,$2,24,4'
/tmp/ccuGt0iL.s:1373: Error: opcode not supported on this processor:
mips1 (mips1) `ext $3,$3,24,4'
/tmp/ccuGt0iL.s:1377: Warning: Macro instruction expanded into
multiple instructions
/tmp/ccuGt0iL.s:1411: Error: opcode not supported on this processor:
mips1 (mips1) `ext $2,$2,24,4'
/tmp/ccuGt0iL.s:1415: Warning: Macro instruction expanded into
multiple instructions
/tmp/ccuGt0iL.s:1440: Error: opcode not supported on this processor:
mips1 (mips1) `ext $2,$2,24,4'
/tmp/ccuGt0iL.s:1472: Error: opcode not supported on this processor:
mips1 (mips1) `ext $2,$2,24,4'
lto-wrapper: mips-openwrt-linux-uclibc-gcc returned 1 exit status
/home/ko5tik/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.6-linaro_uClibc-0.9.33.2/lib/gcc/mips-openwrt-linux-uclibc/4.6.4/../../../../mips-openwrt-linux-uclibc/bin/ld:
lto-wrapper failed
---------------------------%<-------------------------------------------

Adding ARCH=...  to build comman in Makefile:

MAKE_BATCTL_ARGS += \
        REVISION="" \
        CC="$(TARGET_CC)" \
        ARCH="$(LINUX_KARCH)" \
        DESTDIR="$(PKG_INSTALL_DIR)" \
        batctl install


does not help.    Do I miss something?


regards,

----[ Konstantin Pribluda http://www.pribluda.de ]----------------
JTec quality components: http://www.pribluda.de/projects/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-13 17:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-13 14:15 [B.A.T.M.A.N.] Problem compiling batman for openwrt Konstantin Pribluda
2014-02-13 17:44 ` Antonio Quartulli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox