Skip to contentSkip to conversation

New: QtWebengine doesn't build if the host hasn't a 32 bits C++ compiler working

Buildroot bugzilla at busybox.net 1 participant 5 messages Nov 29, 2017 – Apr 1, 2018

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=10531

Bug ID: 10531
Summary: QtWebengine doesn't build if the host hasn't a 32 bits
C++ compiler working
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: pinaraf at pinaraf.info
CC: buildroot at uclibc.org
Target Milestone: ---

When trying to build QtWebEngine for a raspberry pi 3 (ARM 32bits), a bunch of host tools are built using C++. Instead of being built directly for my amd64 arch, they are built for x86.
My debian sid installation was incomplete, I had gcc-multilib only and was missing at least libstdc++-7-dev:i386 and g++-multilib.
A warning from buildroot would be nice since this error occurs after a quite long build time.

As discussed on IRC?:
<gportay> kos_tom: Do you prefer to add a BR2_HOSTARCH_NEEDS_IA32_CXX_COMPILER; or BR2_HOSTARCH_NEEDS_IA32_COMPILER checks for both c and c++ multilib support? <kos_tom> gportay: that is a good question :-)
<kos_tom> I would say keep it simple, and just test for C++ support in BR2_HOSTARCH_NEEDS_IA32_COMPILER
<gportay> kos_tom: because we do not really want for force installation of c++ multilib when not needed
<gportay> okay
<kos_tom> but don't hesitate to raise this point in a note in your commit log, so that others can comment

Thanks to you guys for the support on IRC :)

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 10531] QtWebengine doesn't build if the host hasn't a 32 bits C++ compiler working

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=10531

Yann E. MORIN <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |yann.morin.1998 at free.fr

--- Comment #2 from Yann E. MORIN <[email protected]> --- More globally: qt5webengine will build host tools that are the same bitness as the target, so it is not possible to build for a 64-bit target on a 32-bit host.

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#4 lore raw

[Buildroot] [Bug 10531] QtWebengine doesn't build if the host hasn't a 32 bits C++ compiler working

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=10531

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #4 from Thomas Petazzoni <[email protected]> --- Fixed by
https://git.buildroot.org/buildroot/commit/?id=27d22296927d7e4ec0965f2bdaa272b1e8ea15e7.

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.