[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#801096: qtmake's linux-g++-m64 spec sets -m64 on aarch64-linux-gnu



Control: tags -1 - moreinfo

On 09.10.2015 03:05, Lisandro Damián Nicanor Pérez Meyer wrote:
tag 801096 moreinfo
thanks

Hi Matthias!

On Tuesday 06 October 2015 11:56:31 Matthias Klose wrote:
Package: qmake-qt5
Version: 5.4.2+dfsg-2
Severity: important

this is seen when building openjfx on arm64:
https://launchpadlibrarian.net/220388096/buildlog_ubuntu-wily-arm64.openjfx_
8u60-b27-0ubuntu1_BUILDING.txt.gz

Well, the first thing to note here is that you are filing a bug against the
Debian package using an Ubuntu build. Maybe you fired reportbug on the wrong
machine?

at this time there was no Debian build. So please don't speculate. You can now reproduce this by disabling the 12-generic-qmake-spec.patch.

build.gradle chooses to set the linux-g++-m64 spec,

That's wrong, it should be using linux-g++ on aarch64. Moreover I don't
understand why it's chossing a specific mkspec, that's selected at Qt5 build
time and should be respected.

why shipping a spec which is wrong in the first place?

and then fails on the
unknown -m64 option.  Trying to use the linux-g++ option fails, because the
qplatformdefs.h of this spec is basically empty.  This file is identical for
the -m32 and -m64 specs, so why not include it there?

It's identical, and sourced from mkspecs/linux-g++-64/qmake.conf [diff]. Look
at the final lines, full diff included for verbosity.

fine, but why then ship a file which can't be used by design?

Marking this bug as moreinfo until we sort out the Ubuntu stuff :)

done.


Reply to: