Please provide static archives inside libtqt4-dev
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qt4-x11 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Look like debbuild doesn’t works well when used for cross compiling (I don’t have enough ram for native building on the target device) :
{standard input}:33009: Error: operand mismatch -- `swpb x1,x9,[x10]'
{standard input}:33009: Info: did you mean this?
{standard input}:33009: Info: swpb w1, w9, [x10]
{standard input}:33488: Error: operand mismatch -- `swpb x9,x20,[x19]'
{standard input}:33488: Info: did you mean this?
{standard input}:33488: Info: swpb w9, w20, [x19]
{standard input}:33511: Error: operand mismatch -- `swpb x10,x20,[x19]'
{standard input}:33511: Info: did you mean this?
{standard input}:33511: Info: swpb w10, w20, [x19]
{standard input}:33542: Error: operand mismatch -- `swpb x3,x11,[x12]'
{standard input}:33542: Info: did you mean this?
{standard input}:33542: Info: swpb w3, w11, [x12]
{standard input}:33763: Error: operand mismatch -- `swpb x2,x20,[x19]'
{standard input}:33763: Info: did you mean this?
{standard input}:33763: Info: swpb w2, w20, [x19]
{standard input}:33784: Error: operand mismatch -- `swpb x3,x20,[x19]'
{standard input}:33784: Info: did you mean this?
{standard input}:33784: Info: swpb w3, w20, [x19]
{standard input}:33820: Error: operand mismatch -- `swpb x1,x8,[x4]'
{standard input}:33820: Info: did you mean this?
{standard input}:33820: Info: swpb w1, w8, [x4]
{standard input}:33961: Error: operand mismatch -- `swpb x8,x20,[x27]'
{standard input}:33961: Info: did you mean this?
{standard input}:33961: Info: swpb w8, w20, [x27]
{standard input}:33981: Error: operand mismatch -- `swpb x9,x20,[x27]'
{standard input}:33981: Info: did you mean this?
{standard input}:33981: Info: swpb w9, w20, [x27]
{standard input}:34009: Error: operand mismatch -- `swpb x1,x12,[x11]'
{standard input}:34009: Info: did you mean this?
{standard input}:34009: Info: swpb w1, w12, [x11]
{standard input}:34124: Error: operand mismatch -- `swpb x2,x27,[x19]'
{standard input}:34124: Info: did you mean this?
{standard input}:34124: Info: swpb w2, w27, [x19]
{standard input}:34144: Error: operand mismatch -- `swpb x3,x27,[x19]'
{standard input}:34144: Info: did you mean this?
{standard input}:34144: Info: swpb w3, w27, [x19]
{standard input}:34172: Error: operand mismatch -- `swpb x1,x6,[x5]'
{standard input}:34172: Info: did you mean this?
{standard input}:34172: Info: swpb w1, w6, [x5]
{standard input}:34235: Error: operand mismatch -- `swpb x1,x6,[x4]'
{standard input}:34235: Info: did you mean this?
{standard input}:34235: Info: swpb w1, w6, [x4]
{standard input}:34354: Error: operand mismatch -- `swpb x1,x13,[x14]'
{standard input}:34354: Info: did you mean this?
{standard input}:34354: Info: swpb w1, w13, [x14]
Makefile:8364: recipe for target '.obj/release-
make[3]: *** [.obj/release-
make[3]: Leaving directory '/root/
Makefile:201: recipe for target 'sub-corelib-
make[2]: *** [sub-corelib-
dh_auto_build: make -j8 -O returned exit code 2
debian/rules:173: recipe for target 'override_
make[1]: *** [override_
make[1]: Leaving directory '/root/
debian/rules:94: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
As result, I’m unable to distribute an ubuntu independent static executable (or rather distribution independent at all https:/
The problem above is rather an xyz one. As far I know, Qt4 as well as Qt5 are the only dev package in ubuntu where a version suitable for static linking whereas this is as simple as passing -static to configure if building inside the correct environment (which I added to debian/rules). This concerns all architectures, and not only those in third party ports.
If you refuse to fix it for Qt4, please fix it for Qt5 !
It was for building for arm64