#1785: xargs failure
-----------------------+----------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.8
Severity: normal | Keywords:
Difficulty: Unknown | Os: Solaris
Testcase: | Architecture: x86
-----------------------+----------------------------------------------------
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#comment:2)
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1785>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs