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

Bug 535974

Summary: sys-devel/llvm - add support for compilation with sys-libs/musl
Product: Gentoo Linux Reporter: Felix Janda <felix.janda>
Component: [OLD] DevelopmentAssignee: Bernard Cafarelli <voyageur>
Status: RESOLVED FIXED    
Severity: normal CC: blueness, mgorny
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 430702    
Attachments: Patch against hardened-dev:musl to make llvm compile with musl libc

Description Felix Janda 2015-01-07 21:41:05 UTC
Attached is a patch against hardened-dev::musl making llvm-3.5.0 compile with musl-1.1.5.

It modifies the ebuild to apply three patches to llvm: musl-support.patch makes musl's dynamic linker names known to llvm. musl-compiler-rt.patch disables all sanitizers to avoid hitting a lot of glibc specific code. musl-fixes.patch are various other fixes for compilation. The latter two patches are not at all suitable for upstreaming.


Reproducible: Always
Comment 1 Felix Janda 2015-01-07 21:50:10 UTC
Created attachment 393446 [details, diff]
Patch against hardened-dev:musl to make llvm compile with musl libc
Comment 2 Anthony Basile gentoo-dev 2015-01-31 21:54:58 UTC
pushed to the overlay