Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 535974 - sys-devel/llvm - add support for compilation with sys-libs/musl
Summary: sys-devel/llvm - add support for compilation with sys-libs/musl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: musl-porting
  Show dependency tree
 
Reported: 2015-01-07 21:41 UTC by Felix Janda
Modified: 2015-01-31 21:54 UTC (History)
2 users (show)

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


Attachments
Patch against hardened-dev:musl to make llvm compile with musl libc (0001-sys-devel-llvm-Hack-around-linux-glibc-assumptions.patch,53.40 KB, patch)
2015-01-07 21:50 UTC, Felix Janda
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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