#5013: sporadic failures during compilation under solaris
---------------------------+------------------------------------------------
Reporter: maeder | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 7.2.1
Component: Compiler | Version: 7.0.2
Resolution: | Keywords:
Testcase: | Blockedby:
Difficulty: | Os: Solaris
Blocking: | Architecture: sparc
Failure: None/Unknown |
---------------------------+------------------------------------------------
Changes (by maeder):
* status: closed => new
* resolution: wontfix =>
* architecture: x86 => sparc
Comment:
I'ld like to re-open this ticket, because the problem is not fixed. I
cannot reliably reproduce the problem under x86 solaris, but I have a
(hopefully) related problem under sparc solaris that crashes more often
with a bus error. About every second call of
{{{
cabal install terminfo --reinstall
}}}
fails with:
{{{
...
Resolving dependencies...
...
Configuring terminfo-0.3.1.3...
...
checking for curses.h... yes
checking for setupterm in -lncursesw... no
checking for setupterm in -lncurses... no
checking for setupterm in -lcurses... yes
configure: creating ./config.status
config.status: creating terminfo.buildinfo
configure: WARNING: unrecognized options: --with-compiler, --with-gcc
Preprocessing library terminfo-0.3.1.3...
Building terminfo-0.3.1.3...
[1 of 7] Compiling System.Console.Terminfo.Base (
System/Console/Terminfo/Base.hs, dist/build/System/Console/Terminfo/Base.o
)
...
[7 of 7] Compiling System.Console.Terminfo ( System/Console/Terminfo.hs,
dist/build/System/Console/Terminfo.o )
Bus Error
cabal: Error: some packages failed to install:
terminfo-0.3.1.3 failed during the building phase. The exception was:
ExitFailure 138
}}}
I'm using my ghc-7.0.4 from http://www.informatik.uni-
bremen.de/agbkb/forschung/formal_methods/CoFI/hets/solaris/ghc/ghc-7.0.4
-sparc-sun-solaris2.tar.bz2 and:
{{{
cabal-install version 0.10.2
using version 1.10.2.0 of the Cabal library
}}}
So compiling is possible if it is simple repeated often enough! A
successful call ends with:
{{{
[7 of 7] Compiling System.Console.Terminfo ( System/Console/Terminfo.hs,
dist/build/System/Console/Terminfo.o )
Registering terminfo-0.3.1.3...
Installing library in /home/maeder/.cabal/lib/terminfo-0.3.1.3/ghc-7.0.4
Registering terminfo-0.3.1.3...
}}}
The `truss -o` output produced for both cases can be found under
http://www.informatik.uni-
bremen.de/agbkb/forschung/formal_methods/CoFI/hets/solaris/ghc/
Any ideas how to track down these crashes?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5013#comment:3>
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