Summary: | sys-devel/llvm-3.5.0-r99 Failed Patch: llvm-3.5-musl-support.patch on hardened/musl | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Cato Auestad <cato> |
Component: | Hardened | Assignee: | Anthony Basile <blueness> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 430702 | ||
Attachments: |
Patch to make llvm ebuild use correct patch with clang
llvm build log Updated llvm-3.5-musl-compiler-rt.patch Updated llvm-3.5-musl-support.patch New llvm-3.5-musl-clang-support.patch llvm-3.5-musl-path-fix.patch |
Description
Cato Auestad
2015-03-03 19:48:39 UTC
Created attachment 397968 [details]
llvm build log
Created attachment 397970 [details, diff]
Updated llvm-3.5-musl-compiler-rt.patch
This is the updated llvm-3.5-musl-compiler-rt.patch which don't have the wrong prefix
Created attachment 397972 [details, diff]
Updated llvm-3.5-musl-support.patch
This is the updated llvm-3.5-musl-support.patch with the correct paths and don't have the clang specific things
Created attachment 397974 [details, diff]
New llvm-3.5-musl-clang-support.patch
This is what I extracted from llvm-3.5-musl-support.patch which requires the clang use flag.
The botched patch is from me. Obviously I didn't try building without the clang use flag. Thanks for the fixes. Please attach a patch against the musl branch of the hardened-overlay that blueness can directly apply. (In reply to Felix Janda from comment #5) > The botched patch is from me. Obviously I didn't try building without > the clang use flag. Thanks for the fixes. > > Please attach a patch against the musl branch of the hardened-overlay > that blueness can directly apply. Didn't know if it was a good idea to create a patch for a patch, but seems like its okay. I'll make a single patch for the ebuild and the patches for musl-support and musl-compiler-rt tomorrow. Then it should only be necessary to apply the patch and copy llvm-3.5-musl-clang-support.patch to make llvm install correctly. Created attachment 398182 [details, diff]
llvm-3.5-musl-path-fix.patch
Attached is a single patch which fixes all the issues reported in this bug. Run from layman/hardened-development/sys-devel/llvm with "patch -p1 < llvm-3.5-musl-path-fix.patch"
(In reply to Cato Auestad from comment #7) > Created attachment 398182 [details, diff] [details, diff] > llvm-3.5-musl-path-fix.patch > > Attached is a single patch which fixes all the issues reported in this bug. > Run from layman/hardened-development/sys-devel/llvm with "patch -p1 < > llvm-3.5-musl-path-fix.patch" Okay this is in the tree. I'm not sure these patches could go upstream to llvm, but I'm not going to track that here, so I'm closing this RESOLVED FIX. If there's any problem with this, please reopen the bug. |