Project

General

Profile

Bug #812

Updated by Tobias Brunner over 5 years ago

The bliss plugin cannot be cross-compiled since bliss_huffman_code_[1|3|4}.c are generated by running bliss_huffman executable. But since bliss_huffman is compiled against the target architecture not the host architecture it will fail to run.

<pre>
OpenWrt-libtool: link: ccache_cc -rdynamic -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -include /home/build/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/strongswan-5.2.2/config.h -Wl,-rpath-link -Wl,/home/build/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/lib -o bliss_huffman bliss_huffman.o -L/home/build/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/lib -L/home/build/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/lib -L/home/build/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib -L/home/build/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/lib -lm ./.libs/libbliss-params.a
\
./bliss_huffman 1 8 > bliss_huffman_code_1.c 2>/dev/null
make[8]: *** [bliss_huffman_code_1.c] Error 126
make[8]: Leaving directory `/home/build/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/strongswan-5.2.2/src/libstrongswan/plugins/bliss'
make[7]: *** [all-recursive] Error 1
</pre>

Back