Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 809686 - sys-devel/gdb-10.2: doesn't build against musl
Summary: sys-devel/gdb-10.2: doesn't build against musl
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-22 20:46 UTC by Stijn Tintel
Modified: 2021-08-23 20:22 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,441.20 KB, text/x-log)
2021-08-22 20:47 UTC, Stijn Tintel
Details
emerge --info (emerge--info.txt,6.76 KB, text/plain)
2021-08-22 20:48 UTC, Stijn Tintel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stijn Tintel 2021-08-22 20:46:54 UTC
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
Comment 1 Stijn Tintel 2021-08-22 20:47:34 UTC
Created attachment 735172 [details]
build.log
Comment 2 Stijn Tintel 2021-08-22 20:48:15 UTC
Created attachment 735175 [details]
emerge --info
Comment 3 Petr Vaněk 2021-08-22 21:17:36 UTC
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.
Comment 4 Stijn Tintel 2021-08-22 21:24:19 UTC
(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?
Comment 5 Petr Vaněk 2021-08-23 10:14:30 UTC
> 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.