On 12/22/20 20:27, Rafaël Carré wrote:
Hello,

I forgot two things:

- I did not sign-off either Linux or OpenWRT patch. Will do that next time.

- I have many segfaults in userspace unless I build gcc with PIE:
Advanced configuration options (for developers) -->
Toolchain Options -->
Build executable with PIE enabled by default

The segfault seems to come from libgcc.

Here's what I did:
make menuconfig - select target
make
-> segfault

rm -fr build_dir staging_dir
make menuconfig - enable pie
make
-> works

rm -fr build_dir/target* staging_dir/target*
make menuconfig - disable pie
make
-> works

gdb did not help much finding the exact source of the segfault.

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to