Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 393850 Details for
Bug 536426
dev-lang/ghc-7.8.3: Patch to fix compilation with ld.gold
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ghc-7.8.3-ld.gold.patch
ghc-7.8.3-ld.gold.patch (text/plain), 987 bytes, created by
Michael Orlitzky
on 2015-01-13 13:32:13 UTC
(
hide
)
Description:
ghc-7.8.3-ld.gold.patch
Filename:
MIME Type:
Creator:
Michael Orlitzky
Created:
2015-01-13 13:32:13 UTC
Size:
987 bytes
patch
obsolete
>From 31125c3069e1c041db3dc86a3756024839515ecf Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com> >Date: Sun, 20 Jul 2014 18:16:45 +0200 >Subject: [PATCH 1/2] Use absolute paths in GNU ld linker scripts > >The new gold linker does not support relative paths to the current directory, >while the old bfd linker supports both. Just convert all paths to absolute >paths for now. > >Trac #7452 > >--- a/compiler/main/DriverPipeline.hs >+++ b/compiler/main/DriverPipeline.hs >@@ -2166,7 +2166,9 @@ joinObjectFiles dflags o_files output_fn = do > if ldIsGnuLd > then do > script <- newTempName dflags "ldscript" >- writeFile script $ "INPUT(" ++ unwords o_files ++ ")" >+ cwd <- getCurrentDirectory >+ let o_files_abs = map (cwd </>) o_files >+ writeFile script $ "INPUT(" ++ unwords o_files_abs ++ ")" > ld_r [SysTools.FileOption "" script] ccInfo > else if sLdSupportsFilelist mySettings > then do
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 536426
: 393850