Skip to content

xargs failure

I don't know how the file libraries/base/GNUMakefile is generated. Maybe this is a cabal bug.

My build of ghc-6.8.0.20071017 failed as follows:

...
t/build/Unsafe/Coerce_split -name '*.o' -print) | xargs -s 30000 /usr/ccs/bin/ar
 q  dist/build/libHSbase-3.0.a
xargs: 0 < max-cmd-line-size <= 2048: 30000
xargs: Usage: xargs: [-t] [-p] [-e[eofstr]] [-E eofstr] [-I replstr] [-i[replstr
]] [-L #] [-l[#]] [-n # [-x]] [-s size] [cmd [args ...]]
gmake[2]: *** [dist/build/libHSbase-3.0.a] Error 2

if I replace 30000 with 2048 compilation goes through, but I don't know if something is cut off.

(also see http://hackage.haskell.org/trac/hackage/ticket/98##1785)

Trac metadata
Trac field Value
Version 6.8
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC Christian.Maeder@dfki.de
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information