Re: [meta-freescale] weston-imx-14.0.1

Max Krummenacher <[email protected]> Mon, 5 May 2025 13:53:39 +0200
Newsgroups org.yoctoproject.lists.meta-freescale
Message-ID <aBimw0gA_gjyy1PI@toolbox>
On Mon, May 05, 2025 at 11:04:03AM +0530, Sathishkumar Duraisamy wrote:
Hi Sathishkumar D

> Dear Otavio, Dear All,
> 
> I am facing a problem in building the master branch for the systemd recipe.
> Below is the error. I am using verdin-imx8mp from toradex. How to disable
> GCS?

I noticed the same build time error. I'm pretty sure it has nothing to do
with meta-freescale but rather is hidden somewhere in openembedded-core/meta
and meta-security/meta-tpm.

I sent an mail on the oe mailinglist including a workaround, please have
a look here:

https://lore.kernel.org/openembedded-core/aBilFkr4HF-MSBd6@toolbox/T/#u

Regards
Max

> 
> ------8<---------------------8<-------------------8<---------------------8<-------------------8<---------------------8<-------------------8<---------------------8<-------------------8<---------------------8<-------------
> | aarch64-tdx-linux-gcc -march=armv8-a+crypto -mbranch-protection=standard
> -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security
> -Werror=format-security
> --sysroot=/home/sathishkumar/yoctospace/verdin-next/build/tmp
> /work/armv8a-tdx-linux/systemd/257.5/recipe-sysroot  -o
> src/shared/libsystemd-shared-257.so  -Wl,--as-needed -Wl,--no-undefined
> -shared -fPIC -Wl,-soname,libsystemd-shared-257.so -Wl,--whole-archive
> -Wl,--start-group src/shared/libsyste
> md-shared-257.a src/basic/libbasic.a src/libsystemd/libsystemd_static.a
> -Wl,--no-whole-archive -fstack-protector -Wl,-O1 -Wl,--hash-style=gnu
> -Wl,--as-needed
> -ffile-prefix-map=/home/sathishkumar/yoctospace/verdin-next/build/tmp/work/arm
> v8a-tdx-linux/systemd/257.5/git=/usr/src/debug/systemd/257.5
> -ffile-prefix-map=/home/sathishkumar/yoctospace/verdin-next/build/tmp/work/armv8a-tdx-linux/systemd/257.5/build=/usr/src/debug/systemd/257.5
> -ffile-prefix-map=/home/sathishkum
> ar/yoctospace/verdin-next/build/tmp/work/armv8a-tdx-linux/systemd/257.5/recipe-sysroot=
> -ffile-prefix-map=/home/sathishkumar/yoctospace/verdin-next/build/tmp/work/armv8a-tdx-linux/systemd/257.5/recipe-sysroot-native=
> -Wl,-z,relro,-z,now
> -shared
> -Wl,--version-script=/home/sathishkumar/yoctospace/verdin-next/build/tmp/work/armv8a-tdx-linux/systemd/257.5/git/src/shared/libshared.sym
> -pthread
> /home/sathishkumar/yoctospace/verdin-next/build/tmp/work/armv8a-tdx-linux/system
> d/257.5/recipe-sysroot/usr/lib/libacl.so
> /home/sathishkumar/yoctospace/verdin-next/build/tmp/work/armv8a-tdx-linux/systemd/257.5/recipe-sysroot/usr/lib/libblkid.so
> /home/sathishkumar/yoctospace/verdin-next/build/tmp/work/armv8a-tdx-linu
> x/systemd/257.5/recipe-sysroot/usr/lib/libcap.so
> /home/sathishkumar/yoctospace/verdin-next/build/tmp/work/armv8a-tdx-linux/systemd/257.5/recipe-sysroot/usr/lib/libcrypt.so
> -ldl /home/sathishkumar/yoctospace/verdin-next/build/tmp/work/ar
> mv8a-tdx-linux/systemd/257.5/recipe-sysroot/usr/lib/libmount.so
> /home/sathishkumar/yoctospace/verdin-next/build/tmp/work/armv8a-tdx-linux/systemd/257.5/recipe-sysroot/usr/lib/libssl.so
> /home/sathishkumar/yoctospace/verdin-next/build/tmp
> /work/armv8a-tdx-linux/systemd/257.5/recipe-sysroot/usr/lib/libcrypto.so
> /home/sathishkumar/yoctospace/verdin-next/build/tmp/work/armv8a-tdx-linux/systemd/257.5/recipe-sysroot/usr/lib/libpam.so
> -lrt /home/sathishkumar/yoctospace/verdin-
> next/build/tmp/work/armv8a-tdx-linux/systemd/257.5/recipe-sysroot/usr/lib/libseccomp.so
> -Wl,--fatal-warnings -Wl,-z,now -Wl,-z,relro -Wl,--warn-common
> -Wl,--gc-sections -Wl,--fatal-warnings -Wl,-z,now -Wl,-z,relro
> -Wl,--warn-common -Wl,
> --gc-sections -lm -Wl,--end-group -Wl,--fatal-warnings -Wl,-z,now
> -Wl,-z,relro -Wl,--warn-common -Wl,--gc-sections -Wl,--fatal-warnings
> -Wl,-z,now -Wl,-z,relro -Wl,--warn-common -Wl,--gc-sections
> |
> /home/sathishkumar/yoctospace/verdin-next/build/tmp/work/armv8a-tdx-linux/systemd/257.5/recipe-sysroot/usr/lib/libcrypto.so:
> warning: GCS is required by -z gcs, but this shared library lacks the
> necessary property note. The dynamic lo
> ader might not enable GCS or refuse to load the program unless all the
> shared library dependencies have the GCS marking.
> | collect2: error: ld returned 1 exit status
> 
> ------8<---------------------8<-------------------8<---------------------8<-------------------8<---------------------8<-------------------8<---------------------8<-------------------8<---------------------8<-------------
> Thank you,
> 
> Regards,
> Sathishkumar D
> 
> On Tue, Apr 29, 2025 at 6:07 PM Sathishkumar D via lists.yoctoproject.org
> <[email protected]> wrote:
> 
> > Hello Otavio,
> >
> >
> > On Tue, Apr 29, 2025 at 5:16 PM Otavio Salvador <
> > [email protected]> wrote:
> >
> >> Hello, I hope you are doing great today.
> >>
> > Thank you. I am doing well.
> >
> >>
> >> We didn't. Please take a look at GitHub issues to coordinate this effort.
> >> Your help on that is very welcome.
> >>
> >>
> > Sure, I’ll work on updating it. The task looks straight forward since the
> > recipe is available in meta-imx. I’ll port it from meta-imx, and after
> > testing it on my board, I’ll raise a pull request.
> >
> >
> >> Em ter., 29 de abr. de 2025 às 04:45, Sathishkumar D via
> >> lists.yoctoproject.org <sathishkumar.d.cbe=
> >> [email protected]> escreveu:
> >>
> >>> Hello,
> >>>
> >>> Anyone started to support for weston-imx-14.0.1 in our meta-freescale
> >>> repo?
> >>>
> >>> Regards,
> >>> Sathishkumar D
> >>>
> >>>
> >>>
> >>>
> >>
> >> --
> >> Otavio Salvador                             O.S. Systems
> >> http://www.ossystems.com.br        http://code.ossystems.com.br
> >> Mobile: +55 (53) 9 9981-7854
> >>
> >
> > Regards,
> > Sathishkumar D
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#24950):
> > https://lists.yoctoproject.org/g/meta-freescale/message/24950
> > Mute This Topic: https://lists.yoctoproject.org/mt/112516251/6416184
> > Group Owner: [email protected]
> > Unsubscribe: https://lists.yoctoproject.org/g/meta-freescale/unsub [
> > [email protected]]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
> >