Notes |
(0002865)
vanokuten
10-28-07 14:34
|
"mplayer uses llrint which is unavailable on uClibc"
What make you think so? I have it defined in libm-0.9.29.so
and Mplayer build OK for arm target, which is not AVR32 one.
regards,
Ivan |
|
(0002866)
ikonst
10-29-07 01:23
|
objdump -T libm-0.9.29.so | grep llrint
gives me nothing.
It might because I'm using a specific uClibc revision (something between 0.9.28 and 0.9.29, the specific version to which the NPTL patch applies).
Perhaps the fix should be more specific and only applied for older uClibc versions. Does uClibc indicate its version through some define? |
|
(0002867)
thomasez
10-29-07 04:37
|
Anyway;
lib$ objdump -T libm-0.9.29.so | grep llrint
00007ab4 g DF .text 000001a1 llrint
0000814c g DF .text 00000013 llrintf
And with the patch applied:
/store/src/Buildroot/buildroot.bugzilla/build_i386/staging_dir/usr/bin/i386-linux-uclibc-gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdeclaration-after-statement -fno-PIC -Os -pipe -I/store/src/Buildroot/buildroot.bugzilla/build_i386/staging_dir/usr/include -I/store/src/Buildroot/buildroot.bugzilla/build_i386/staging_dir/include --sysroot=/store/src/Buildroot/buildroot.bugzilla/build_i386/staging_dir/ -isysroot /store/src/Buildroot/buildroot.bugzilla/build_i386/staging_dir -mtune=i386 -march=i386 -D_REENTRANT -I/store/src/Buildroot/buildroot.bugzilla/build_i386/staging_dir/usr/include -c -o h264.o h264.c
h264.c: In function 'decode_cabac_residual':
h264.c:6158: warning: passing argument 4 of 'decode_significance_8x8_x86' discards qualifiers from pointer target type
cabac.h: In function 'get_cabac_noinline':
cabac.h:513: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
cabac.h:513: error: 'asm' operand has impossible constraints
make[2]: *** [h264.o] Error 1
make[2]: Leaving directory `/store/src/Buildroot/buildroot.bugzilla/build_i386/MPlayer-1.0rc1/libavcodec'
make[1]: *** [libavcodec/libavcodec.a] Error 2
make[1]: Leaving directory `/store/src/Buildroot/buildroot.bugzilla/build_i386/MPlayer-1.0rc1'
This was the default i396 config, just added mplayer package. |
|
(0002973)
ikonst
11-27-07 06:23
|
Right, maybe Atmel's solution was not the best.
I'll try to work out something better if I'll have the time. |
|