Hey guys,
I'm trying to compile miniDLNA for my TP-WDR4900 (mpc85xx, e500v2) and
this fails at libFLAC as part of libffmpeg-mini. It seems to be an issue
with the compile optimizations:
make[8]: Entering directory
`/data/OpenWRT/TL-WDR4900/build_dir/target-powerpc_uClibc-0.9.33.2/flac-1.2.1/src/libFLAC'
/bin/bash ../../libtool --tag=CC --mode=compile
powerpc-openwrt-linux-uclibcspe-gcc -DHAVE_CONFIG_H -I. -I../..
-DFLaC__INLINE=__inline__ -DNDEBUG -I../.. -I./include -I../../include
-I/data/OpenWRT/TL-WDR4900/staging_dir/target-powerpc_uClibc-0.9.33.2/usr/include
-I/data/OpenWRT/TL-WDR4900/staging_dir/target-powerpc_uClibc-0.9.33.2/include
-I/data/OpenWRT/TL-WDR4900/staging_dir/toolchain-powerpc_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include
-I/data/OpenWRT/TL-WDR4900/staging_dir/toolchain-powerpc_gcc-4.6-linaro_uClibc-0.9.33.2/include
-maltivec -mabi=altivec -DFLAC__NO_ASM -O3 -funroll-loops
-finline-functions -Wall -W -Winline -Os -pipe -mcpu=8540
-fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable
-fPIC -MT bitmath.lo -MD -MP -MF .deps/bitmath.Tpo -c -o bitmath.lo
bitmath.c
OpenWrt-libtool: compile: powerpc-openwrt-linux-uclibcspe-gcc
-DHAVE_CONFIG_H -I. -I../.. -DFLaC__INLINE=__inline__ -DNDEBUG -I../..
-I./include -I../../include
-I/data/OpenWRT/TL-WDR4900/staging_dir/target-powerpc_uClibc-0.9.33.2/usr/include
-I/data/OpenWRT/TL-WDR4900/staging_dir/target-powerpc_uClibc-0.9.33.2/include
-I/data/OpenWRT/TL-WDR4900/staging_dir/toolchain-powerpc_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include
-I/data/OpenWRT/TL-WDR4900/staging_dir/toolchain-powerpc_gcc-4.6-linaro_uClibc-0.9.33.2/include
-maltivec -mabi=altivec -DFLAC__NO_ASM -O3 -funroll-loops
-finline-functions -Wall -W -Winline -Os -pipe -mcpu=8540
-fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable
-fPIC -MT bitmath.lo -MD -MP -MF .deps/bitmath.Tpo -c bitmath.c -fPIC
-DPIC -o .libs/bitmath.o
bitmath.c:1:0: error: AltiVec and E500 instructions cannot coexist
make[8]: *** [bitmath.lo] Error 1
I already tried to remove the -maltivec and -mabi=altivec options for
the Makefile, but that didn't help and for further analysis I have to
less knowledge about compile optimizations. Anyone an idea?
Greetings,
Pat
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel