[Buildroot] [autobuild.buildroot.net] Daily results for 2019-09-17

Peter Seiderer ps.report at gmx.net
Thu Sep 19 18:35:18 UTC 2019


Hello,

On Wed, 18 Sep 2019 06:16:20 -0000, Thomas Petazzoni <thomas.petazzoni at bootlin.com> wrote:

> Hello,
> 
> Autobuild statistics for 2019-09-17
> ===============================
[...]
> 
>     arch     |             reason             | OK? |                                       url                                       | orph?
> -------------+--------------------------------+-----+---------------------------------------------------------------------------------+-------
>     arm      |           apr-1.7.0            | NOK | http://autobuild.buildroot.net/results/4da73982f160305ac2d5d2b4f615fa98eec5a7a3 |     

From build/apr-1.7.0/config.log:

configure:24288: checking whether int64_t and long long use fmt %lld
configure:24320: /home/seiderer/Work/Buildroot/build_arm_apr_001/host/bin/arm-linux-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os    -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -D_REENTRANT -D_GNU_SOURCE conftest.c >&5
In file included from /home/seiderer/Work/Buildroot/build_arm_apr_001/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/sys/types.h:26:0,
                 from conftest.c:147:
/home/seiderer/Work/Buildroot/build_arm_apr_001/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/features.h:218:5: error: #warning requested reentrant code, but thread support was disabled [-Werror=cpp]
 #   warning requested reentrant code, but thread support was disabled
     ^~~~~~~
cc1: all warnings being treated as errors
configure:24320: $? = 1
configure: failed program was:
[...]
|
|    #include <sys/types.h>
| #include <stdio.h>
| #ifdef HAVE_STDINT_H
| #include <stdint.h>
| #endif
|
|    int main(int argc, const char *const *argv) {
|
|     int64_t chk1, *ptr1;
|     long long chk2, *ptr2 = &chk1;
|     ptr1 = &chk2;
|     *ptr1 = *ptr2 = 0;
|     printf("%lld %lld", chk1, chk2);
|
|       return 0; }
|
configure:24330: result: no

The test failure is a result of a toolchain without threads '# BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS is not set'
and the given '-D_REENTRANT' compile flag (the same test without '-D_REENTRANT' compiles fine) plus '-Werror'...

Disable apr for toolchains without thread support?

Regards,
Peter


More information about the buildroot mailing list