Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/efl: avoid optimization flags added by meson
@ 2020-08-08  9:42 Romain Naour
  2020-08-08 12:26 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Romain Naour @ 2020-08-08  9:42 UTC (permalink / raw)
  To: buildroot

Efl's meson build system add some optimization flags related to cpu
architecture [1]. In the context of Buildroot, such optimization flags
are already provided by the toolchain wrapper.

For ppc, efl's meson expect the altivec support is available but this is
not the case for ppc e500 cpus.

Disable native-arch-optimization option to avoid such issue.

[1] https://git.enlightenment.org/core/efl.git/tree/meson.build?h=v1.24.3#n165

Fixes:
http://autobuild.buildroot.net/results/dd2586be32c25d93eebfaa743c1f7d36915bb0d7

Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
 package/efl/efl.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/efl/efl.mk b/package/efl/efl.mk
index 6dc38b1626..b8c4a506ad 100644
--- a/package/efl/efl.mk
+++ b/package/efl/efl.mk
@@ -29,6 +29,7 @@ EFL_DEPENDENCIES = host-pkgconf host-efl host-luajit dbus freetype \
 # elua=true: build elua for the target.
 # sdl=false: disable sdl2 support.
 # embedded-lz4=false: use liblz4 from lz4 package.
+# native-arch-optimization=false: avoid optimization flags added by meson.
 # network-backend=none: disable connman networkmanager.
 EFL_CONF_OPTS = \
 	-Davahi=false \
@@ -39,6 +40,7 @@ EFL_CONF_OPTS = \
 	-Delua=true \
 	-Dembedded-lz4=false \
 	-Dlua-interpreter=luajit \
+	-Dnative-arch-optimization=false \
 	-Dnetwork-backend=none \
 	-Dpixman=false \
 	-Dsdl=false \
-- 
2.25.4

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

* [Buildroot] [PATCH] package/efl: avoid optimization flags added by meson
  2020-08-08  9:42 [Buildroot] [PATCH] package/efl: avoid optimization flags added by meson Romain Naour
@ 2020-08-08 12:26 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2020-08-08 12:26 UTC (permalink / raw)
  To: buildroot

Romain, All,

On 2020-08-08 11:42 +0200, Romain Naour spake thusly:
> Efl's meson build system add some optimization flags related to cpu
> architecture [1]. In the context of Buildroot, such optimization flags
> are already provided by the toolchain wrapper.
> 
> For ppc, efl's meson expect the altivec support is available but this is
> not the case for ppc e500 cpus.
> 
> Disable native-arch-optimization option to avoid such issue.
> 
> [1] https://git.enlightenment.org/core/efl.git/tree/meson.build?h=v1.24.3#n165
> 
> Fixes:
> http://autobuild.buildroot.net/results/dd2586be32c25d93eebfaa743c1f7d36915bb0d7
> 
> Signed-off-by: Romain Naour <romain.naour@gmail.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/efl/efl.mk | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/package/efl/efl.mk b/package/efl/efl.mk
> index 6dc38b1626..b8c4a506ad 100644
> --- a/package/efl/efl.mk
> +++ b/package/efl/efl.mk
> @@ -29,6 +29,7 @@ EFL_DEPENDENCIES = host-pkgconf host-efl host-luajit dbus freetype \
>  # elua=true: build elua for the target.
>  # sdl=false: disable sdl2 support.
>  # embedded-lz4=false: use liblz4 from lz4 package.
> +# native-arch-optimization=false: avoid optimization flags added by meson.
>  # network-backend=none: disable connman networkmanager.
>  EFL_CONF_OPTS = \
>  	-Davahi=false \
> @@ -39,6 +40,7 @@ EFL_CONF_OPTS = \
>  	-Delua=true \
>  	-Dembedded-lz4=false \
>  	-Dlua-interpreter=luajit \
> +	-Dnative-arch-optimization=false \
>  	-Dnetwork-backend=none \
>  	-Dpixman=false \
>  	-Dsdl=false \
> -- 
> 2.25.4
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

end of thread, other threads:[~2020-08-08 12:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-08  9:42 [Buildroot] [PATCH] package/efl: avoid optimization flags added by meson Romain Naour
2020-08-08 12:26 ` Yann E. MORIN

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