Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 554032

Summary: sys-devel/crossdev: add musl support to
Product: Gentoo Linux Reporter: A. Wilcox (awilfox) <awilfox.gentoo>
Component: [OLD] Core systemAssignee: Embedded Gentoo Team <embedded>
Severity: normal CC: musl
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 430702, 553988    
Attachments: Add musl libc support to

Description A. Wilcox (awilfox) 2015-07-05 18:05:28 UTC
The attached patch adds musl support to

I enjoy playing around with porting and running Gentoo on various bits of hardware I have around the house.  Some of these machines relics (old Pentium i586), some of them are very powerful (quad-core ARM, dual PPC G4, dual-core MIPS).  I have been toying with using the musl libc on the older machines.  However, I need a separate for musl as it has some pretty wild differences compared to glibc and putting them in the default 'linux' file doesn't make much sense.

As I pin down further what are red herrings and what are actually necessary, I may follow this up with another patch adding my linux-musl and i386-linux-musl files.

Reproducible: Always

Steps to Reproduce:
1. # crossdev powerpc-apple-linux-gnu 
2. # crossdev i586-pc-linux-musl
3. Try to emerge, say, sed on the musl one (or almost half of @system).  It needs ac_use_included_regex=yes in the autoconf site include.  But glibc does not need it.

Actual Results:  
Packages such as procps, sed, coreutils won't merge on musl due to needing specific definitions in the autoconf site include.

Expected Results:  
The ability to merge @system.
Comment 1 A. Wilcox (awilfox) 2015-07-05 18:05:47 UTC
Created attachment 406212 [details, diff]
Add musl libc support to