All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] glmark2 build failure
@ 2019-10-07 14:01 Fabio Estevam
  2019-10-07 15:36 ` Thomas Petazzoni
  0 siblings, 1 reply; 6+ messages in thread
From: Fabio Estevam @ 2019-10-07 14:01 UTC (permalink / raw)
  To: buildroot

Hi,

When trying to build imx6-sabresd_qt5_defconfig I get the following
glmark2 error:

Does anyone have any ideas on how to solve this?

Thanks

>>> glmark2 9e01aef1a786b28aca73135a5b00f85c357e8f5e Patching
>>> glmark2 9e01aef1a786b28aca73135a5b00f85c357e8f5e Configuring
cd /home/fabio/buildroot/output/build/glmark2-9e01aef1a786b28aca73135a5b00f85c357e8f5e/
&& PATH="/home/fabio/buildroot/output/host/bin:/home/fabio/buildroot/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
AR="/home/fabio/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-ar"
AS="/home/fabio/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-as"
LD="/home/fabio/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-ld"
NM="/home/fabio/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-nm"
CC="/home/fabio/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-gcc"
GCC="/home/fabio/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-gcc"
CPP="/home/fabio/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-cpp"
CXX="/home/fabio/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-g++"
FC="/home/fabio/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-gfortran"
F77="/home/fabio/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-gfortran"
RANLIB="/home/fabio/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-ranlib"
READELF="/home/fabio/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-readelf"
STRIP="/home/fabio/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-strip"
OBJCOPY="/home/fabio/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-objcopy"
OBJDUMP="/home/fabio/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-objdump"
AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as"
CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc"
CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld"
CPPFLAGS_FOR_BUILD="-I/home/fabio/buildroot/output/host/include"
CFLAGS_FOR_BUILD="-O2 -I/home/fabio/buildroot/output/host/include"
CXXFLAGS_FOR_BUILD="-O2 -I/home/fabio/buildroot/output/host/include"
LDFLAGS_FOR_BUILD="-L/home/fabio/buildroot/output/host/lib
-Wl,-rpath,/home/fabio/buildroot/output/host/lib" FCFLAGS_FOR_BUILD=""
DEFAULT_ASSEMBLER="/home/fabio/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-as"
DEFAULT_LINKER="/home/fabio/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabihf-ld"
CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os  "
CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64  -Os  " LDFLAGS="" FCFLAGS=" -Os " FFLAGS=" -Os
" PKG_CONFIG="/home/fabio/buildroot/output/host/bin/pkg-config"
STAGING_DIR="/home/fabio/buildroot/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot"
INTLTOOL_PERL=/usr/bin/perl
/home/fabio/buildroot/output/host/bin/python2 ./waf configure
--prefix=/usr --libdir=/usr/lib --prefix=/usr --with-flavors=
Setting top to                           :
/home/fabio/buildroot/output/build/glmark2-9e01aef1a786b28aca73135a5b00f85c357e8f5e
Setting out to                           :
/home/fabio/buildroot/output/build/glmark2-9e01aef1a786b28aca73135a5b00f85c357e8f5e/build
Unknown flavor: . Supported flavors are dispmanx-glesv2, drm-gl,
drm-glesv2, mir-gl, mir-glesv2, wayland-gl, wayland-glesv2, win32-gl,
win32-glesv2, x11-gl, x11-glesv2
(complete log in
/home/fabio/buildroot/output/build/glmark2-9e01aef1a786b28aca73135a5b00f85c357e8f5e/build/config.log)
package/pkg-generic.mk:228: recipe for target
'/home/fabio/buildroot/output/build/glmark2-9e01aef1a786b28aca73135a5b00f85c357e8f5e/.stamp_configured'
failed
make: *** [/home/fabio/buildroot/output/build/glmark2-9e01aef1a786b28aca73135a5b00f85c357e8f5e/.stamp_configured]
Error 1

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

* [Buildroot] glmark2 build failure
  2019-10-07 14:01 [Buildroot] glmark2 build failure Fabio Estevam
@ 2019-10-07 15:36 ` Thomas Petazzoni
  2019-10-07 15:53   ` Fabio Estevam
  2019-10-07 21:18   ` Arnout Vandecappelle
  0 siblings, 2 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2019-10-07 15:36 UTC (permalink / raw)
  To: buildroot

Hello,

+Bernd in Cc.

On Mon, 7 Oct 2019 11:01:12 -0300
Fabio Estevam <festevam@gmail.com> wrote:

> --prefix=/usr --libdir=/usr/lib --prefix=/usr --with-flavors=

--with-flavors is empty

I guess it's a fallout of cf66a67112cd706d2e71665e45e8f6453fd53963. Do
you have udev enabled in your configuration ? If not that's the
culprit. But it also means that
cf66a67112cd706d2e71665e45e8f6453fd53963 was in fact not sufficient,
and some additional dependencies need to be added in the Config.in file
to prevent the package from being selected in configuration where no
glmark2 flavor will be available.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] glmark2 build failure
  2019-10-07 15:36 ` Thomas Petazzoni
@ 2019-10-07 15:53   ` Fabio Estevam
  2019-10-08 21:02     ` Peter Seiderer
  2019-10-07 21:18   ` Arnout Vandecappelle
  1 sibling, 1 reply; 6+ messages in thread
From: Fabio Estevam @ 2019-10-07 15:53 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

On Mon, Oct 7, 2019 at 12:36 PM Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
>
> Hello,
>
> +Bernd in Cc.
>
> On Mon, 7 Oct 2019 11:01:12 -0300
> Fabio Estevam <festevam@gmail.com> wrote:
>
> > --prefix=/usr --libdir=/usr/lib --prefix=/usr --with-flavors=
>
> --with-flavors is empty
>
> I guess it's a fallout of cf66a67112cd706d2e71665e45e8f6453fd53963. Do
> you have udev enabled in your configuration ? If not that's the

imx6-sabresd_qt5_defconfig does not select udev, so no, I don't have it enabled.

Regards,

Fabio Estevam

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

* [Buildroot] glmark2 build failure
  2019-10-07 15:36 ` Thomas Petazzoni
  2019-10-07 15:53   ` Fabio Estevam
@ 2019-10-07 21:18   ` Arnout Vandecappelle
  1 sibling, 0 replies; 6+ messages in thread
From: Arnout Vandecappelle @ 2019-10-07 21:18 UTC (permalink / raw)
  To: buildroot



On 07/10/2019 17:36, Thomas Petazzoni wrote:
> Hello,
> 
> +Bernd in Cc.
> 
> On Mon, 7 Oct 2019 11:01:12 -0300
> Fabio Estevam <festevam@gmail.com> wrote:
> 
>> --prefix=/usr --libdir=/usr/lib --prefix=/usr --with-flavors=
> 
> --with-flavors is empty
> 
> I guess it's a fallout of cf66a67112cd706d2e71665e45e8f6453fd53963. Do
> you have udev enabled in your configuration ? If not that's the
> culprit. But it also means that
> cf66a67112cd706d2e71665e45e8f6453fd53963 was in fact not sufficient,
> and some additional dependencies need to be added in the Config.in file
> to prevent the package from being selected in configuration where no
> glmark2 flavor will be available.

 That logic could be simplified a lot IMO if it were moved to Config.in:


config BR2_PACKAGE_GLMARK2_FLAVOR_ANY
	bool

config BR2_PACKAGE_GLMARK2_FLAVOR_X11_GLESV2
	bool
	default y
	depends on BR2_PACKAGE_XLIB_LIBX11
	depends on BR2_PACKAGE_HAS_LIBEGL
	depends on BR2_PACKAGE_HAS_LIBGLES
	select BR2_PACKAGE_GLMARK2_FLAVOR_ANY

...


And in glmark2.mk:

GLMARK2_FLAVORS = \
	$(if $(BR2_PACKAGE_GLMARK2_FLAVOR_X11_GLESV2),x11-glesv2) \
	...



 Regards,
 Arnout

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

* [Buildroot] glmark2 build failure
  2019-10-07 15:53   ` Fabio Estevam
@ 2019-10-08 21:02     ` Peter Seiderer
  2019-10-09 17:26       ` Fabio Estevam
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Seiderer @ 2019-10-08 21:02 UTC (permalink / raw)
  To: buildroot

Hello *,

On Mon, 7 Oct 2019 12:53:09 -0300, Fabio Estevam <festevam@gmail.com> wrote:

> Hi Thomas,
>
> On Mon, Oct 7, 2019 at 12:36 PM Thomas Petazzoni
> <thomas.petazzoni@bootlin.com> wrote:
> >
> > Hello,
> >
> > +Bernd in Cc.
> >
> > On Mon, 7 Oct 2019 11:01:12 -0300
> > Fabio Estevam <festevam@gmail.com> wrote:
> >
> > > --prefix=/usr --libdir=/usr/lib --prefix=/usr --with-flavors=
> >
> > --with-flavors is empty
> >
> > I guess it's a fallout of cf66a67112cd706d2e71665e45e8f6453fd53963. Do
> > you have udev enabled in your configuration ? If not that's the
>
> imx6-sabresd_qt5_defconfig does not select udev, so no, I don't have it enabled.

Changing

	System-Configuration --> /dev management --> Dyanmic using devtempfs + mdev

to

	System-Configuration --> /dev management --> Dyanmic using devtempfs + eudev

fixes the glmark2 compile failure for the imx6-sabresd_qt5_defconfig...

Regards,
Peter

>
> Regards,
>
> Fabio Estevam
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

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

* [Buildroot] glmark2 build failure
  2019-10-08 21:02     ` Peter Seiderer
@ 2019-10-09 17:26       ` Fabio Estevam
  0 siblings, 0 replies; 6+ messages in thread
From: Fabio Estevam @ 2019-10-09 17:26 UTC (permalink / raw)
  To: buildroot

Hi Peter,

On Tue, Oct 8, 2019 at 6:02 PM Peter Seiderer <ps.report@gmx.net> wrote:

> Changing
>
>         System-Configuration --> /dev management --> Dyanmic using devtempfs + mdev
>
> to
>
>         System-Configuration --> /dev management --> Dyanmic using devtempfs + eudev
>
> fixes the glmark2 compile failure for the imx6-sabresd_qt5_defconfig...

Thanks, I have sent some patches to fix imx6-sabresd_qt5_defconfig
based on your suggestions.

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

end of thread, other threads:[~2019-10-09 17:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-07 14:01 [Buildroot] glmark2 build failure Fabio Estevam
2019-10-07 15:36 ` Thomas Petazzoni
2019-10-07 15:53   ` Fabio Estevam
2019-10-08 21:02     ` Peter Seiderer
2019-10-09 17:26       ` Fabio Estevam
2019-10-07 21:18   ` Arnout Vandecappelle

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.