buildroot package fails to compile
Brought to you by:
sobukus
Hi,
in buildroot we are having problems with cross-compiling 1.31.3.
http://autobuild.buildroot.net/?reason=mpg123-1.31.3
It always fails with:
/home/autobuild/autobuild/instance-7/output-1/host/lib/gcc/mips64el-buildroot-linux-gnu/11.4.0/../../../../mips64el-buildroot-linux-gnu/bin/ld: src/libmpg123/.libs/libmpg123.so: undefined reference to `INT123_getcpuflags'
With different architectures and libc combinations.
Any idea what is going wrong here?
thanks in advance
Waldemar
Oh, this must be the the unnecessary definition of
wrap_getcpuflags(), which doesn't pose an error for all linkers … others seem to silently drop this static function that is never called. Or, rather, the optimizer before linking.Does the attached patch help?
Hi Thomas,
yes wonderful this fixes the issue.
best regards
Waldemar