building minimal buildroot with musl + gcc 6.x compiles completely fine. in the runtime though, all binaries linked against libgcc_s.so.1 fail with i.e. gbm: Last dlopen error: Error relocating /lib/libgcc_s.so.1: __cpu_indicator_init: symbol not found This error is also referenced incl. a patch here https://gcc.gnu.org/ml/gcc-patches/2015-05/msg00899.html
Can you give an example Buildroot package that exhibits the problem, so that it's easier for us to reproduce and investigate the issue? Thanks!
This problem has been fixed in upstream gcc as of commit 6e6c7fc1e15525a10f48d4f5ac2edd853e2f5cb7, which was part of 7.x. It was backported to the gcc 6.x branch as of commit 0fbe404007e6ef32d4d95c74a6c84b9166946ca3, available since gcc 6.3.0. And the problem didn't exist in gcc 6.x. Therefore, I'm happy to say that this problem seems to be fixed.