Skip to contentSkip to conversation

Build results for 2014-05-27

Buildroot Thomas Petazzoni 3 participants 4 messages May 28, 2014

lore
Share & tools
lore
#0 lore raw

Build statistics for 2014-05-27
===============================

success : 105
failures : 2
timeouts : 0
TOTAL : 107

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

                     monit-5.7 | 1 
                     exim-4.82 | 1 

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

       arm |                      exim-4.82 | NOK | http://autobuild.buildroot.net/results/0a392087878f80a70435981856455a30152b684d/
      bfin |                      monit-5.7 | NOK | http://autobuild.buildroot.net/results/67623f87f8bc2c73f30bdc3943c58238686c106e/
Signature · 1 line
http://autobuild.buildroot.net
#1 lore raw

Thomas, All,

On 2014-05-28 08:30 +0200, Thomas Petazzoni spake thusly:

Quoted 1 line
       arm |                      exim-4.82 | NOK | http://autobuild.buildroot.net/results/0a392087878f80a70435981856455a30152b684d/

pthread problem on a static build:

    /home/test/test/1/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libdb.a(mut_pthread.o):
    In function `__db_pthread_mutex_prep.isra.0':
    mut_pthread.c:(.text+0x2c): undefined reference to `pthread_rwlock_trywrlock'
    mut_pthread.c:(.text+0x34): undefined reference to `pthread_mutex_trylock'
    mut_pthread.c:(.text+0xb0): undefined reference to `pthread_rwlock_wrlock'
    mut_pthread.c:(.text+0x100): undefined reference to `pthread_rwlock_wrlock'

I'm investigating.

Quoted 1 line
      bfin |                      monit-5.7 | NOK | http://autobuild.buildroot.net/results/67623f87f8bc2c73f30bdc3943c58238686c106e/

src/process/sysdep_LINUX.c: In function 'initprocesstree_sysdep':
src/process/sysdep_LINUX.c:207: error: 'GLOB_ONLYDIR' undeclared (first use in this function)

Not sure, but GLOB_ONLYDIR should come from the C library. I will investigate.

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

Dear Yann E. MORIN,

Quoted 8 lines · Yann E. MORIN
Quoted 1 line
      bfin |                      monit-5.7 | NOK | http://autobuild.buildroot.net/results/67623f87f8bc2c73f30bdc3943c58238686c106e/

src/process/sysdep_LINUX.c: In function 'initprocesstree_sysdep':
src/process/sysdep_LINUX.c:207: error: 'GLOB_ONLYDIR' undeclared (first use in this function)

Not sure, but GLOB_ONLYDIR should come from the C library. I will investigate.

GLOB_ONLYDIR is a GNU extension, and Blackfin toolchains have a uClibc configuration without the appropriate option. However, GLOB_ONLYDIR is only a hint:

GLOB_ONLYDIR
This is a hint to glob() that the caller is interested only in directories that match the pattern. If the implementation can easily determine file-type information, then nondirectory files are not returned to the caller. However, the caller must still check that returned files are directories. (The purpose of this flag is merely to optimize performance when the caller is inter? ested only in directories.)

So a potential fix would be:

#ifndef GLOB_ONLYDIR
#define GLOB_ONLYDIR 0
#endif

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#3 lore raw
In reply to Thomas Petazzoni
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Build statistics for 2014-05-27
===============================

success : 105
failures : 2
timeouts : 0
TOTAL : 107

Wee!

Quoted 10 lines

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

                     monit-5.7 | 1 
                     exim-4.82 | 1 

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

       arm |                      exim-4.82 | NOK | http://autobuild.buildroot.net/results/0a392087878f80a70435981856455a30152b684d/

Static linking / pthread issue. I doubt many people really care about linking something as big as that statically, so I will just make it depend on !BR2_PREFER_STATIC_LIB for 2014.05.

Quoted 1 line
      bfin |                      monit-5.7 | NOK | http://autobuild.buildroot.net/results/67623f87f8bc2c73f30bdc3943c58238686c106e/

No GLOB_ONLYDIR. This flag is just an optimization, and from the looks of the code it seems it will still work if we simply add a patch doing:

#ifndef GLOB_ONLYDIR
#define GLOB_ONLYDIR 0
#endif

But once you fix that the build fails as monit uses fork(), so I will simply make it depend on BR2_USE_MMU for 2014.05.

Signature · 1 line
Bye, Peter Korsgaard