[RFC/PATCH] Linksys WAP300N support

Rafaël Carré funman at videolan.org
Wed Dec 23 02:09:29 EST 2020


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.



More information about the openwrt-devel mailing list