Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [autobuild.buildroot.net] Build results for 2014-06-09
Date: Wed, 11 Jun 2014 00:55:28 +0200	[thread overview]
Message-ID: <20140610225528.GF3561@free.fr> (raw)
In-Reply-To: <20140610224740.325449ec@free-electrons.com>

Thomas, Maxime, All,

On 2014-06-10 22:47 +0200, Thomas Petazzoni spake thusly:
> >        arm |                  qt5base-5.3.0 | NOK | http://autobuild.buildroot.net/results/3cd168b929bd65a6b9e5d3abbabb6c97ac1d0f08/
> 
> Qt5/RaspberryPi problem:
> 
> .obj/qeglfshooks_pi.o: In function `QEglFSPiHooks::platformDisplay() const':
> qeglfshooks_pi.cpp:(.text+0x38): undefined reference to `vc_dispmanx_display_open'
> .obj/qeglfshooks_pi.o: In function `QEglFSPiHooks::platformDestroy()':
> qeglfshooks_pi.cpp:(.text+0x5c): undefined reference to `vc_dispmanx_display_close'
> 
> Yann, Maxime, you are our RPi experts.

OK, I have the starting of an idea of why it fails.

rpi-userland installs libEGL.so and libGLESv2.so, and their associated
.pc files.

rpi-userland also installs a bunch of helper libraries, of which
libbcm_host.so and its associated .pc file.

However, one of the missing symbol vc_dispmanx_display_open is referenced
in both libEGL.so and libbcm_host.so.

That symbol is provided by libvchostif.so, but neither egl.pc nor
bcm_host.pc declare a dependence on libvchostif, although they both have
it as a DT_NEEDED tag.

So, the .pc files are wrong. But the linker should follow the DT_NEEDED
tags, no?

As a side note, if we fix this, we might be able to fix the other
packages that were dirty-patched to include the proper libs (libcec and
XBMC so far.)

Well, that's all for now. More on that tomorrow.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2014-06-10 22:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-10  6:30 [Buildroot] [autobuild.buildroot.net] Build results for 2014-06-09 Thomas Petazzoni
2014-06-10 18:42 ` François Perrad
2014-06-11  9:13   ` Peter Korsgaard
2014-06-10 20:47 ` Thomas Petazzoni
2014-06-10 22:55   ` Yann E. MORIN [this message]
2014-06-11  9:26   ` Bernd Kuhls

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=20140610225528.GF3561@free.fr \
    --to=yann.morin.1998@free.fr \
    --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