Re: [PATCH v8 33/38] kselftest/arm64: Add a GCS test program built with the system libc
From: Mark Brown
Date: Thu Feb 22 2024 - 14:24:26 EST
On Mon, Feb 19, 2024 at 11:15:57PM -0300, Thiago Jung Bauermann wrote:
> The only issue as can be seen above is that the can_call_function test
> is failing. The child is getting a GCS Segmentation fault when returning
> from fork().
> I tried debugging it with GDB, but I don't see what's wrong since the
> address in LR matches the first entry in GCSPR. Here is the
> debug session:
I believe based on prior discussions that you're running this using
shrinkwrap - can you confirm exactly how please, including things like
which firmware configuration you're using? I'm using current git with
shrinkwrap run \
--rtvar KERNEL=arch/arm64/boot/Image \
--rtvar ROOTFS=${ROOTFS} \
--rtvar CMDLINE="${CMDLINE}" \
--overlay=arch/v9.4.yaml ns-edk2.yaml
and a locally built yocto and everything seems perfectly happy.
Attachment:
signature.asc
Description: PGP signature