← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1220291] Re: please include multi-arch aware toolchain mkspec files

 

https://launchpad.net/ubuntu/+source/qtbase-opensource-src/5.3.2+dfsg-
4ubuntu3 added mkspec and a armhf cross-compilation targetted qmake
build, which should resolve this problem at least to the extent SDK
needs for supporting qmake projects.

The binary package was later renamed to qt5-qmake-arm-linux-gnueabihf

** Changed in: qtbase-opensource-src (Ubuntu)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtbase-opensource-src in
Ubuntu.
https://bugs.launchpad.net/bugs/1220291

Title:
  please include multi-arch aware toolchain mkspec files

Status in “qtbase-opensource-src” package in Ubuntu:
  Fix Released

Bug description:
  At the moment the following spec configurations are used:
  - linux-g++
  - linux-g++-64
  - hurd-g++
  - glibc-g++

  On both Ubuntu & Debian, it is not entirely correct to use
  linux-g++-64/-32 as those platforms assume that toolchain is a
  multilib one and support -m32/-m64 flags to switch between compiling
  for 32-bit or the 64-bit variants. This is only the case in debian &
  ubuntu if gcc-multilib package is installed. Such dependency is not
  declared in the package. Thus I propose to simply use linux-g++
  toolchain by default on linux-any ubuntu & debian ports. This is a
  minor issue, as one can trivially select alternative specs.

  I would like to propose inclusion of a new spec, at the moment I call
  it "debian" but better names are welcome. It is based on linux-g++-32
  toolchain, but superseeds it by requesting DEB_BUILD|HOST_* variables
  from dpkg-architecture and using them to correctly select native or
  cross toolchain and appropriate install & lib locations.

  For debian mkspec, as it's currently implemented, tweaks in qt.conf
  are required. But it does enable one to trivially cross-compile qmake
  based packages.

  Patch will follow.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1220291/+subscriptions