GDB does not build when using a musl profile Reproducible: Always Steps to Reproduce: 1. eselect profile set default/linux/amd64/17.0/musl/hardened 2. emerge gdb Actual Results: GDB doesn't compile Expected Results: GDB should compile
Created attachment 735172 [details] build.log
Created attachment 735175 [details] emerge --info
This problem was already fixed in upstream https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=90d3edf01630093142e833235abea548aa78e65b I just disabled -nls until gdb-11 will be out.
(In reply to Petr Vaněk from comment #3) > This problem was already fixed in upstream > https://sourceware.org/git/?p=binutils-gdb.git;a=commit; > h=90d3edf01630093142e833235abea548aa78e65b > > I just disabled -nls until gdb-11 will be out. Thanks for the tip, I'll use it to unblock myself for now. How about either carrying that patch in the musl overlay, or masking the nls USE flag there?
> How about either carrying that patch in the musl overlay, or masking the nls > USE flag there? I think it would be better to backport the patch to ::musl or ::gentoo directly, maybe they are some users who use localized gdb.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f76a3d9d5dd2af81db1db9ec2c027a57d76b79f0 commit f76a3d9d5dd2af81db1db9ec2c027a57d76b79f0 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-11-07 06:04:32 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-11-07 06:04:51 +0000 profiles/features/musl: mask gdb-10[nls] 11 should work though. Closes: https://bugs.gentoo.org/809686 Signed-off-by: Sam James <sam@gentoo.org> profiles/features/musl/package.use.mask | 6 ++++++ 1 file changed, 6 insertions(+)