[Buildroot] [autobuild.buildroot.net] Build results for 2017-03-18

Eric Le Bihan eric.le.bihan.dev at free.fr
Sun Mar 19 14:44:11 UTC 2017


Hi!

On 17-03-19 08:28:40, Thomas Petazzoni wrote:
>
>         m68k |           host-skalibs-2.4.0.2 | NOK | http://autobuild.buildroot.net/results/c2e8e1180571976b412cbba729c45a3698aea0b2 |

This one is puzzling. I could not reproduce it on my build machine
(Fedora 25, gcc 6.3.1).

The build of the host variant of skalibs fails at configuration time as
follow:

```
Checking whether system has timer_create()...
  ... yes, with -lrt
  Checking system endianness...
  ./configure: unable to determine endianness
```

At this step, ./configure tries to compile two programs to determine
endianness (src/sysdeps/trybigendian.c and src/sysdeps/trylittleendian.c).
Both test some compiler macros related to endianness. Example, for big
endian:

```
#if defined(__BYTE_ORDER) && (__BYTE_ORDER == __BIG_ENDIAN) ||»        \
»       defined(__BYTE_ORDER__) && (__BYTE_ORDER__  ==
__ORDER_BIG_ENDIAN__) || \
»       defined(__BIG_ENDIAN) ||»       »       »       »              \
»       defined(__ARMEB__) ||»  »       »       »       »              \
»       defined(__THUMBEB__) ||»        »       »       »              \
»       defined(__AARCH64EB__) ||»      »       »       »              \
»       defined(_MIPSEB) || defined(__MIPSEB) || defined(__MIPSEB__)
#define YEAH
#else
#error "not big endian"
#endif
```

So the failure means that both programs failed to compile. Which
version of GCC is used on the autobuild machine?

Best regards,

--
ELB



More information about the buildroot mailing list