This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SDK6.00 arm-linux-gnueabihf toolchain issues in

Hi all,

I am able to compile the mplayer source code using the arm-arago-linux-gnueabi- toolchain. Now TI released new SDK with arm-linux-gnueabihf- tool chain. This is the part of ti-sdk-am3517-evm-06.00.00.00-Linux-x86-Install.bin. He is not able to compile the Mplayer source code uisng the arm-linux-gnueabihf- tool chain. The MPlayer version is 1.1.1 . This is the latest one from www.mplayerhq.hu/‎

1. Download the Mplayer source code

2. Export the toolchain using export PATH=$PATH:/usr/local/ti-sdk-am3517-evm-06.00/linux-devkit/sysroots/i686-arago-linux/usr/bin/ 

3. Configure using below command ./configure --prefix=/home/ashok/fs --enable-cross-compile --cc=arm-linux-gnueabihf-gcc --host-cc=gcc --as=arm-linux-gnueabihf-as --ar=arm-linux-gnueabihf-ar --ranlib=arm-linux-gnueabihf-ranlib --target=arm-linux --disable-ivtv 

4. make

Compilation errors are : 
libavcodec/arm/dca.h:36:5: error: can't find a register in class 'CORE_REGS' while reloading 'asm' libavcodec/arm/dca.h:36:5: error: 'asm' operand has impossible constraints libavcodec/dca.c:1275: confused by earlier errors, bailing out make[1]: *** [libavcodec/dca.o] Error 1 make[1]: Leaving directory `/opt/LEC_3517-LINUX_BSP_V3.0/MPlayer-1.1.1/ffmpeg' make: *** [ffmpeg/libavcodec/libavcodec.a] Error 2 ] 

  • I am able to compile the mplayer source code using the arm-arago-linux-gnueabi- toolchain. Now TI released new SDK with arm-linux-gnueabihf- tool chain. This is the part of ti-sdk-am3517-evm-06.00.00.00-Linux-x86-Install.bin. He is not able to compile the Mplayer source code uisng the arm-linux-gnueabihf- tool chain. The MPlayer version is 1.1.1 . This is the latest one from www.mplayerhq.hu/‎

    1. Download the Mplayer source code

    2. Export the toolchain using export PATH=$PATH:/usr/local/ti-sdk-am3517-evm-06.00/linux-devkit/sysroots/i686-arago-linux/usr/bin/ 

    3. Configure using below command ./configure --prefix=/home/ashok/fs --enable-cross-compile --cc=arm-linux-gnueabihf-gcc --host-cc=gcc --as=arm-linux-gnueabihf-as --ar=arm-linux-gnueabihf-ar --ranlib=arm-linux-gnueabihf-ranlib --target=arm-linux --disable-ivtv 

    4. make

    Compilation errors are : 
    libavcodec/arm/dca.h:36:5: error: can't find a register in class 'CORE_REGS' while reloading 'asm' libavcodec/arm/dca.h:36:5: error: 'asm' operand has impossible constraints libavcodec/dca.c:1275: confused by earlier errors, bailing out make[1]: *** [libavcodec/dca.o] Error 1 make[1]: Leaving directory `/opt/LEC_3517-LINUX_BSP_V3.0/MPlayer-1.1.1/ffmpeg' make: *** [ffmpeg/libavcodec/libavcodec.a] Error 2 ] 

  • This is a general arm linux question and it's not processor related or TI SDK related as the mplayer package is not part of our SDK.

    This is most probably a compiler bug.

    You can check https://bugs.launchpad.net for any similar bugs/fixes.

    Best regards,
    Miroslav