OpenELEC.tv
OpenELEC.tv copied to clipboard
Setting arm abi to soft or softfp - toolchain error
Setting target abi to soft or softfp on arm platform gives following error:
[path]/armv7a-openelec-linux-gnueabi-gcc: Command not found
arm gnueabi toolchain is installed on host (Ubuntu 14.04).
Any ideas?
Where do you change the ABI? OE builds its own toolchain for ARM, it shouldn't use the installed one.
I tried install gnueabi toolchain hoping that will help, but didnt. I change abi in options. I'm trying to build OE for meson3 board with 2.6.34.15 kernel which needs to be softfp.
On Fri Jan 23 2015 at 3:55:09 AM Alex Deryskyba [email protected] wrote:
Where do you change the ABI? OE builds its own toolchain for ARM, it shouldn't use the installed one.
— Reply to this email directly or view it on GitHub https://github.com/codesnake/OpenELEC.tv/issues/40#issuecomment-71140192 .
Just set TARGET_FLOAT="softfp" in your project options. And then run
ARCH=arm PROJECT={YOUR_PROJECT_NAME} DEVICE={YOUR_DEVICE_NAME}
For example for M8 it will be:
ARCH=arm PROJECT=Amlogic DEVICE=M8 make
That's problem, it doesn't work. It does not create gnueabi binaries in build..../toolchain/bin folder.
On Fri Jan 23 2015 at 4:05:26 AM Alex Deryskyba [email protected] wrote:
Just set TARGET_FLOAT="softfp" in your project options. And then run
ARCH=arm PROJECT={YOUR_PROJECT_NAME} DEVICE={YOUR_DEVICE_NAME}
For example for M8 it will be:
ARCH=arm PROJECT=Amlogic DEVICE=M8 make
— Reply to this email directly or view it on GitHub https://github.com/codesnake/OpenELEC.tv/issues/40#issuecomment-71140960 .
I use softfp in one of my projects without any problems. I just change the above mentioned variable and nothing more.
Hm.... Thanx for your time, I'll investigate more. Seems I'm missing something.
On Fri Jan 23 2015 at 4:10:10 AM Alex Deryskyba [email protected] wrote:
I use softfp in one of my projects without any problems. I just change the above mentioned variable and nothing more.
— Reply to this email directly or view it on GitHub https://github.com/codesnake/OpenELEC.tv/issues/40#issuecomment-71141274 .
However, if I recall correctly there could be a problem when you switching to different ABI. Try to delete the .ccache-openelec directory in your home directory and rebuild.
Thanx for tip, will try. Now I'm on something else, will get back to you with result. Good point, could be something cached somewhere because I had meson8 built before.
On Fri Jan 23 2015 at 4:13:09 AM Alex Deryskyba [email protected] wrote:
However, if I recall correctly there could be a problem when you switching to different ABI. Try to delete the .ccache-openelec directory in your home directory and rebuild.
— Reply to this email directly or view it on GitHub https://github.com/codesnake/OpenELEC.tv/issues/40#issuecomment-71141490 .
Just can't figure it out..... I'm starting to believe it's 'cause of to 2.6 kernel... same thing works on 3.10 kernel for aml m6/m8.
Error is:
scripts/kconfig/conf -o arch/arm/Kconfig
configuration written to .config
make[1]: Leaving directory '/home/stane/Work/openelec-tv/build.OpenELEC-AmlogicM3.atv102.arm-devel/linux-amlogic-m3' BUILD linux (host) make[1]: Entering directory '/home/stane/Work/openelec-tv/build.OpenELEC-AmlogicM3.atv102.arm-devel/linux-amlogic-m3' make[1]: /home/stane/Work/openelec-tv/build.OpenELEC-AmlogicM3.atv102.arm-devel/toolchain/bin/armv7a-openelec-linux-gnueabi-gcc: Command not found scripts/kconfig/conf -s arch/arm/Kconfig make[1]: /home/stane/Work/openelec-tv/build.OpenELEC-AmlogicM3.atv102.arm-devel/toolchain/bin/armv7a-openelec-linux-gnueabi-gcc: Command not found
On Fri Jan 23 2015 at 4:15:58 AM Stanislav Vlasic [email protected] wrote:
Thanx for tip, will try. Now I'm on something else, will get back to you with result. Good point, could be something cached somewhere because I had meson8 built before.
On Fri Jan 23 2015 at 4:13:09 AM Alex Deryskyba [email protected] wrote:
However, if I recall correctly there could be a problem when you switching to different ABI. Try to delete the .ccache-openelec directory in your home directory and rebuild.
— Reply to this email directly or view it on GitHub https://github.com/codesnake/OpenELEC.tv/issues/40#issuecomment-71141490 .