[OE-core] [PATCH 12/14] meson: update to 0.46.0 -- broke systemd on qemuppc

Alexander Kanavin alex.kanavin at gmail.com
Tue Jun 19 20:09:25 UTC 2018


2018-06-19 22:01 GMT+02:00 Randy MacLeod <randy.macleod at windriver.com>:
> The compiler flag order difference is too large for a civilized
> email so it's here:
> diff -Naur: https://pastebin.com/pWSzDm5W
> sdiff -t  : https://pastebin.com/5BX8QvNs
>
>
> When linking libsystemd-shared-237.so the location of the:
>    -Wl,--end-group
> option changes:
>
> before:
>
> -lrt
> -L/.../qppc-sd/tmp/work/ppc7400-poky-linux/systemd/1_237-r0/recipe-sysroot/usr//lib
> -lcap
> -lacl
> -llzma
> -lblkid
> -Wl,--end-group <-----
> -lrt
>
> after:
>
> -lrt
> -Wl,--end-group <-----
> -L/.../qppc-sd/tmp/work/ppc7400-poky-linux/systemd/1_237-r0/recipe-sysroot/usr//lib
> -lcap
> -lacl
> -llzma
> -lblkid
> -lrt

FWIW, I did fix a similar (or maybe even same) issue with this patch:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-devtools/meson/meson/0001-Linker-rules-move-cross_args-in-front-of-output_args.patch

It's possible that more rearranging needs to be done, or this patch no
longer has the desired effect.

Alex



More information about the Openembedded-core mailing list