[GHC] #8713: Avoid libraries if unneeded (librt, libdl, libpthread)
GHC
ghc-devs at haskell.org
Thu Aug 21 14:17:10 UTC 2014
#8713: Avoid libraries if unneeded (librt, libdl, libpthread)
-------------------------------------+-------------------------------------
Reporter: ip1981 | Owner:
Type: bug | Status: upstream
Priority: normal | Milestone:
Component: GHCi | Version: 7.6.3
Resolution: | Keywords:
Operating System: Other | Architecture: x86_64 (amd64)
Type of failure: GHCi crash | Difficulty: Moderate (less
Test Case: | than a day)
Blocking: | Blocked By:
Differential Revisions: | Related Tickets:
-------------------------------------+-------------------------------------
Comment (by kgardas):
Igor, could you be so kind and update your code to be applicable to GHC
HEAD? Absolutely best would be to use phabricator, but git/gnu patch will
also do. I can't test since patch application fails badly here:
{{{
$ gpatch -p1 < /tmp/dyson-libs.patch
patching file libraries/unix/configure.ac
Hunk #1 FAILED at 54.
Hunk #2 FAILED at 219.
2 out of 2 hunks FAILED -- saving rejects to file
libraries/unix/configure.ac.rej
patching file configure.ac
Hunk #1 succeeded at 857 (offset 54 lines).
Hunk #2 FAILED at 894.
1 out of 2 hunks FAILED -- saving rejects to file configure.ac.rej
patching file libraries/base/configure.ac
Hunk #1 succeeded at 42 (offset 6 lines).
patching file compiler/main/DriverPipeline.hs
Hunk #1 FAILED at 1736.
1 out of 1 hunk FAILED -- saving rejects to file
compiler/main/DriverPipeline.hs.rej
patching file compiler/main/StaticFlags.hs
Hunk #1 FAILED at 450.
1 out of 1 hunk FAILED -- saving rejects to file
compiler/main/StaticFlags.hs.rej
karel at silence:~/vcs/ghc-src/dyson-fix$ gpatch -p1 < /tmp/dyson-unix-
libs.patch
patching file libraries/unix/configure.ac
Hunk #1 FAILED at 54.
Hunk #2 FAILED at 219.
2 out of 2 hunks FAILED -- saving rejects to file
libraries/unix/configure.ac.rej
}}}
that's with today's HEAD. Thanks!
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8713#comment:12>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list