From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] odroid-mali: fix broken headers.
Date: Tue, 14 Mar 2017 22:54:27 +0100 [thread overview]
Message-ID: <20170314225427.390c43ce@free-electrons.com> (raw)
In-Reply-To: <trinity-929fc1a7-02df-4b8f-b623-1a623d2a9f58-1489414620167@3capp-mailcom-bs04>
Hello,
On Mon, 13 Mar 2017 15:17:00 +0100, daggs wrote:
> yes, I did verified.
> what I did encountered (not sure it is a bug), is the following:
> 1. checkout a clean buildroot.
> 2. run make odroidc2_defconfig.
> 3. run make menuconfig
> 1. set libc to glibc.
> 2. select odroid-mali.
> 3. select libepoxy.
> 4. run build.
Thanks!
> the above will fail libepoxy on Xlib.h no such file or directory found.
> for that xorg + libX11 needs to be enabled.
Then there is still a problem with odroid-mali, because with the
rpi-userland OpenGL ES/EGL provider, libepoxy builds just fine. Try the
following defconfig:
BR2_arm=y
BR2_cortex_a8=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_INIT_NONE=y
BR2_SYSTEM_BIN_SH_NONE=y
# BR2_PACKAGE_BUSYBOX is not set
BR2_PACKAGE_RPI_USERLAND=y
BR2_PACKAGE_LIBEPOXY=y
# BR2_TARGET_ROOTFS_TAR is not set
I've tested your patches, and indeed I've been able to reproduce this
issue. It's because they have re-used the mesa3d headers as-is it
seems, and therefore MESA_EGL_NO_X11_HEADERS needs to be defined when
X11 is not used.
So I guess this would need to be adjust in the pkg-config files
installed by odroid-mali... even though that will only work with the
packages that then use pkg-config to detect OpenGL ES/EGL.
Adding in Cc Peter Seiderer, who also mentioned MESA_EGL_NO_X11_HEADERS
in another thread recently.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2017-03-14 21:54 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-13 9:08 [Buildroot] [PATCH 1/2] odroid-mali: fix broken headers Dagg Stompler
2017-03-13 9:08 ` [Buildroot] [PATCH 2/2] Revert "odroid-mali: mark package as BROKEN" Dagg Stompler
2017-03-13 12:33 ` [Buildroot] [PATCH 1/2] odroid-mali: fix broken headers Thomas Petazzoni
2017-03-13 14:17 ` daggs
2017-03-14 21:54 ` Thomas Petazzoni [this message]
2017-03-15 6:37 ` daggs
2017-03-15 8:12 ` Thomas Petazzoni
2017-03-15 9:52 ` daggs
2017-03-15 10:01 ` Thomas Petazzoni
2017-03-19 8:10 ` daggs
2017-03-19 8:42 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170314225427.390c43ce@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox