On 9/14/2022 1:23 PM, linted wrote:
[Patch 5/5]
I am getting segfaults while still in __uClibc_main when using buildroot's qemu_xtensa_lx60_defconfig and qemu-xtensa.  I'm not sure the exact cause, but I would guess that some functions aren't being relocated correctly or the TLS wasn't updated correctly. It could also possibly be a problem with the quick gcc patch I wrote to compile with -static-pie. If you have a gcc patch that you think will fix this as well, I would be glad to test it.
I've had -static-pie binaries segfault with qemu while they ran fine on actual hardware. I was using Debian 10 so maybe that's because it's an old version of qemu, and maybe newer versions can handle this better?

Lance
_______________________________________________
devel mailing list -- devel@uclibc-ng.org
To unsubscribe send an email to devel-le...@uclibc-ng.org

Reply via email to