Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [buildroot] libevas build failure analysis
@ 2013-11-28 19:04 arnaud aujon
  2013-11-28 19:11 ` Lionel Orry
  0 siblings, 1 reply; 13+ messages in thread
From: arnaud aujon @ 2013-11-28 19:04 UTC (permalink / raw)
  To: buildroot

Hi there,

A quick analysis of libevas build failure (
http://autobuild.buildroot.org/results/15c/15cfb974e428b20ba230321cd8b59a82308785af/
)

The build fails because the member 'delete_me' of the Image_Entry_Flags
structure is undefined. This is because there is a ifdef
BUILD_ASYNC_PRELOAD surrounding this member which is not defined during the
build because the toolchain doesn't have thread support.

From libevas.mk :
# async image preload support needs threads support in toolchain
ifneq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
LIBEVAS_CONF_OPT += --disable-async-preload
endif

But it seems like the file evas_cache2.c is using 'delete_me' regardless of
the 'async image preload support'

I don't have the time to investigate more, but it looks like without
threads we should use 'lib/cache' and not 'lib/cache2'  which are defining
the same symboles but 'cache2' absolutely need threads support, 'cache'
doesn't .
So I guess we have to fix the makefile to use this the 'cache'
implementation.

Does someone  know what we should do here ?

Regards,

Arnaud
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20131128/384eca9c/attachment.html>

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

end of thread, other threads:[~2013-12-04 14:30 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-28 19:04 [Buildroot] [buildroot] libevas build failure analysis arnaud aujon
2013-11-28 19:11 ` Lionel Orry
2013-11-28 19:35   ` arnaud aujon
2013-12-03  8:32     ` arnaud aujon
2013-12-03  8:45       ` Lionel Orry
2013-12-03  9:13         ` arnaud aujon
2013-12-04  9:28           ` Thomas Petazzoni
2013-12-04  9:27         ` Thomas Petazzoni
2013-12-04 10:24           ` Lionel Orry
2013-12-04 12:21             ` Lucas De Marchi
2013-12-04 12:56               ` Lionel Orry
2013-12-04 14:30                 ` Lucas De Marchi
2013-12-04 12:29             ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox