Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 473740 Details for
Bug 619138
=sys-devel/llvm-4.0.0-r2: llvm-ar does not support 'ar -r' (and friends)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
cabal-1.24.2.0-llvm-ar.patch
cabal-1.24.2.0-llvm-ar.patch (text/plain), 1.02 KB, created by
Sergei Trofimovich (RETIRED)
on 2017-05-22 08:24:25 UTC
(
hide
)
Description:
cabal-1.24.2.0-llvm-ar.patch
Filename:
MIME Type:
Creator:
Sergei Trofimovich (RETIRED)
Created:
2017-05-22 08:24:25 UTC
Size:
1.02 KB
patch
obsolete
>'$ cabal build --with-ar=llvm-ar -v' calls llvm-ar in >an unsupported for llvm way: > > /usr/bin/llvm-ar -r dist/build/<foo>.a dist/build/<bar>.o > llvm-ar: Unknown command line argument '-r'. Try: '/usr/bin/llvm-ar -help' > llvm-ar: Did you mean '-M'? > >The correct call would be 'llvm-ar r'. > >Reported-by: Alessandro Barbieri >Bug: https://bugs.gentoo.org/619138 >Bug: https://github.com/haskell/cabal/issues/4530 >diff --git a/Distribution/Simple/Program/Ar.hs b/Distribution/Simple/Program/Ar.hs >index 2b58de3..6fac2d8 100644 >--- a/Distribution/Simple/Program/Ar.hs >+++ b/Distribution/Simple/Program/Ar.hs >@@ -66,9 +66,9 @@ createArLibArchive verbosity lbi targetPath files = do > let simpleArgs = case hostOS of >- OSX -> ["-r", "-s"] >- _ -> ["-r"] >+ OSX -> ["rs"] >+ _ -> ["r"] > >- initialArgs = ["-q"] >+ initialArgs = ["q"] > finalArgs = case hostOS of >- OSX -> ["-q", "-s"] >- _ -> ["-q"] >+ OSX -> ["qs"] >+ _ -> ["q"] >
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 619138
:
473566
|
473732
| 473740