Hi Lance,

> I'm having segfaulting issues with c++ on aarch64 using uclibc-ng.
> Anyone else using aarch64 with uclibc-ng?
> I submitted a bug to gcc so am linking that here for this description.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106581

I have been struggling to understand why I kept getting segfaults with a simple helloworld test until I found your bugzilla link. I recently created a stackoverflow post after a couple months or so of web searching and frustration.


https://stackoverflow.com/questions/73393107/segfault-when-writing-to-cerr-iostream-uclibc-ng-unhandled-exception

Linking against -static-libstdc++ worked as a work-around.

 

Buildroot 2022.05-rc2

GCC 11.3.0

uClibc 1.0.41