package/efl/libelementary: disable on static lib only build
PATCH 1/1 package/efl/libelementary: disable on static lib only build
libelementary sources include dlfcn.h header when HAVE_FORK symbol is defined; this is always the case because elf already depends on BR2_USE_MMU.
Fixes:
http://autobuild.buildroot.org/results/07c/07c97918dab24215f5c5130a9cd2788adca0a27d/
--- package/efl/libelementary/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
package/efl/libelementary/Config.in +3 -2
@@ -1,5 +1,5 @@ -comment "libelementary needs a toolchain w/ threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS +comment "libelementary needs a toolchain w/ threads, dynamic library" + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS config BR2_PACKAGE_LIBELEMENTARY bool "libelementary"
@@ -8,6 +8,7 @@ config BR2_PACKAGE_LIBELEMENTARY select BR2_PACKAGE_LIBECORE select BR2_PACKAGE_LIBEDJE depends on BR2_TOOLCHAIN_HAS_THREADS # libevas + depends on !BR2_STATIC_LIBS help Elementary is a widget toolkit and EFL wrapper and convenience library to make it easy to build applications and tools with UIs
Signature · 1 line
2.4.1
PATCH 1/1 package/efl/libelementary: disable on static lib only build
Samuel, All,
On 2015-05-23 15:56 +0200, Samuel Martin spake thusly:
Quoted 2 lines
libelementary sources include
dlfcn.hheader whenHAVE_FORKsymbol is defined; this is always the case because elf already depends onBR2_USE_MMU.
Although I understand the thechnical reason to require !STATIC, I fail to see the how this commit log describes the actual change.
That is, I fail to see why "fork + ELF + MMU" implies we need to depend on !STATIC.
Also, ELF requiring an MMU is absolutely wrong. You can run ELF files on MMU-less systems.
Regards,
Yann E. MORIN.
Quoted 35 lines
Fixes:
http://autobuild.buildroot.org/results/07c/07c97918dab24215f5c5130a9cd2788adca0a27d/Signed-off-by Samuel Martin <[email protected]>--- package/efl/libelementary/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)package/efl/libelementary/Config.in +3
-2@@ -1,5 +1,5 @@ -comment "libelementary needs a toolchain w/ threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS +comment "libelementary needs a toolchain w/ threads, dynamic library" + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS config BR2_PACKAGE_LIBELEMENTARY bool "libelementary"@@ -8,6 +8,7 @@ config BR2_PACKAGE_LIBELEMENTARY select BR2_PACKAGE_LIBECORE select BR2_PACKAGE_LIBEDJE depends on BR2_TOOLCHAIN_HAS_THREADS # libevas + depends on !BR2_STATIC_LIBS help Elementary is a widget toolkit and EFL wrapper and convenience library to make it easy to build applications and tools with UIsSignature · 6 lines
2.4.1 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
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. | '------------------------------^-------^------------------^--------------------'
PATCH 1/1 package/efl/libelementary: disable on static lib only build
Yann, all,
Quoted 5 lines · Yann E. MORIN
Samuel, All,
On 2015-05-23 15:56 +0200, Samuel Martin spake thusly:
Quoted 2 lines
libelementary sources include
dlfcn.hheader whenHAVE_FORKsymbol is defined; this is always the case because elf already depends onBR2_USE_MMU.
Ooops, sorry for the typo, i mean efl (not elf), and more specifically [1]:
Quoted 4 lines
Although I understand the thechnical reason to require !STATIC, I fail to see the how this commit log describes the actual change.
Quoted 9 lines
That is, I fail to see why "fork + ELF + MMU" implies we need to depend on !STATIC.
Also, ELF requiring an MMU is absolutely wrong. You can run ELF files on MMU-less systems.
Regards,
Yann E. MORIN.
So, in the end, it is: MMU + efl enables fork support in efl; thus libelementary includes dlfcn.h. So libelementary should depend on !STATIC.
[1] http://git.buildroot.net/buildroot/tree/package/efl/Config.in#n5
Regards,
Signature · 1 line
Samuel
PATCH 1/1 package/efl/libelementary: disable on static lib only build
In reply to Samuel MartinQuoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Samuel" == Samuel Martin <[email protected]> writes:
libelementary sources include
dlfcn.hheader whenHAVE_FORKsymbol is defined; this is always the case because elf already depends onBR2_USE_MMU.
Committed with the elf/efl typo fixed, thanks.
Signature · 1 line
Bye, Peter Korsgaard