Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 370752 Details for
Bug 501764
sys-devel/llvm-9999 - clang-3.5-gentoo-install.patch fails
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
New patch
clang-3.5-gentoo-install.patch (text/plain), 2.70 KB, created by
darkbasic
on 2014-02-19 11:27:45 UTC
(
hide
)
Description:
New patch
Filename:
MIME Type:
Creator:
darkbasic
Created:
2014-02-19 11:27:45 UTC
Size:
2.70 KB
patch
obsolete
>From fa806920f0bc9cc867360c3d9407e05b3aba1e9f Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> >Date: Tue, 3 Dec 2013 14:51:14 +0100 >Subject: [PATCH] gentoo clang install > >--- > tools/clang/lib/Driver/Tools.cpp | 4 ++-- > tools/clang/tools/scan-build/scan-build | 4 ++-- > tools/clang/tools/scan-view/scan-view | 2 +- > 3 files changed, 5 insertions(+), 5 deletions(-) > >diff --git a/tools/clang/lib/Driver/Tools.cpp b/tools/clang/lib/Driver/Tools.cpp >index 187ed38..55bcd99 100644 >--- a/tools/clang/lib/Driver/Tools.cpp >+++ b/tools/clang/lib/Driver/Tools.cpp >@@ -222,7 +222,7 @@ static void addProfileRT(const ToolChain &TC, const ArgList &Args, > // libprofile_rt.so. We used to use the -l:libprofile_rt.a syntax, but that is > // not supported by old linkers. > std::string ProfileRT = >- std::string(TC.getDriver().Dir) + "/../lib/libprofile_rt.a"; >+ "-l:libprofile_rt.a"; > > CmdArgs.push_back(Args.MakeArgString(ProfileRT)); > } >@@ -1404,7 +1404,7 @@ static void AddGoldPlugin(const ToolChain &ToolChain, const ArgList &Args, > // as gold requires -plugin to come before any -plugin-opt that -Wl might > // forward. > CmdArgs.push_back("-plugin"); >- std::string Plugin = ToolChain.getDriver().Dir + "/../lib/LLVMgold.so"; >+ std::string Plugin = ToolChain.getDriver().Dir + "/../@libdir@/LLVMgold.so"; > CmdArgs.push_back(Args.MakeArgString(Plugin)); > > // Try to pass driver level flags relevant to LTO code generation down to >diff --git a/tools/clang/tools/scan-build/scan-build b/tools/clang/tools/scan-build/scan-build >index 0f119f6..58f78d9 100755 >--- a/tools/clang/tools/scan-build/scan-build >+++ b/tools/clang/tools/scan-build/scan-build >@@ -419,7 +419,7 @@ > > my $Dir = shift; > >- my $JS = Cwd::realpath("$RealBin/sorttable.js"); >+ my $JS = Cwd::realpath("@EPREFIX@/usr/share/llvm/sorttable.js"); > > DieDiag("Cannot find 'sorttable.js'.\n") > if (! -r $JS); >@@ -429,7 +429,7 @@ > DieDiag("Could not copy 'sorttable.js' to '$Dir'.\n") > if (! -r "$Dir/sorttable.js"); > >- my $CSS = Cwd::realpath("$RealBin/scanview.css"); >+ my $CSS = Cwd::realpath("@EPREFIX@/usr/share/llvm/scanview.css"); > > DieDiag("Cannot find 'scanview.css'.\n") > if (! -r $CSS); >diff --git a/tools/clang/tools/scan-view/scan-view b/tools/clang/tools/scan-view/scan-view >index fb27da6..1f8ddb8 100755 >--- a/tools/clang/tools/scan-view/scan-view >+++ b/tools/clang/tools/scan-view/scan-view >@@ -54,7 +54,7 @@ def start_browser(port, options): > webbrowser.open(url) > > def run(port, options, root): >- import ScanView >+ from clang import ScanView > try: > print 'Starting scan-view at: http://%s:%d'%(options.host, > port) >-- >1.8.4.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 501764
: 370752 |
370922