All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [autobuild.buildroot.net] Build results for 2015-08-05
@ 2015-08-06  6:30 Thomas Petazzoni
  2015-08-06  9:30 ` [Buildroot] Analysis of build " Thomas Petazzoni
  0 siblings, 1 reply; 20+ messages in thread
From: Thomas Petazzoni @ 2015-08-06  6:30 UTC (permalink / raw)
  To: buildroot

Build statistics for 2015-08-05
===============================

        success : 207
       failures : 41 
       timeouts : 2  
          TOTAL : 250

Classification of failures by reason
====================================

                 qt5base-5.5.0 | 2 
           libcec-libcec-3.0.1 | 2 
               linux-pam-1.1.8 | 2 
                   argus-3.0.8 | 2 
dawgdic-16ac537ba9883ff01b6... | 2 
                directfb-1.6.3 | 2 
    xserver_xorg-server-1.17.2 | 2 
                   audit-2.4.3 | 1 
               dvbsnoop-1.4.50 | 1 
             bluez5_utils-5.27 | 1 
                 mesa3d-10.6.3 | 1 
                    cramfs-1.1 | 1 
                  weston-1.8.0 | 1 
           qt5multimedia-5.5.0 | 1 
              gst1-libav-1.4.5 | 1 
                     aumix-2.8 | 1 
             webkitgtk24-2.4.9 | 1 
                libmbim-1.12.2 | 1 
                cifs-utils-6.4 | 1 
                 setools-3.3.8 | 1 
                   systemd-221 | 1 
                  zeromq-4.1.2 | 1 
                   squid-3.5.6 | 1 
             libselinux-2.1.13 | 1 
       host-erlang-rebar-2.5.1 | 1 
                gnuradio-3.7.5 | 1 
ltrace-c22d359433b333937ee3... | 1 
                 clapack-3.2.1 | 1 
            c-periphery-v1.0.3 | 1 
                moarvm-2015.05 | 1 
            gst-ffmpeg-0.10.13 | 1 
                 cdrkit-1.1.11 | 1 
             util-linux-2.26.2 | 1 
                  boost-1.58.0 | 1 
                  opencv-3.0.0 | 1 
 make[1]: *** [all] Terminated | 1 

Detail of failures
===================

       sparc |                    argus-3.0.8 | NOK | http://autobuild.buildroot.net/results/cb455f538319a62ae730943190d3a8896473091f/
       sparc |                    argus-3.0.8 | NOK | http://autobuild.buildroot.net/results/062e08ed5b4306ed64f986f3a9f0938594125c67/
         arm |                    audit-2.4.3 | NOK | http://autobuild.buildroot.net/results/549492270f3f43747a96a8326aef1d7ae1d3b213/
      x86_64 |                      aumix-2.8 | NOK | http://autobuild.buildroot.net/results/f1688b70c0e29f9561fd063fe7b386a6e8016648/
       sparc |              bluez5_utils-5.27 | NOK | http://autobuild.buildroot.net/results/c66d29ceee404b84e3fc421c77e5d48032744067/
       sparc |                   boost-1.58.0 | NOK | http://autobuild.buildroot.net/results/14591f0ce708f68f925c9223471b3c4f0ddb9eef/
         arm |             c-periphery-v1.0.3 | NOK | http://autobuild.buildroot.net/results/9bbdd2f2c132c15414faf5390d0f4ab96c1f95c7/
      x86_64 |                  cdrkit-1.1.11 | NOK | http://autobuild.buildroot.net/results/42e6ea302bb52a4d4e62693fa83760a2f4e06407/
         arm |                 cifs-utils-6.4 | NOK | http://autobuild.buildroot.net/results/cc38e7581b4bba362a9be388099b0ea237f4e580/
      x86_64 |                  clapack-3.2.1 | NOK | http://autobuild.buildroot.net/results/66fa17376cbb05351988e7ef0dc0c232bbd19f2d/
         arm |                     cramfs-1.1 | NOK | http://autobuild.buildroot.net/results/57de9e838fa953e2fb5e358cd535603fb249b7d2/
        bfin | dawgdic-16ac537ba9883ff01b6... | NOK | http://autobuild.buildroot.net/results/2309cfa7c11d89388a18ae2da9cfd280537ec908/
        bfin | dawgdic-16ac537ba9883ff01b6... | NOK | http://autobuild.buildroot.net/results/1640dc4e38bde6b8af3efb683d8f2cf22f4caa27/
      x86_64 |                 directfb-1.6.3 | NOK | http://autobuild.buildroot.net/results/5e346931e8022986e70b0cf06042f1fe17789252/
      x86_64 |                 directfb-1.6.3 | NOK | http://autobuild.buildroot.net/results/84b3a7b75bda89069476d391ed14bc3b8a098017/
         arm |                dvbsnoop-1.4.50 | NOK | http://autobuild.buildroot.net/results/8288f90255d546d08cd3a31e84bd31ea83651075/
         arc |                 gnuradio-3.7.5 | NOK | http://autobuild.buildroot.net/results/d44aec8c82ed6a315322726dd698e6b48990ba76/
         sh4 |             gst-ffmpeg-0.10.13 | NOK | http://autobuild.buildroot.net/results/6142f23c3095145039941ef26a5ed1e3d6ebebb1/
         sh4 |               gst1-libav-1.4.5 | NOK | http://autobuild.buildroot.net/results/69cc19557e6de8f3c5b292d498188e7aea8388ad/
         arm |        host-erlang-rebar-2.5.1 | TIM | http://autobuild.buildroot.net/results/c13a38ab434e4b7d75295d1ac401ae4d06497a4a/
     powerpc |            libcec-libcec-3.0.1 | NOK | http://autobuild.buildroot.net/results/af970a24d9fdbc9ad6ab05161509fcdf9bdd1b89/
     powerpc |            libcec-libcec-3.0.1 | NOK | http://autobuild.buildroot.net/results/3b5611725c13668472482ed4ad3b46886d4c63d9/
         arm |                 libmbim-1.12.2 | NOK | http://autobuild.buildroot.net/results/be0bf8a9579c8a93f3e77c2ac7414b274470631a/
         arc |              libselinux-2.1.13 | NOK | http://autobuild.buildroot.net/results/2fdea2bbcdff4a70ffaac1eecbc8faa81a44e90c/
         arm |                linux-pam-1.1.8 | NOK | http://autobuild.buildroot.net/results/c865d16a7f878f2ecc52c30f285c43e5cf45bdcc/
      x86_64 |                linux-pam-1.1.8 | NOK | http://autobuild.buildroot.net/results/4dfd26c01fb8d64b2793402b7ebdc2992ee5a54d/
        mips | ltrace-c22d359433b333937ee3... | NOK | http://autobuild.buildroot.net/results/79b51941ed57b0564c68112489b03cac39a04e9a/
        i686 |  make[1]: *** [all] Terminated | TIM | http://autobuild.buildroot.net/results/049ebf21a9d00ef0db54de295cb7fdfcdc5024d8/
        i686 |                  mesa3d-10.6.3 | NOK | http://autobuild.buildroot.net/results/08305f397ef523ee864827e1e267475a9f6f397f/
       sparc |                 moarvm-2015.05 | NOK | http://autobuild.buildroot.net/results/063b8e47a39eef601fe6d7d9578a64216c8eccb6/
      xtensa |                   opencv-3.0.0 | NOK | http://autobuild.buildroot.net/results/15ba0b520043b884fc7dafbb84da171072d7d3ee/
         arm |                  qt5base-5.5.0 | NOK | http://autobuild.buildroot.net/results/4edecf424246204aa68c9670b4950bafcf8fe973/
        mips |                  qt5base-5.5.0 | NOK | http://autobuild.buildroot.net/results/1f4eee3423650651ac37f55dafed269c6d9baa98/
     aarch64 |            qt5multimedia-5.5.0 | NOK | http://autobuild.buildroot.net/results/0ee0f879e8563954c64b3940cdec39d2e6de937a/
     powerpc |                  setools-3.3.8 | NOK | http://autobuild.buildroot.net/results/10a976146373d3cfd8c218b56a4288478a8e498b/
        mips |                    squid-3.5.6 | NOK | http://autobuild.buildroot.net/results/cecb968172cb00281e439566e5ae154538435a51/
       sparc |                    systemd-221 | NOK | http://autobuild.buildroot.net/results/88ef5155c94621a927b7a4c599b96190d29320ad/
      x86_64 |              util-linux-2.26.2 | NOK | http://autobuild.buildroot.net/results/b92c4f1090a937f1005cdc1c92dd22e19ffe8080/
         arm |              webkitgtk24-2.4.9 | NOK | http://autobuild.buildroot.net/results/672a09204ddb0b92f4aa2765a993862edaf2104f/
      xtensa |                   weston-1.8.0 | NOK | http://autobuild.buildroot.net/results/5d2cdc27418fdf392ec572c388cbb6301b1eb4a5/
        sh4a |     xserver_xorg-server-1.17.2 | NOK | http://autobuild.buildroot.net/results/73f9c94178b7f4e2f2f183e51cf39d18046a8c36/
     aarch64 |     xserver_xorg-server-1.17.2 | NOK | http://autobuild.buildroot.net/results/4de40e0b87e39757c6b7a805a931525a0684f351/
         arc |                   zeromq-4.1.2 | NOK | http://autobuild.buildroot.net/results/be46b621ce5443788b0a1bc9fab614c4ca5d0859/


-- 
http://autobuild.buildroot.net

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Buildroot] Analysis of build results for 2015-08-05
  2015-08-06  6:30 [Buildroot] [autobuild.buildroot.net] Build results for 2015-08-05 Thomas Petazzoni
@ 2015-08-06  9:30 ` Thomas Petazzoni
  2015-08-06  9:30   ` Vicente Olivert Riera
                     ` (7 more replies)
  0 siblings, 8 replies; 20+ messages in thread
From: Thomas Petazzoni @ 2015-08-06  9:30 UTC (permalink / raw)
  To: buildroot

Hello all,

Brendan, Alexey, Vicente, J?r?me, Bernd, Max, Julien, Clayton, Gustavo, Yann, please have a look below.

On Thu,  6 Aug 2015 08:30:16 +0200 (CEST), Thomas Petazzoni wrote:

>         success : 207
>        failures : 41 

That's a 16.4% failure rate. We can classify the build failure as
follows:

unknown/misc:		15
musl: 			9
SPARC atomic/other:	6
toolchain problems:	6
fixed:			4

So we really need to make more progress on fixing the musl issues, and
find a solution for the SPARC atomic problem.

>        sparc |                    argus-3.0.8 | NOK | http://autobuild.buildroot.net/results/cb455f538319a62ae730943190d3a8896473091f/
>        sparc |                    argus-3.0.8 | NOK | http://autobuild.buildroot.net/results/062e08ed5b4306ed64f986f3a9f0938594125c67/

Atomic issue:

   undefined reference to `__sync_add_and_fetch_4'

Brendan?

>          arm |                    audit-2.4.3 | NOK | http://autobuild.buildroot.net/results/549492270f3f43747a96a8326aef1d7ae1d3b213/

Not sure what's going on:

cannot find Scrt1.o: No such file or directory

Waldemar, it seems to be a uClibc issue. Do you have some idea?


>       x86_64 |                      aumix-2.8 | NOK | http://autobuild.buildroot.net/results/f1688b70c0e29f9561fd063fe7b386a6e8016648/

Missing link against libintl.

>        sparc |              bluez5_utils-5.27 | NOK | http://autobuild.buildroot.net/results/c66d29ceee404b84e3fc421c77e5d48032744067/

more undefined references to `__sync_fetch_and_add_4' follow

Brendan ? :-)

>        sparc |                   boost-1.58.0 | NOK | http://autobuild.buildroot.net/results/14591f0ce708f68f925c9223471b3c4f0ddb9eef/

 error: #error "platform not supported"

Pff, why do we care about SPARC ?

>          arm |             c-periphery-v1.0.3 | NOK | http://autobuild.buildroot.net/results/9bbdd2f2c132c15414faf5390d0f4ab96c1f95c7/

musl build problem:

  error: '_IOC_SIZEBITS' undeclared (first use in this function)

>       x86_64 |                  cdrkit-1.1.11 | NOK | http://autobuild.buildroot.net/results/42e6ea302bb52a4d4e62693fa83760a2f4e06407/

musl build problem:

  error: expected declaration specifiers before '__THROW'

>          arm |                 cifs-utils-6.4 | NOK | http://autobuild.buildroot.net/results/cc38e7581b4bba362a9be388099b0ea237f4e580/

musl build problem:

  error: '_PATH_MOUNTED' undeclared (first use in this function)

>       x86_64 |                  clapack-3.2.1 | NOK | http://autobuild.buildroot.net/results/66fa17376cbb05351988e7ef0dc0c232bbd19f2d/

musl build problem:

   fatal error: fpu_control.h: No such file or directory

>          arm |                     cramfs-1.1 | NOK | http://autobuild.buildroot.net/results/57de9e838fa953e2fb5e358cd535603fb249b7d2/

Fixed by:

    http://git.buildroot.net/buildroot/commit/?id=bfcffb6f81244c57416de5f80cbad4810528ec42

>         bfin | dawgdic-16ac537ba9883ff01b6... | NOK | http://autobuild.buildroot.net/results/2309cfa7c11d89388a18ae2da9cfd280537ec908/
>         bfin | dawgdic-16ac537ba9883ff01b6... | NOK | http://autobuild.buildroot.net/results/1640dc4e38bde6b8af3efb683d8f2cf22f4caa27/

    error: 'strtoll' is not a member of 'std'

Not sure. Maybe compiler is too old?

>       x86_64 |                 directfb-1.6.3 | NOK | http://autobuild.buildroot.net/results/5e346931e8022986e70b0cf06042f1fe17789252/
>       x86_64 |                 directfb-1.6.3 | NOK | http://autobuild.buildroot.net/results/84b3a7b75bda89069476d391ed14bc3b8a098017/

musl build problem:

   error: unknown type name 'sigval_t'

>          arm |                dvbsnoop-1.4.50 | NOK | http://autobuild.buildroot.net/results/8288f90255d546d08cd3a31e84bd31ea83651075/

musl build problem:

   error: unknown type name 'u_long'

>          arc |                 gnuradio-3.7.5 | NOK | http://autobuild.buildroot.net/results/d44aec8c82ed6a315322726dd698e6b48990ba76/

ARC toolchain problem:

   error: '__NR_eventfd' was not declared in this scope

Alexey, I don't remember, do you have a fix for this one?

>          sh4 |             gst-ffmpeg-0.10.13 | NOK | http://autobuild.buildroot.net/results/6142f23c3095145039941ef26a5ed1e3d6ebebb1/

Compiler problem:

   internal compiler error: in elimination_costs_in_insn, at reload1.c:3638

>          sh4 |               gst1-libav-1.4.5 | NOK | http://autobuild.buildroot.net/results/69cc19557e6de8f3c5b292d498188e7aea8388ad/

Same compiler problem.

>          arm |        host-erlang-rebar-2.5.1 | TIM | http://autobuild.buildroot.net/results/c13a38ab434e4b7d75295d1ac401ae4d06497a4a/

The usual host-erlang-rebar timeout.

>      powerpc |            libcec-libcec-3.0.1 | NOK | http://autobuild.buildroot.net/results/af970a24d9fdbc9ad6ab05161509fcdf9bdd1b89/
>      powerpc |            libcec-libcec-3.0.1 | NOK | http://autobuild.buildroot.net/results/3b5611725c13668472482ed4ad3b46886d4c63d9/

Both fixed by:

   http://git.buildroot.net/buildroot/commit/?id=712bb469da4966fa03a251f3fe8bdc18a89569ed

>          arm |                 libmbim-1.12.2 | NOK | http://autobuild.buildroot.net/results/be0bf8a9579c8a93f3e77c2ac7414b274470631a/

Missing gudev package. I believe I will have to make an exception here
and merge this new package as it is needed to fix some of the build
issues.

>          arc |              libselinux-2.1.13 | NOK | http://autobuild.buildroot.net/results/2fdea2bbcdff4a70ffaac1eecbc8faa81a44e90c/

ARC toolchain problem:

   Error: internal error: fixup not contained within frag

Alexey?

>          arm |                linux-pam-1.1.8 | NOK | http://autobuild.buildroot.net/results/c865d16a7f878f2ecc52c30f285c43e5cf45bdcc/
>       x86_64 |                linux-pam-1.1.8 | NOK | http://autobuild.buildroot.net/results/4dfd26c01fb8d64b2793402b7ebdc2992ee5a54d/

musl build problem:

   error: '_PATH_LASTLOG' undeclared (first use in this function)

>         mips | ltrace-c22d359433b333937ee3... | NOK | http://autobuild.buildroot.net/results/79b51941ed57b0564c68112489b03cac39a04e9a/

output.c: In function 'output_right':
output.c:784:3: error: size of unnamed array is negative
   (void)sizeof(char[1 - 2*(sizeof(unw_word_t)
   ^

Vicente, J?r?me, can you have a look?

>         i686 |  make[1]: *** [all] Terminated | TIM | http://autobuild.buildroot.net/results/049ebf21a9d00ef0db54de295cb7fdfcdc5024d8/

Another host-erlang-rebar timeout. I need to adjust the regexp to infer the reason from the build log.

>         i686 |                  mesa3d-10.6.3 | NOK | http://autobuild.buildroot.net/results/08305f397ef523ee864827e1e267475a9f6f397f/

checking for LIBUDEV... no
configure: error: gbm requires --enable-dri
make: *** [/home/test/autobuild/instance-1/output/build/mesa3d-10.6.3/.stamp_configured] Error 1
make: Leaving directory `/home/test/autobuild/instance-1/buildroot'

Bernd, is this fixed by one of the pending patches on mesa3d ?

>        sparc |                 moarvm-2015.05 | NOK | http://autobuild.buildroot.net/results/063b8e47a39eef601fe6d7d9578a64216c8eccb6/

/tmp/ccrWqi6b.s: Assembler messages:
/tmp/ccrWqi6b.s:187: Error: Architecture mismatch on "membar".
/tmp/ccrWqi6b.s:187:  (Requires v9|v9a|v9b; requested architecture is v8.)
/tmp/ccrWqi6b.s:188: Error: Architecture mismatch on "cas".
/tmp/ccrWqi6b.s:188:  (Requires leon|v9|v9a|v9b; requested architecture is v8.)
/tmp/ccrWqi6b.s:189: Error: Architecture mismatch on "membar".
/tmp/ccrWqi6b.s:189:  (Requires v9|v9a|v9b; requested architecture is v8.)
make[1]: *** [src/core/threads.o] Error 1

Pff, why do we care about SPARC, again? If nobody sends a patch for
this, I'll just mark moarvm as not available on SPARC.

>       xtensa |                   opencv-3.0.0 | NOK | http://autobuild.buildroot.net/results/15ba0b520043b884fc7dafbb84da171072d7d3ee/

Xtensa toolchain issue:

   Error: operand 2 of 'l32r' has out of range value '4294705124'

Max? This is affecting only OpenCV, maybe we should simply exclude it
from the Xtensa build?

>          arm |                  qt5base-5.5.0 | NOK | http://autobuild.buildroot.net/results/4edecf424246204aa68c9670b4950bafcf8fe973/

Glib auto-detection... ()
[...]
cannot find -ldl

Julien?

Note that the build-end.log is very very large, for some reason. I
recommend you to download it with wget, and look at it with less/cat,
instead of your web browser.

>         mips |                  qt5base-5.5.0 | NOK | http://autobuild.buildroot.net/results/1f4eee3423650651ac37f55dafed269c6d9baa98/

MIPS problem:

   fatal error: gnu/lib-names-o32_soft.h: No such file or directory

Vicente, can you comment?

>      aarch64 |            qt5multimedia-5.5.0 | NOK | http://autobuild.buildroot.net/results/0ee0f879e8563954c64b3940cdec39d2e6de937a/

Julien, any idea?

cp -dpf /home/test/autobuild/instance-2/output/host/usr/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libqgsttools*.so.* /home/test/autobuild/instance-2/output/target/usr/lib
cp: cannot stat `/home/test/autobuild/instance-2/output/host/usr/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libqgsttools*.so.*': No such file or directory

>      powerpc |                  setools-3.3.8 | NOK | http://autobuild.buildroot.net/results/10a976146373d3cfd8c218b56a4288478a8e498b/

checking for /home/buildbot/buildroot-test/instance-1/output/host/usr/bin/powerpc-linux-gcc option to accept ISO C99... unsupported
configure: error: SETools requires a C99-compliant C compiler to build.

Weird, this compiler is gcc 4.9...

Clayton?

>         mips |                    squid-3.5.6 | NOK | http://autobuild.buildroot.net/results/cecb968172cb00281e439566e5ae154538435a51/

Fixed by:

   http://git.buildroot.net/buildroot/commit/?id=e911e95df40dd5a93ec5876c08088790ef20244a

>        sparc |                    systemd-221 | NOK | http://autobuild.buildroot.net/results/88ef5155c94621a927b7a4c599b96190d29320ad/

sigbus.c:(.text.sigbus_pop+0x94): undefined reference to `__sync_bool_compare_and_swap_4'
sigbus.c:(.text.sigbus_pop+0xac): undefined reference to `__sync_fetch_and_sub_4'

SPARC atomic issue...

>       x86_64 |              util-linux-2.26.2 | NOK | http://autobuild.buildroot.net/results/b92c4f1090a937f1005cdc1c92dd22e19ffe8080/

musl build issue:

error: expected '=', ',', ';', 'asm' or '__attribute__' before '__P'

>          arm |              webkitgtk24-2.4.9 | NOK | http://autobuild.buildroot.net/results/672a09204ddb0b92f4aa2765a993862edaf2104f/

checking for GLES2/gl2.h... yes
checking whether to use OpenGL ES 2 support... configure: error: Cannot enable OpenGL ES 2 support without EGL enabled.
make: *** [/home/test/autobuild/instance-2/output/build/webkitgtk24-2.4.9/.stamp_configured] Error 1
make: Leaving directory `/home/test/autobuild/instance-2/buildroot'

Gustavo, can you have a look?

>       xtensa |                   weston-1.8.0 | NOK | http://autobuild.buildroot.net/results/5d2cdc27418fdf392ec572c388cbb6301b1eb4a5/

  CC       protocol/desktop_shell_la-desktop-shell-protocol.lo
src/compositor-rdp.c: In function 'rdp_peer_init':
src/compositor-rdp.c:1109:10: error: 'rdpSettings' has no member named 'SurfaceFrameMarkerEnabled'
  settings->SurfaceFrameMarkerEnabled = TRUE;
          ^

Yann, can you have a look?

>         sh4a |     xserver_xorg-server-1.17.2 | NOK | http://autobuild.buildroot.net/results/73f9c94178b7f4e2f2f183e51cf39d18046a8c36/

  CC       dri2ext.lo
dri2.c: In function 'dri2_probe_driver_name':
dri2.c:1434:9: error: unknown type name 'drmVersionPtr'
dri2.c:1434:9: warning: implicit declaration of function 'drmGetVersion' [-Wimplicit-function-declaration]
dri2.c:1434:9: warning: nested extern declaration of 'drmGetVersion' [-Wnested-externs]
dri2.c:1444:40: error: invalid type argument of '->' (have 'int')
dri2.c:1444:55: error: invalid type argument of '->' (have 'int')
dri2.c:1445:9: warning: implicit declaration of function 'drmFreeVersion' [-Wimplicit-function-declaration]
dri2.c:1445:9: warning: nested extern declaration of 'drmFreeVersion' [-Wnested-externs]


>      aarch64 |     xserver_xorg-server-1.17.2 | NOK | http://autobuild.buildroot.net/results/4de40e0b87e39757c6b7a805a931525a0684f351/

  CC       dri2ext.lo
dri2.c: In function 'dri2_probe_driver_name':
dri2.c:1434:9: error: unknown type name 'drmVersionPtr'
         drmVersionPtr version = drmGetVersion(info->fd);

I guess both of these failures are related to the DRI patches posted by
Yann.

>          arc |                   zeromq-4.1.2 | NOK | http://autobuild.buildroot.net/results/be46b621ce5443788b0a1bc9fab614c4ca5d0859/

libsodium.so: undefined reference to `explicit_bzero'

Not sure. Alexey?

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Buildroot] Analysis of build results for 2015-08-05
  2015-08-06  9:30 ` [Buildroot] Analysis of build " Thomas Petazzoni
@ 2015-08-06  9:30   ` Vicente Olivert Riera
  2015-08-17 10:02     ` Vicente Olivert Riera
  2015-08-06  9:36   ` Vicente Olivert Riera
                     ` (6 subsequent siblings)
  7 siblings, 1 reply; 20+ messages in thread
From: Vicente Olivert Riera @ 2015-08-06  9:30 UTC (permalink / raw)
  To: buildroot

Hello Thomas,

On 06/08/15 11:30, Thomas Petazzoni wrote:
>>          mips | ltrace-c22d359433b333937ee3... | NOK | http://autobuild.buildroot.net/results/79b51941ed57b0564c68112489b03cac39a04e9a/
>
> output.c: In function 'output_right':
> output.c:784:3: error: size of unnamed array is negative
>     (void)sizeof(char[1 - 2*(sizeof(unw_word_t)
>     ^
>
> Vicente, J?r?me, can you have a look?

ltrace with libunwind support is broken for MIPS, but I'm working with 
upstream to get it fixed. I hope to finish with it soon.

Regards,

Vincent.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Buildroot] Analysis of build results for 2015-08-05
  2015-08-06  9:30 ` [Buildroot] Analysis of build " Thomas Petazzoni
  2015-08-06  9:30   ` Vicente Olivert Riera
@ 2015-08-06  9:36   ` Vicente Olivert Riera
  2015-08-17 10:00     ` Vicente Olivert Riera
  2015-08-06 10:08   ` Julien CORJON
                     ` (5 subsequent siblings)
  7 siblings, 1 reply; 20+ messages in thread
From: Vicente Olivert Riera @ 2015-08-06  9:36 UTC (permalink / raw)
  To: buildroot

Hello Thomas,

On 06/08/15 11:30, Thomas Petazzoni wrote:
>>          mips |                  qt5base-5.5.0 | NOK | http://autobuild.buildroot.net/results/1f4eee3423650651ac37f55dafed269c6d9baa98/
>
> MIPS problem:
>
>     fatal error: gnu/lib-names-o32_soft.h: No such file or directory
>
> Vicente, can you comment?

we are in conversations with Mentor to check the support for soft-float 
in their toolchains.

Regards,

Vincent.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Buildroot] Analysis of build results for 2015-08-05
  2015-08-06  9:30 ` [Buildroot] Analysis of build " Thomas Petazzoni
  2015-08-06  9:30   ` Vicente Olivert Riera
  2015-08-06  9:36   ` Vicente Olivert Riera
@ 2015-08-06 10:08   ` Julien CORJON
  2015-08-06 11:57   ` Brendan Heading
                     ` (4 subsequent siblings)
  7 siblings, 0 replies; 20+ messages in thread
From: Julien CORJON @ 2015-08-06 10:08 UTC (permalink / raw)
  To: buildroot

Hello Thomas,

I'm currently on holiday until beginning of September.

Le 06/08/2015 11:30, Thomas Petazzoni a ?crit :
>>           arm |                  qt5base-5.5.0 | NOK | http://autobuild.buildroot.net/results/4edecf424246204aa68c9670b4950bafcf8fe973/
>
> Glib auto-detection... ()
> [...]
> cannot find -ldl
>
> Julien?
>
> Note that the build-end.log is very very large, for some reason. I
> recommend you to download it with wget, and look at it with less/cat,
> instead of your web browser.
>

I'm not sure I will have the time to work on that one until then...

>>       aarch64 |            qt5multimedia-5.5.0 | NOK | http://autobuild.buildroot.net/results/0ee0f879e8563954c64b3940cdec39d2e6de937a/
>
> Julien, any idea?
>
> cp -dpf /home/test/autobuild/instance-2/output/host/usr/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libqgsttools*.so.* /home/test/autobuild/instance-2/output/target/usr/lib
> cp: cannot stat `/home/test/autobuild/instance-2/output/host/usr/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libqgsttools*.so.*': No such file or directory
>

The copy of libqgsttools is hard coded in the qt5multimedia.mk file but 
the compilation of this plugin is based on an autodection in qt5base. I 
have just submitted a patch to force gstreamer detection[1] and allow 
gst1.0 support[2] but I didn't check all the cases. We may let autobuild 
do that work for me if you want a quick fix of this issue.

[1] https://patchwork.ozlabs.org/patch/504627/
[2] https://patchwork.ozlabs.org/patch/504628/

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Buildroot] Analysis of build results for 2015-08-05
  2015-08-06  9:30 ` [Buildroot] Analysis of build " Thomas Petazzoni
                     ` (2 preceding siblings ...)
  2015-08-06 10:08   ` Julien CORJON
@ 2015-08-06 11:57   ` Brendan Heading
  2015-08-06 16:31   ` Bernd Kuhls
                     ` (3 subsequent siblings)
  7 siblings, 0 replies; 20+ messages in thread
From: Brendan Heading @ 2015-08-06 11:57 UTC (permalink / raw)
  To: buildroot

> So we really need to make more progress on fixing the musl issues, and
> find a solution for the SPARC atomic problem.

I'm doing a separate investigation into SPARC to identify all of the
packages that have the atomic issue, maybe we can track it with
bugzilla and come up with a structured approach to tackling it.

Some can be fixed relatively trivially, others need a bit more surgery
to add conditional compilation/detection/conditional linking of
libatomic.

It is worth highlighting that fixing these problems benefits other
architectures, as there are a number of the less mainstream ones that
lack full atomic support.

>>        sparc |                   boost-1.58.0 | NOK | http://autobuild.buildroot.net/results/14591f0ce708f68f925c9223471b3c4f0ddb9eef/
>
>  error: #error "platform not supported"
>
> Pff, why do we care about SPARC ?

I keep asking that question .. :)

>>       x86_64 |                  clapack-3.2.1 | NOK | http://autobuild.buildroot.net/results/66fa17376cbb05351988e7ef0dc0c232bbd19f2d/
>
> musl build problem:

This one is non-trivial to fix. The part that includes fpu_control.h
can be conditionally compiled out, but there are lots of other
glibc-isms (missing header files).

According to the maintainer site, the code is generated by some kind
of Fortran-to-C converter, so upstream patches may be an issue.

>>          arm |                linux-pam-1.1.8 | NOK | http://autobuild.buildroot.net/results/c865d16a7f878f2ecc52c30f285c43e5cf45bdcc/
>>       x86_64 |                linux-pam-1.1.8 | NOK | http://autobuild.buildroot.net/results/4dfd26c01fb8d64b2793402b7ebdc2992ee5a54d/
>
> musl build problem:
>
>    error: '_PATH_LASTLOG' undeclared (first use in this function)

I am preparing a patch series for this. It's also non-trivial - the
macros can be fixed but then you run into a problem with musl lacking
an implementation of logwtmp(). The musl maintainers say they won't
implement this for security reasons, unless someone can provide a
justification that they will accept, so my patch steals an
implementation of it from OpenBSD's libc and supplies it as a
conditionally compiled static function.

>>        sparc |                 moarvm-2015.05 | NOK | http://autobuild.buildroot.net/results/063b8e47a39eef601fe6d7d9578a64216c8eccb6/
>
> /tmp/ccrWqi6b.s: Assembler messages:
> /tmp/ccrWqi6b.s:187: Error: Architecture mismatch on "membar".
> /tmp/ccrWqi6b.s:187:  (Requires v9|v9a|v9b; requested architecture is v8.)
> /tmp/ccrWqi6b.s:188: Error: Architecture mismatch on "cas".
> /tmp/ccrWqi6b.s:188:  (Requires leon|v9|v9a|v9b; requested architecture is v8.)
> /tmp/ccrWqi6b.s:189: Error: Architecture mismatch on "membar".
> /tmp/ccrWqi6b.s:189:  (Requires v9|v9a|v9b; requested architecture is v8.)
> make[1]: *** [src/core/threads.o] Error 1
>
> Pff, why do we care about SPARC, again? If nobody sends a patch for
> this, I'll just mark moarvm as not available on SPARC.

This error is very similar to the problem with libpthsem on SPARC that
I was debating with Yann earlier this week. On libpthsem, the
configure script is implemented in such a way that it doesn't support
cross-compilers. If it's the same issue it can probably be fixed by
adding forced defaults in the configure section (although I haven't
checked).

Brendan

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Buildroot] Analysis of build results for 2015-08-05
  2015-08-06  9:30 ` [Buildroot] Analysis of build " Thomas Petazzoni
                     ` (3 preceding siblings ...)
  2015-08-06 11:57   ` Brendan Heading
@ 2015-08-06 16:31   ` Bernd Kuhls
  2015-08-07  4:07   ` Waldemar Brodkorb
                     ` (2 subsequent siblings)
  7 siblings, 0 replies; 20+ messages in thread
From: Bernd Kuhls @ 2015-08-06 16:31 UTC (permalink / raw)
  To: buildroot

Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote
in news:20150806113014.163c6592 at free-electrons.com: 

> Hello all,

>>         i686 |                  mesa3d-10.6.3 | NOK |
>>         http://autobuild.buildroot.net/results/08305f397ef523ee864827e1e
>>         267475a9f6f397f/ 
> checking for LIBUDEV... no
> configure: error: gbm requires --enable-dri
> make: ***
> [/home/test/autobuild/instance-1/output/build/mesa3d-10.6.3/.stamp_config
> ured] Error 1 make: Leaving directory
> `/home/test/autobuild/instance-1/buildroot' Bernd, is this fixed by one
> of the pending patches on mesa3d ? 

Hi Thomas,

yes, this patch fixes the build error:
http://patchwork.ozlabs.org/patch/502988/

Regards, Bernd

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Buildroot] Analysis of build results for 2015-08-05
  2015-08-06  9:30 ` [Buildroot] Analysis of build " Thomas Petazzoni
                     ` (4 preceding siblings ...)
  2015-08-06 16:31   ` Bernd Kuhls
@ 2015-08-07  4:07   ` Waldemar Brodkorb
  2015-08-07  8:58     ` Thomas Petazzoni
  2015-08-07 12:11   ` Max Filippov
  2015-08-10 11:26   ` Alexey Brodkin
  7 siblings, 1 reply; 20+ messages in thread
From: Waldemar Brodkorb @ 2015-08-07  4:07 UTC (permalink / raw)
  To: buildroot

Hi Thomas,
Thomas Petazzoni wrote,

> Hello all,
> 
> Brendan, Alexey, Vicente, J?r?me, Bernd, Max, Julien, Clayton, Gustavo, Yann, please have a look below.
> 
> >          arm |                    audit-2.4.3 | NOK | http://autobuild.buildroot.net/results/549492270f3f43747a96a8326aef1d7ae1d3b213/
> 
> Not sure what's going on:
> 
> cannot find Scrt1.o: No such file or directory
> 
> Waldemar, it seems to be a uClibc issue. Do you have some idea?

The reason for the failure is an unsupported combination of
PIE and static.

I found a thread about it here:
https://sourceware.org/ml/binutils/2012-02/msg00260.html

With Linux it seems you need dynamic linking of a PIE executable.

PIE is hardcoded in audit Makefile.am, so we would either need to
make it conditional for static builds or disable the package for
static builds.

best regards 
 Waldemar

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Buildroot] Analysis of build results for 2015-08-05
  2015-08-07  4:07   ` Waldemar Brodkorb
@ 2015-08-07  8:58     ` Thomas Petazzoni
  0 siblings, 0 replies; 20+ messages in thread
From: Thomas Petazzoni @ 2015-08-07  8:58 UTC (permalink / raw)
  To: buildroot

Waldemar,

On Fri, 7 Aug 2015 06:07:27 +0200, Waldemar Brodkorb wrote:

> > Waldemar, it seems to be a uClibc issue. Do you have some idea?
> 
> The reason for the failure is an unsupported combination of
> PIE and static.
> 
> I found a thread about it here:
> https://sourceware.org/ml/binutils/2012-02/msg00260.html
> 
> With Linux it seems you need dynamic linking of a PIE executable.
> 
> PIE is hardcoded in audit Makefile.am, so we would either need to
> make it conditional for static builds or disable the package for
> static builds.

Thanks. I've marked the package as not available for static builds. See:

  http://git.buildroot.net/buildroot/commit/?id=e43875916a6810b4ff8c65e27840f9da15b86c7a

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Buildroot] Analysis of build results for 2015-08-05
  2015-08-06  9:30 ` [Buildroot] Analysis of build " Thomas Petazzoni
                     ` (5 preceding siblings ...)
  2015-08-07  4:07   ` Waldemar Brodkorb
@ 2015-08-07 12:11   ` Max Filippov
  2015-08-07 12:13     ` Thomas Petazzoni
  2015-08-10 11:26   ` Alexey Brodkin
  7 siblings, 1 reply; 20+ messages in thread
From: Max Filippov @ 2015-08-07 12:11 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

On Thu, Aug 6, 2015 at 12:30 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
>>       xtensa |                   opencv-3.0.0 | NOK | http://autobuild.buildroot.net/results/15ba0b520043b884fc7dafbb84da171072d7d3ee/
>
> Xtensa toolchain issue:
>
>    Error: operand 2 of 'l32r' has out of range value '4294705124'
>
> Max? This is affecting only OpenCV, maybe we should simply exclude it
> from the Xtensa build?

it turned out to be rather big change, in both binutils and gcc.
I'm still testing it. I hope to send it to binutils and gcc early next week,
and if all goes well to the buildroot later next week. If not, I'll send a
patch to disable OpenCV on Xtensa.

-- 
Thanks.
-- Max

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Buildroot] Analysis of build results for 2015-08-05
  2015-08-07 12:11   ` Max Filippov
@ 2015-08-07 12:13     ` Thomas Petazzoni
  0 siblings, 0 replies; 20+ messages in thread
From: Thomas Petazzoni @ 2015-08-07 12:13 UTC (permalink / raw)
  To: buildroot

Max,

On Fri, 7 Aug 2015 15:11:51 +0300, Max Filippov wrote:
> Hi Thomas,
> 
> On Thu, Aug 6, 2015 at 12:30 PM, Thomas Petazzoni
> <thomas.petazzoni@free-electrons.com> wrote:
> >>       xtensa |                   opencv-3.0.0 | NOK | http://autobuild.buildroot.net/results/15ba0b520043b884fc7dafbb84da171072d7d3ee/
> >
> > Xtensa toolchain issue:
> >
> >    Error: operand 2 of 'l32r' has out of range value '4294705124'
> >
> > Max? This is affecting only OpenCV, maybe we should simply exclude it
> > from the Xtensa build?
> 
> it turned out to be rather big change, in both binutils and gcc.
> I'm still testing it. I hope to send it to binutils and gcc early next week,
> and if all goes well to the buildroot later next week. If not, I'll send a
> patch to disable OpenCV on Xtensa.

Great, thanks for your feedback! Let's wait until next week then to
take a decision on this issue.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Buildroot] Analysis of build results for 2015-08-05
  2015-08-06  9:30 ` [Buildroot] Analysis of build " Thomas Petazzoni
                     ` (6 preceding siblings ...)
  2015-08-07 12:11   ` Max Filippov
@ 2015-08-10 11:26   ` Alexey Brodkin
  2015-08-10 11:36     ` Thomas Petazzoni
  7 siblings, 1 reply; 20+ messages in thread
From: Alexey Brodkin @ 2015-08-10 11:26 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

A bit late - was on FTO in the end of last week.

On Thu, 2015-08-06 at 11:30 +0200, Thomas Petazzoni wrote:
> Hello all,
>          arc |                 gnuradio-3.7.5 | NOK | 
> > http://autobuild.buildroot.net/results/d44aec8c82ed6a315322726dd698e6b48990ba76/
> 
> ARC toolchain problem:
> 
>    error: '__NR_eventfd' was not declared in this scope
> 
> Alexey, I don't remember, do you have a fix for this one?

I already commented on that one.
Basically gnuradio includes source from boost and in boost itself they
use syscall directly if (__GLIBC__ == 2 && __GLIBC_MINOR__ < 8) which
is the case for uClibc, see http://git.uclibc.org/uClibc/tree/include/features.h#n395
-------------->8--------------
#define	__GLIBC__	2
#define	__GLIBC_MINOR__	2
-------------->8--------------

From Boost standpoint this looks like some sort of backward compatibility for older
glibc that didn;'t have eventfd() defined.

So probably  the best option here is to bump __GLIBC__/__GLIBC_MINOR__ in uClibc.
Maybe Waldemar may comment on that?

> >          arc |              libselinux-2.1.13 | NOK | 
> > http://autobuild.buildroot.net/results/2fdea2bbcdff4a70ffaac1eecbc8faa81a44e90c/
> 
> ARC toolchain problem:
> 
>    Error: internal error: fixup not contained within frag
> 
> Alexey?

On my to investigate list.

         arc |                   zeromq-4.1.2 | NOK | 
> > http://autobuild.buildroot.net/results/be46b621ce5443788b0a1bc9fab614c4ca5d0859/
> 
> libsodium.so: undefined reference to `explicit_bzero'
> 
> Not sure. Alexey?

Libsodium attempts to build as PIE.
Should be fixed by http://patchwork.ozlabs.org/patch/505568/

-Alexey

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Buildroot] Analysis of build results for 2015-08-05
  2015-08-10 11:26   ` Alexey Brodkin
@ 2015-08-10 11:36     ` Thomas Petazzoni
  2015-08-10 11:54       ` Alexey Brodkin
  0 siblings, 1 reply; 20+ messages in thread
From: Thomas Petazzoni @ 2015-08-10 11:36 UTC (permalink / raw)
  To: buildroot

Dear Alexey Brodkin,

On Mon, 10 Aug 2015 11:26:29 +0000, Alexey Brodkin wrote:

> On Thu, 2015-08-06 at 11:30 +0200, Thomas Petazzoni wrote:
> > Hello all,
> >          arc |                 gnuradio-3.7.5 | NOK | 
> > > http://autobuild.buildroot.net/results/d44aec8c82ed6a315322726dd698e6b48990ba76/
> > 
> > ARC toolchain problem:
> > 
> >    error: '__NR_eventfd' was not declared in this scope
> > 
> > Alexey, I don't remember, do you have a fix for this one?
> 
> I already commented on that one.
> Basically gnuradio includes source from boost and in boost itself they
> use syscall directly if (__GLIBC__ == 2 && __GLIBC_MINOR__ < 8) which
> is the case for uClibc, see http://git.uclibc.org/uClibc/tree/include/features.h#n395
> -------------->8--------------
> #define	__GLIBC__	2
> #define	__GLIBC_MINOR__	2
> -------------->8--------------
> 
> From Boost standpoint this looks like some sort of backward compatibility for older
> glibc that didn;'t have eventfd() defined.
> 
> So probably  the best option here is to bump __GLIBC__/__GLIBC_MINOR__ in uClibc.
> Maybe Waldemar may comment on that?

Can't we instead patch boost to use a || defined(__UCLIBC__) or
something like that?

> > >          arc |              libselinux-2.1.13 | NOK | 
> > > http://autobuild.buildroot.net/results/2fdea2bbcdff4a70ffaac1eecbc8faa81a44e90c/
> > 
> > ARC toolchain problem:
> > 
> >    Error: internal error: fixup not contained within frag
> > 
> > Alexey?
> 
> On my to investigate list.

Thanks!

> Libsodium attempts to build as PIE.
> Should be fixed by http://patchwork.ozlabs.org/patch/505568/

Seen the patch, thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Buildroot] Analysis of build results for 2015-08-05
  2015-08-10 11:36     ` Thomas Petazzoni
@ 2015-08-10 11:54       ` Alexey Brodkin
  2015-08-10 18:08         ` Waldemar Brodkorb
  0 siblings, 1 reply; 20+ messages in thread
From: Alexey Brodkin @ 2015-08-10 11:54 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

On Mon, 2015-08-10 at 13:36 +0200, Thomas Petazzoni wrote:
> Dear Alexey Brodkin,
> 
> On Mon, 10 Aug 2015 11:26:29 +0000, Alexey Brodkin wrote:
> 
> > On Thu, 2015-08-06 at 11:30 +0200, Thomas Petazzoni wrote:
> > > Hello all,
> > >          arc |                 gnuradio-3.7.5 | NOK | 
> > > > http://autobuild.buildroot.net/results/d44aec8c82ed6a315322726dd698e6b48990ba76/
> > > 
> > > ARC toolchain problem:
> > > 
> > >    error: '__NR_eventfd' was not declared in this scope
> > > 
> > > Alexey, I don't remember, do you have a fix for this one?
> > 
> > I already commented on that one.
> > Basically gnuradio includes source from boost and in boost itself they
> > use syscall directly if (__GLIBC__ == 2 && __GLIBC_MINOR__ < 8) which
> > is the case for uClibc, see http://git.uclibc.org/uClibc/tree/include/features.h#n395
> > -------------->8--------------
> > #define	__GLIBC__	2
> > #define	__GLIBC_MINOR__	2
> > -------------->8--------------
> > 
> > From Boost standpoint this looks like some sort of backward compatibility for older
> > glibc that didn;'t have eventfd() defined.
> > 
> > So probably  the best option here is to bump __GLIBC__/__GLIBC_MINOR__ in uClibc.
> > Maybe Waldemar may comment on that?
> 
> Can't we instead patch boost to use a || defined(__UCLIBC__) or
> something like that?

Well we may try but grep for __GLIBC_MINOR__ returns at least 10 files with matches.
That's why I'd prefer to just reuse existing code with __GLIBC__/__GLIBC_MINOR__.

If we may just say that  we're on par with say __GLIBC__=2 __GLIBC_MINOR__=10 that
will cure a problem with Boost.

Let's get Waldemar's opinion on that and if he says __UCLIBC__ is the way to go we'll
figure out who's going to create that patch :)

See I sent 2 emails to Boost mailing list:
http://lists.boost.org/Archives/boost/2015/07/224257.php
http://lists.boost.org/Archives/boost/2015/07/224404.php
and haven't heard back.

So it might take a while until these guys accept our patch if at all.

-Alexey

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Buildroot] Analysis of build results for 2015-08-05
  2015-08-10 11:54       ` Alexey Brodkin
@ 2015-08-10 18:08         ` Waldemar Brodkorb
  2015-08-10 18:49           ` Alexey Brodkin
  0 siblings, 1 reply; 20+ messages in thread
From: Waldemar Brodkorb @ 2015-08-10 18:08 UTC (permalink / raw)
  To: buildroot

Hi Alexey, Hi Thomas,
Alexey Brodkin wrote,

> Hi Thomas,
> 
> On Mon, 2015-08-10 at 13:36 +0200, Thomas Petazzoni wrote:
> > Dear Alexey Brodkin,
> > 
> > On Mon, 10 Aug 2015 11:26:29 +0000, Alexey Brodkin wrote:
> > 
> > > On Thu, 2015-08-06 at 11:30 +0200, Thomas Petazzoni wrote:
> > > > Hello all,
> > > >          arc |                 gnuradio-3.7.5 | NOK | 
> > > > > http://autobuild.buildroot.net/results/d44aec8c82ed6a315322726dd698e6b48990ba76/
> > > > 
> > > > ARC toolchain problem:
> > > > 
> > > >    error: '__NR_eventfd' was not declared in this scope
> > > > 
> > > > Alexey, I don't remember, do you have a fix for this one?
> > > 
> > > I already commented on that one.
> > > Basically gnuradio includes source from boost and in boost itself they
> > > use syscall directly if (__GLIBC__ == 2 && __GLIBC_MINOR__ < 8) which
> > > is the case for uClibc, see http://git.uclibc.org/uClibc/tree/include/features.h#n395
> > > -------------->8--------------
> > > #define	__GLIBC__	2
> > > #define	__GLIBC_MINOR__	2
> > > -------------->8--------------
> > > 
> > > From Boost standpoint this looks like some sort of backward compatibility for older
> > > glibc that didn;'t have eventfd() defined.
> > > 
> > > So probably  the best option here is to bump __GLIBC__/__GLIBC_MINOR__ in uClibc.
> > > Maybe Waldemar may comment on that?
> > 
> > Can't we instead patch boost to use a || defined(__UCLIBC__) or
> > something like that?
> 
> Well we may try but grep for __GLIBC_MINOR__ returns at least 10 files with matches.
> That's why I'd prefer to just reuse existing code with __GLIBC__/__GLIBC_MINOR__.
> 
> If we may just say that  we're on par with say __GLIBC__=2 __GLIBC_MINOR__=10 that
> will cure a problem with Boost.
> 
> Let's get Waldemar's opinion on that and if he says __UCLIBC__ is the way to go we'll
> figure out who's going to create that patch :)
> 
> See I sent 2 emails to Boost mailing list:
> http://lists.boost.org/Archives/boost/2015/07/224257.php
> http://lists.boost.org/Archives/boost/2015/07/224404.php
> and haven't heard back.
> 
> So it might take a while until these guys accept our patch if at all.

May be we should do both. I can add __GLIBC_MINOR__=10 to uClibc-ng
and Alexey tries to get the || defined(__UCLIBC__) included into
boost.

Alexey, do you think we will get any regression by incrementing the
minor number for other architectures? I will try some boost compiles
later.

But do not forget, buildroot uses ARC specific uClibc fork, so it
will not fix the problem, until we switch to uClibc-ng for ARC.

best regards
 Waldemar

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Buildroot] Analysis of build results for 2015-08-05
  2015-08-10 18:08         ` Waldemar Brodkorb
@ 2015-08-10 18:49           ` Alexey Brodkin
  2015-08-13 16:32             ` Alexey Brodkin
  0 siblings, 1 reply; 20+ messages in thread
From: Alexey Brodkin @ 2015-08-10 18:49 UTC (permalink / raw)
  To: buildroot

Hi Waldemar,

On Mon, 2015-08-10 at 20:08 +0200, Waldemar Brodkorb wrote:
> Hi Alexey, Hi Thomas,
> Alexey Brodkin wrote,
> 
> > Hi Thomas,
> > 
> > On Mon, 2015-08-10 at 13:36 +0200, Thomas Petazzoni wrote:
> > > Dear Alexey Brodkin,
> > > 
> > > On Mon, 10 Aug 2015 11:26:29 +0000, Alexey Brodkin wrote:
> > > 
> > > > On Thu, 2015-08-06 at 11:30 +0200, Thomas Petazzoni wrote:
> > > > > Hello all,
> > > > >          arc |                 gnuradio-3.7.5 | NOK | 
> > > > > > http://autobuild.buildroot.net/results/d44aec8c82ed6a315322726dd698e6b48990ba76/
> > > > > 
> > > > > ARC toolchain problem:
> > > > > 
> > > > >    error: '__NR_eventfd' was not declared in this scope
> > > > > 
> > > > > Alexey, I don't remember, do you have a fix for this one?
> > > > 
> > > > I already commented on that one.
> > > > Basically gnuradio includes source from boost and in boost itself they
> > > > use syscall directly if (__GLIBC__ == 2 && __GLIBC_MINOR__ < 8) which
> > > > is the case for uClibc, see http://git.uclibc.org/uClibc/tree/include/features.h#n395
> > > > -------------->8--------------
> > > > #define	__GLIBC__	2
> > > > #define	__GLIBC_MINOR__	2
> > > > -------------->8--------------
> > > > 
> > > > From Boost standpoint this looks like some sort of backward compatibility for older
> > > > glibc that didn;'t have eventfd() defined.
> > > > 
> > > > So probably  the best option here is to bump __GLIBC__/__GLIBC_MINOR__ in uClibc.
> > > > Maybe Waldemar may comment on that?
> > > 
> > > Can't we instead patch boost to use a || defined(__UCLIBC__) or
> > > something like that?
> > 
> > Well we may try but grep for __GLIBC_MINOR__ returns at least 10 files with matches.
> > That's why I'd prefer to just reuse existing code with __GLIBC__/__GLIBC_MINOR__.
> > 
> > If we may just say that  we're on par with say __GLIBC__=2 __GLIBC_MINOR__=10 that
> > will cure a problem with Boost.
> > 
> > Let's get Waldemar's opinion on that and if he says __UCLIBC__ is the way to go we'll
> > figure out who's going to create that patch :)
> > 
> > See I sent 2 emails to Boost mailing list:
> > http://lists.boost.org/Archives/boost/2015/07/224257.php
> > http://lists.boost.org/Archives/boost/2015/07/224404.php
> > and haven't heard back.
> > 
> > So it might take a while until these guys accept our patch if at all.
> 
> May be we should do both. I can add __GLIBC_MINOR__=10 to uClibc-ng
> and Alexey tries to get the || defined(__UCLIBC__) included into
> boost.
> 
> Alexey, do you think we will get any regression by incrementing the
> minor number for other architectures? I will try some boost compiles
> later.

If I knew this for sure I wouldn't ask you :)
That's why I'm not sure which is a good MINOR number to bump to.
I'm not sure if 2.2 was intentionally used in the first place in uClibc,
did that mean that all [important?] features of glibc 2.2 were supported
in uClibc back in the day?

This is a commit that bumped from 2.1 to 2.2:
http://git.uclibc.org/uClibc/commit/?id=e83a36ce9f97ac0f59117b3a62fd2dd8461b1fd5

Frankly I may barely see a rationale for that last bump.
So there're IMHO 3 options for uClibc:

 [1] Leave __GLIBC__ versions as they are today (2.2)
 [2] Bump those versions to something that is supposed to fix existing issue
     with Boost and see if it breaks more than fixes
 [3] Do good analysis of glibc features, compare to what we have in uClibc and
     with that knowledge set __GLIBC__ versions in uClibc

> But do not forget, buildroot uses ARC specific uClibc fork, so it
> will not fix the problem, until we switch to uClibc-ng for ARC.

Well our intention is to drop ARC-specific git repo in favor to upstream
distributions of uClibc. Even today uClibc in ARC's GitHub is just a mirror
of master @ git.uclibc.org. But the problem with goode olde uClibc is there're
no releases so it is useless for us as a method of distribution.

That said for Buildroot I'm about to discontinue uClibc from ARC git and use
your uClibc-ng instead. So one Buildroot v2015.08 is cut I'll send a patch with
removal of BR2_UCLIBC_VERSION_ARC_GIT.

-Alexey

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Buildroot] Analysis of build results for 2015-08-05
  2015-08-10 18:49           ` Alexey Brodkin
@ 2015-08-13 16:32             ` Alexey Brodkin
  2015-08-14 21:48               ` Waldemar Brodkorb
  0 siblings, 1 reply; 20+ messages in thread
From: Alexey Brodkin @ 2015-08-13 16:32 UTC (permalink / raw)
  To: buildroot

Hi Waldemar, Thomas,

On Mon, 2015-08-10 at 21:49 +0300, Alexey Brodkin wrote:
> Hi Waldemar,
> 
> On Mon, 2015-08-10 at 20:08 +0200, Waldemar Brodkorb wrote:
> > Hi Alexey, Hi Thomas,
> > Alexey Brodkin wrote,
> > 
> > > Hi Thomas,
> > > 
> > > On Mon, 2015-08-10 at 13:36 +0200, Thomas Petazzoni wrote:
> > > > Dear Alexey Brodkin,
> > > > 
> > > > On Mon, 10 Aug 2015 11:26:29 +0000, Alexey Brodkin wrote:
> > > > 
> > > > > On Thu, 2015-08-06 at 11:30 +0200, Thomas Petazzoni wrote:
> > > > > > Hello all,
> > > > > >          arc |                 gnuradio-3.7.5 | NOK | 
> > > > > > > http://autobuild.buildroot.net/results/d44aec8c82ed6a315322726dd698e6b48990ba76/
> > > > > > 
> > > > > > ARC toolchain problem:
> > > > > > 
> > > > > >    error: '__NR_eventfd' was not declared in this scope
> > > > > > 
> > > > > > Alexey, I don't remember, do you have a fix for this one?
> > > > > 
> > > > > I already commented on that one.
> > > > > Basically gnuradio includes source from boost and in boost itself they
> > > > > use syscall directly if (__GLIBC__ == 2 && __GLIBC_MINOR__ < 8) which
> > > > > is the case for uClibc, see http://git.uclibc.org/uClibc/tree/include/features.h#n395
> > > > > -------------->8--------------
> > > > > #define	__GLIBC__	2
> > > > > #define	__GLIBC_MINOR__	2
> > > > > -------------->8--------------
> > > > > 
> > > > > From Boost standpoint this looks like some sort of backward compatibility for older
> > > > > glibc that didn;'t have eventfd() defined.
> > > > > 
> > > > > So probably  the best option here is to bump __GLIBC__/__GLIBC_MINOR__ in uClibc.
> > > > > Maybe Waldemar may comment on that?
> > > > 
> > > > Can't we instead patch boost to use a || defined(__UCLIBC__) or
> > > > something like that?
> > > 
> > > Well we may try but grep for __GLIBC_MINOR__ returns at least 10 files with matches.
> > > That's why I'd prefer to just reuse existing code with __GLIBC__/__GLIBC_MINOR__.
> > > 
> > > If we may just say that  we're on par with say __GLIBC__=2 __GLIBC_MINOR__=10 that
> > > will cure a problem with Boost.
> > > 
> > > Let's get Waldemar's opinion on that and if he says __UCLIBC__ is the way to go we'll
> > > figure out who's going to create that patch :)
> > > 
> > > See I sent 2 emails to Boost mailing list:
> > > http://lists.boost.org/Archives/boost/2015/07/224257.php
> > > http://lists.boost.org/Archives/boost/2015/07/224404.php
> > > and haven't heard back.
> > > 
> > > So it might take a while until these guys accept our patch if at all.
> > 
> > May be we should do both. I can add __GLIBC_MINOR__=10 to uClibc-ng
> > and Alexey tries to get the || defined(__UCLIBC__) included into
> > boost.
> > 
> > Alexey, do you think we will get any regression by incrementing the
> > minor number for other architectures? I will try some boost compiles
> > later.
> 
> If I knew this for sure I wouldn't ask you :)
> That's why I'm not sure which is a good MINOR number to bump to.
> I'm not sure if 2.2 was intentionally used in the first place in uClibc,
> did that mean that all [important?] features of glibc 2.2 were supported
> in uClibc back in the day?
> 
> This is a commit that bumped from 2.1 to 2.2:
> http://git.uclibc.org/uClibc/commit/?id=e83a36ce9f97ac0f59117b3a62fd2dd8461b1fd5
> 
> Frankly I may barely see a rationale for that last bump.
> So there're IMHO 3 options for uClibc:
> 
>  [1] Leave __GLIBC__ versions as they are today (2.2)
>  [2] Bump those versions to something that is supposed to fix existing issue
>      with Boost and see if it breaks more than fixes
>  [3] Do good analysis of glibc features, compare to what we have in uClibc and
>      with that knowledge set __GLIBC__ versions in uClibc
> 
> > But do not forget, buildroot uses ARC specific uClibc fork, so it
> > will not fix the problem, until we switch to uClibc-ng for ARC.
> 
> Well our intention is to drop ARC-specific git repo in favor to upstream
> distributions of uClibc. Even today uClibc in ARC's GitHub is just a mirror
> of master @ git.uclibc.org. But the problem with goode olde uClibc is there're
> no releases so it is useless for us as a method of distribution.
> 
> That said for Buildroot I'm about to discontinue uClibc from ARC git and use
> your uClibc-ng instead. So one Buildroot v2015.08 is cut I'll send a patch with
> removal of BR2_UCLIBC_VERSION_ARC_GIT.

I may confirm that http://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/commit/?id=4ff3a6c8eb91db71d6dc3d2932b66e848bd20ac3
fixes boost building for ARC.

Waldemar, are you going to send that patch in uClibc mailing-list?

-Alexey

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Buildroot] Analysis of build results for 2015-08-05
  2015-08-13 16:32             ` Alexey Brodkin
@ 2015-08-14 21:48               ` Waldemar Brodkorb
  0 siblings, 0 replies; 20+ messages in thread
From: Waldemar Brodkorb @ 2015-08-14 21:48 UTC (permalink / raw)
  To: buildroot

Hi Alexey,
Alexey Brodkin wrote,

> I may confirm that http://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/commit/?id=4ff3a6c8eb91db71d6dc3d2932b66e848bd20ac3
> fixes boost building for ARC.
> 
> Waldemar, are you going to send that patch in uClibc mailing-list?

No, sorry. I stopped doing this, because I don't want to track all
missing stuff in uClibc anymore. Bernhard's selective answer modes
and really long timeouts are to annoying for me.

If you care, please do it.

uClibc-ng 1.0.6 is coming soon, including this patch.

best regards
 Waldemar

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Buildroot] Analysis of build results for 2015-08-05
  2015-08-06  9:36   ` Vicente Olivert Riera
@ 2015-08-17 10:00     ` Vicente Olivert Riera
  0 siblings, 0 replies; 20+ messages in thread
From: Vicente Olivert Riera @ 2015-08-17 10:00 UTC (permalink / raw)
  To: buildroot

Hello Thomas,

On 08/06/2015 10:36 AM, Vicente Olivert Riera wrote:
> Hello Thomas,
> 
> On 06/08/15 11:30, Thomas Petazzoni wrote:
>>>          mips |                  qt5base-5.5.0 | NOK |
>>> http://autobuild.buildroot.net/results/1f4eee3423650651ac37f55dafed269c6d9baa98/
>>>
>>
>> MIPS problem:
>>
>>     fatal error: gnu/lib-names-o32_soft.h: No such file or directory
>>
>> Vicente, can you comment?
> 
> we are in conversations with Mentor to check the support for soft-float
> in their toolchains.

Fixed by:

http://patchwork.ozlabs.org/patch/507916/

Can you review it please?

Thanks,

Vincent.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Buildroot] Analysis of build results for 2015-08-05
  2015-08-06  9:30   ` Vicente Olivert Riera
@ 2015-08-17 10:02     ` Vicente Olivert Riera
  0 siblings, 0 replies; 20+ messages in thread
From: Vicente Olivert Riera @ 2015-08-17 10:02 UTC (permalink / raw)
  To: buildroot

Hello Thomas,

On 08/06/2015 10:30 AM, Vicente Olivert Riera wrote:
> Hello Thomas,
> 
> On 06/08/15 11:30, Thomas Petazzoni wrote:
>>>          mips | ltrace-c22d359433b333937ee3... | NOK |
>>> http://autobuild.buildroot.net/results/79b51941ed57b0564c68112489b03cac39a04e9a/
>>>
>>
>> output.c: In function 'output_right':
>> output.c:784:3: error: size of unnamed array is negative
>>     (void)sizeof(char[1 - 2*(sizeof(unw_word_t)
>>     ^
>>
>> Vicente, J?r?me, can you have a look?
> 
> ltrace with libunwind support is broken for MIPS, but I'm working with
> upstream to get it fixed. I hope to finish with it soon.

Fixed by:

http://patchwork.ozlabs.org/patch/507709/

Can you review it please?

Thanks,

Vincent.

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2015-08-17 10:02 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-06  6:30 [Buildroot] [autobuild.buildroot.net] Build results for 2015-08-05 Thomas Petazzoni
2015-08-06  9:30 ` [Buildroot] Analysis of build " Thomas Petazzoni
2015-08-06  9:30   ` Vicente Olivert Riera
2015-08-17 10:02     ` Vicente Olivert Riera
2015-08-06  9:36   ` Vicente Olivert Riera
2015-08-17 10:00     ` Vicente Olivert Riera
2015-08-06 10:08   ` Julien CORJON
2015-08-06 11:57   ` Brendan Heading
2015-08-06 16:31   ` Bernd Kuhls
2015-08-07  4:07   ` Waldemar Brodkorb
2015-08-07  8:58     ` Thomas Petazzoni
2015-08-07 12:11   ` Max Filippov
2015-08-07 12:13     ` Thomas Petazzoni
2015-08-10 11:26   ` Alexey Brodkin
2015-08-10 11:36     ` Thomas Petazzoni
2015-08-10 11:54       ` Alexey Brodkin
2015-08-10 18:08         ` Waldemar Brodkorb
2015-08-10 18:49           ` Alexey Brodkin
2015-08-13 16:32             ` Alexey Brodkin
2015-08-14 21:48               ` Waldemar Brodkorb

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.