On 05/03/15 12:10, Wei Liu wrote:
/local/scratch/Rump-kernels/prefix/lib/libpixman-1.a(pixman-combine-float.o):/local/scratch/Rump-kernels/rump-build-script-junk/pixman-0.32.6/pixman/pixman-combine-float.c:459:
more undefined references to `sqrtf' follow
collect2: error: ld returned 1 exit status
And an excerpt form the actual rune:
-lz -lm -pthread -L/local/scratch/Rump-kernels/prefix/lib -lgthread-2.0
-lglib-2.0 -lintl -lz -L/local/scratch/Rump-kernels/prefix/lib
-lpixman-1 -lutil
Strictly speaking, QEMU does have -lm specified. However due to the
ordering of ld rune, -lm goes before -lpixman-1, so pixman cannot find the
symbols in libm.
Did you test building a static qemu binary on Linux? It's possible that
nobody simply has done that, and therefore the lib ordering is wrong.