[Bug 234949] Strip is enormously slow when operating on Haskell binaries

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jan 14 17:14:22 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234949

            Bug ID: 234949
           Summary: Strip is enormously slow when operating on Haskell
                    binaries
           Product: Base System
           Version: 12.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: arrowd at FreeBSD.org

Somewhere since 12.0-CURRENT, strip started to take much longer when working on
Haskell static libraries. This makes `install` stage of GHC take about 10 mins
on my machine.

Steps to reproduce:

# fetch
http://distcache.FreeBSD.org/local-distfiles/arrowd/stack-bindists/ghc-8.6.2-x86_64-portbld-freebsd.tar.xz
# tar -xzf ghc-8.6.2-x86_64-portbld-freebsd.tar.xz
# /usr/bin/time -h /usr/bin/strip
ghc-8.6.2/libraries/Cabal/Cabal/dist-install/build/libHSCabal-2.4.0.1.a
        1m12,41s real           1m12,24s user           0,14s sys
# /usr/bin/time -h /usr/bin/strip
ghc-8.6.2/libraries/Cabal/Cabal/dist-install/build/libHSCabal-2.4.0.1_p.a
        4m2,88s real            4m2,43s user            0,36s sys

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list