maemo/libhildon: remove inline from function to enable compiling hildon-desktop on armv7
Do note that this is not finished yet. Compiling for most packages works fine, but it breaks on maemo/hildon-desktop
(only on armv7) with the following error:
/usr/lib/gcc/armv7-alpine-linux-musleabihf/8.2.0/../../../../armv7-alpine-linux-musleabihf/bin/ld: /usr/lib/gcc/armv7-alpine-linux-musleabihf/8.2.0/../../../libhildon-1.so: undefined reference to `inline_clip_to_alloc'
/usr/lib/gcc/armv7-alpine-linux-musleabihf/8.2.0/../../../../armv7-alpine-linux-musleabihf/bin/ld: /usr/lib/gcc/armv7-alpine-linux-musleabihf/8.2.0/../../../libhildon-1.so: undefined reference to `inline_draw_hue_bar_dimmed'
/usr/lib/gcc/armv7-alpine-linux-musleabihf/8.2.0/../../../../armv7-alpine-linux-musleabihf/bin/ld: /usr/lib/gcc/armv7-alpine-linux-musleabihf/8.2.0/../../../libhildon-1.so: undefined reference to `inline_draw_sv_plane'
/usr/lib/gcc/armv7-alpine-linux-musleabihf/8.2.0/../../../../armv7-alpine-linux-musleabihf/bin/ld: /usr/lib/gcc/armv7-alpine-linux-musleabihf/8.2.0/../../../libhildon-1.so: undefined reference to `inline_h2rgb'
/usr/lib/gcc/armv7-alpine-linux-musleabihf/8.2.0/../../../../armv7-alpine-linux-musleabihf/bin/ld: /usr/lib/gcc/armv7-alpine-linux-musleabihf/8.2.0/../../../libhildon-1.so: undefined reference to `inline_draw_hue_bar'
/usr/lib/gcc/armv7-alpine-linux-musleabihf/8.2.0/../../../../armv7-alpine-linux-musleabihf/bin/ld: /usr/lib/gcc/armv7-alpine-linux-musleabihf/8.2.0/../../../libhildon-1.so: undefined reference to `inline_draw_sv_plane_dimmed'
/usr/lib/gcc/armv7-alpine-linux-musleabihf/8.2.0/../../../../armv7-alpine-linux-musleabihf/bin/ld: /usr/lib/gcc/armv7-alpine-linux-musleabihf/8.2.0/../../../libhildon-1.so: undefined reference to `inline_limited_expose'
collect2: error: ld returned 1 exit status
I've already mentioned this in #maemo-leste, but maybe someone else knows what's wrong.
I decided to go for $arch = "all !x86"
instead of $arch = "x86_64 armhf aarch64"
, as I understood the packages are only broken on x86. Rather than adding all architectures that do work, this makes sure it can be compiled on all architectures except for x86. Also, I believe the $pkgrel
doesn't have to be increased as the only thing changed in this packaging is making armv7 compiling possible, which is useless for the other architectures.
Merge request reports
Activity
added 1 commit
- 7d90ca51 - hildon/* & weston: enable compiling for armv7
By Bart Ribbers on 2019-01-04T14:11:56
added 1 commit
- f4e0d9da - hildon/* & weston: enable compiling for armv7
By Bart Ribbers on 2019-01-04T14:13:08
mentioned in issue #160 (closed)
By Oliver Smith on 2019-01-04T20:33:20
mentioned in merge request !131 (merged)
By Grant Miller on 2019-01-04T20:59:44
mentioned in merge request !126 (merged)
By Bart Ribbers on 2019-01-04T23:38:11
added 3 commits
-
f4e0d9da...6225dfa5 - 2 commits from branch
master
- c2fed5c2 - hildon/* & weston: enable compiling for armv7
By Bart Ribbers on 2019-01-05T00:14:50
-
f4e0d9da...6225dfa5 - 2 commits from branch
added 13 commits
-
c2fed5c2...b21caaee - 12 commits from branch
master
- 39e3ce6b - hildon/* & weston: enable compiling for armv7
By Bart Ribbers on 2019-01-09T11:00:47
-
c2fed5c2...b21caaee - 12 commits from branch
added 1 commit
- 177e489b - maemo/libhildon: remove inline from some functions to make hildon-desktop compile on armv7
By Bart Ribbers on 2019-01-09T19:04:33
The problem was actually in libhildon. I made the functions non-inline, and now everything compiles correctly on armv7. Do note that
lightdm
for armv7 hasn't been uploaded to the Alpine repos yet for some reason, so right nowpostmarketos-ui-hildon
both can't be build or installed. It should be good for merging now though.By Bart Ribbers on 2019-01-09T19:08:55
Edited by Administratormentioned in commit c7643bc2
By Bart Ribbers on 2019-01-10T21:50:52
added 9 commits
-
177e489b...ab9d05ee - 8 commits from branch
master
- c7643bc2 - maemo/libhildon: fix hildon-desktop armv7 build (!130 (merged))
By Oliver Smith on 2019-01-10T21:50:52
-
177e489b...ab9d05ee - 8 commits from branch
mentioned in commit 2c08e209
By Bart Ribbers on 2019-01-10T21:57:34
mentioned in commit aaae2716
By Bart Ribbers on 2019-01-10T21:57:34
added 2 commits
- aaae2716 - hildon-theme-alpha: fix warnings in APKBUILD (!130 (merged))
- 2c08e209 - maemo/libhildon: fix hildon-desktop armv7 build (!130 (merged))
By Oliver Smith on 2019-01-10T21:57:34
I've split the hildon-theme-alpha and arch-bin-masquerade changes into own commits, so it matches the commit messages. (In general, I'm trying to do one logical change in one commit, where it makes sense.)
Changes look good. Thanks @PureTryOut!
By Oliver Smith on 2019-01-10T21:59:38
Edited by Administratorenabled an automatic merge when the pipeline for 2c08e209 succeeds
By Oliver Smith on 2019-01-10T21:59:57
mentioned in commit d560188e
By Bart Ribbers on 2019-02-14T19:42:54
mentioned in commit e40d8d79
By Bart Ribbers on 2019-02-14T19:42:54