[Buildroot] Analysis of build failures

Max Filippov jcmvbkbc at gmail.com
Tue May 5 14:52:23 UTC 2015


Hi Thomas,

On Tue, May 5, 2015 at 10:59 AM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
>
>>       xtensa |           sane-backends-1.0.24 | NOK | http://autobuild.buildroot.net/results/31115fe8d88f52d77ed0f2da769eb8896a1b34a2/
>
> kvs40xx.h:265:2: error: #error __BYTE_ORDER not defined
>  #error __BYTE_ORDER not defined
>
> Max, can you have a look?

Apparently sane-backends configure script cannot correctly detect target system
endianness without hints. It gets a hint in form of
ac_cv_c_bigendian=yes/no, that
is set in accordance to BR2_ENDIAN.
But for xtensa we don't have BR2_ENDIAN and endianness comes from the
configuration overlay. Do you think we need to provide BR2_ENDIAN setting
for xtensa?

-- 
Thanks.
-- Max


More information about the buildroot mailing list