[Compilation] Error in AEConvert.cpp with uClibc
#1
Hi,

I'm trying to build XBMC using uClibc 0.9.3 as toolchain, I've patched the Makefile to accept that toolchain and I only encounter one problem that I can not solve so far :
Code:
Utils/AEConvert.cpp: In static member function 'static unsigned int CAEConvert::S16LE_Float(uint8_t*, unsigned int, float*)':
Utils/AEConvert.cpp:173:28: error: inconsistent operand constraints in an 'asm'

I find out that this patch :
https://github.com/xbmc/xbmc/commit/0de0...7ca6.patch
would be the source of my problem.

Could someone tell me if it's an issue in the toolchain I'm using or if this ASM code should not be compiled for the RaspberryPi platform ?

Thank you all for your help !
Reply
#2
Sounds like a toolchain problem to me.
Reply
#3
I will ask on the uClibc channel, see if they have any answer for me.
Reply
#4
I think it is the GCC version you use in your toolchain, not uClib itselfe,
Reply
#5
I was using gcc-4.6.3, do you have something you recommend ?
Reply
#6
I use in my buildroot gcc 4.7.1.
Reply
#7
It's compiling right now, I'll report the status when it's finished.
Reply
#8
I still have the same error, could you post somewhere your buildroot config and/or your uClibc config please ?
Reply

Logout Mark Read Team Forum Stats Members Help
[Compilation] Error in AEConvert.cpp with uClibc0