Re: [GHC] #7339: GHC fails to build from source on Alpha
#7339: GHC fails to build from source on Alpha -+-- Reporter: creemj| Owner: Type: bug | Status: new Priority: normal| Milestone: Component: Compiler | Version: 7.6.1 Keywords:| Os: Linux Architecture: alpha | Failure: Building GHC failed Difficulty: Unknown |Testcase: Blockedby:|Blocking: Related:| -+-- Changes (by igloo): * difficulty: = Unknown Old description: The ghc compiler (version 7.6.1-2 as packaged by Debian in the experimental distribution) fails to build from source on the Alpha architecture. The build failure is: echo 'bindir=/«PKGBUILDDIR»/inplace/bin' inplace/bin/ghc- stage2 echo 'topdir=/«PKGBUILDDIR»/inplace/lib' inplace/bin/ghc- stage2 echo 'pgmgcc=/usr/bin/gcc' inplace/bin/ghc-stage2 cat ghc/ghc.wrapperinplace/bin/ghc-stage2 chmod +x inplace/bin/ghc-stage2 HC [stage 2] utils/haddock/dist/build/Haddock/GhcUtils.o utils/haddock/src/Haddock/GhcUtils.hs:1:35: lexical error at character '\n' make[2]: *** [utils/haddock/dist/build/Haddock/GhcUtils.o] Error 1 The full build log is at: http://buildd.debian- ports.org/status/fetch.php?pkg=ghcarch=alphaver=7.6.1-2stamp=1349784016 The GHC compiler was bootstrapped with the 7.4.1 compiler. New description: The ghc compiler (version 7.6.1-2 as packaged by Debian in the experimental distribution) fails to build from source on the Alpha architecture. The build failure is: {{{ echo 'bindir=/«PKGBUILDDIR»/inplace/bin' inplace/bin/ghc- stage2 echo 'topdir=/«PKGBUILDDIR»/inplace/lib' inplace/bin/ghc-stage2 echo 'pgmgcc=/usr/bin/gcc' inplace/bin/ghc-stage2 cat ghc/ghc.wrapperinplace/bin/ghc-stage2 chmod +x inplace/bin/ghc-stage2 HC [stage 2] utils/haddock/dist/build/Haddock/GhcUtils.o utils/haddock/src/Haddock/GhcUtils.hs:1:35: lexical error at character '\n' make[2]: *** [utils/haddock/dist/build/Haddock/GhcUtils.o] Error 1 }}} The full build log is at: http://buildd.debian- ports.org/status/fetch.php?pkg=ghcarch=alphaver=7.6.1-2stamp=1349784016 The GHC compiler was bootstrapped with the 7.4.1 compiler. -- -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7339#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #7339: GHC fails to build from source on Alpha
#7339: GHC fails to build from source on Alpha -+-- Reporter: creemj| Owner: Type: bug | Status: new Priority: normal| Milestone: 7.8.1 Component: Compiler | Version: 7.6.1 Keywords:| Os: Linux Architecture: alpha | Failure: Building GHC failed Difficulty: Unknown |Testcase: Blockedby:|Blocking: Related:| -+-- Changes (by igloo): * milestone: = 7.8.1 Comment: Trying a 7.4.1 build definitely sounds like a good idea. Can you also paste the output of {{{ inplace/bin/ghc-stage2 +RTS --info inplace/bin/ghc-stage2 --info inplace/bin/ghc-stage1 +RTS --info inplace/bin/ghc-stage1 --info }}} in a failed build tree please? -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7339#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #7216: Compositional blocking on file descriptors
#7216: Compositional blocking on file descriptors -+-- Reporter: AndreasVoellmy| Owner: Type: feature request | Status: patch Priority: normal| Milestone: 7.8.1 Component: libraries/base| Version: 7.4.2 Keywords:| Os: Unknown/Multiple Architecture: Unknown/Multiple | Failure: None/Unknown Difficulty: Unknown |Testcase: Blockedby:|Blocking: Related:| -+-- Comment(by AndreasVoellmy): The last patch addresses the previous comment by igloo. I made the threadWaitSTM return an IO action that unregisters interest in the file descriptor. By returning an `IO ()` value we avoid having to export the `FdKey` type and `unregsterFd` functions. I also added some haddock comments to `threadWaitReadSTM` and `threadWaitWriteSTM`. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7216#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
[GHC] #7340: Building fails with dph-base_dist-install_GHCI_LIB not defined
#7340: Building fails with dph-base_dist-install_GHCI_LIB not defined -+-- Reporter: goldfire | Owner: Type: bug | Status: new Priority: normal | Component: Build System Version: 7.7 | Keywords: Os: MacOS X | Architecture: x86_64 (amd64) Failure: Building GHC failed | Testcase: Blockedby: | Blocking: Related: | -+-- The following sequence of commands failed: {{{ git clone http://darcs.haskell.org/ghc.git ghc cd ghc ./sync-all --testsuite get made build.mk for quick building perl boot ./configure make }}} with the following {{{ ===--- building phase 0 make -r --no-print-directory -f ghc.mk phase=0 phase_0_builds libraries/hpc/ghc.mk:3: libraries/hpc/dist-boot/package-data.mk: No such file or directory libraries/Cabal/Cabal/ghc.mk:3: libraries/Cabal/Cabal/dist-boot/package- data.mk: No such file or directory libraries/binary/ghc.mk:3: libraries/binary/dist-boot/package-data.mk: No such file or directory libraries/bin-package-db/ghc.mk:3: libraries/bin-package-db/dist-boot /package-data.mk: No such file or directory libraries/hoopl/ghc.mk:3: libraries/hoopl/dist-boot/package-data.mk: No such file or directory compiler/ghc.mk:437: compiler/stage1/package-data.mk: No such file or directory utils/hsc2hs/ghc.mk:15: utils/hsc2hs/dist/package-data.mk: No such file or directory ghc/ghc.mk:109: ghc/stage1/package-data.mk: No such file or directory libraries/dph/ghc.mk:123: *** dph_th_deps(v): libraries/dph/dph-base_dist- install_GHCI_LIB not defined!. Stop. make: *** [all] Error 2 }}} I am running Mac OS 10.7.5, and I have perl 5.12.4. Is this my problem, or is this a bug? -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7340 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
[GHC] #7341: Kind inference does not propagate annotations on associated types
#7341: Kind inference does not propagate annotations on associated types --+- Reporter: goldfire | Owner: Type: bug | Status: new Priority: normal| Component: Compiler Version: 7.7 | Keywords: PolyKinds Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: None/Unknown | Testcase: Blockedby:| Blocking: Related:| --+- Consider the following: {{{ {-# LANGUAGE KindSignatures, TypeFamilies, PolyKinds #-} data Proxy a = Proxy class C a where type F (a :: *) :: * op :: Proxy a - Int instance C [] where op _ = 5 }}} When compiled, this code generates a warning saying that {{{F []}}} is undefined. That's a good warning, but the problem is that the code is erroneous and should not compile. The problem is that the kind annotation on {{{a}}} in the declaration of the family {{{F}}} says that {{{a}}} should have kind {{{*}}}. However, I am permitted to write an instance for {{{[]}}}, which does not have kind {{{*}}}. After playing around with this, I was unable to find a way to cause a type safety error, but the behavior should probably be fixed. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7341 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #7338: Duplicate type signature not reported
#7338: Duplicate type signature not reported -+-- Reporter: evincarofautumn | Owner: michalt Type: bug | Status: new Priority: normal | Component: Compiler Version: 7.4.1| Keywords: Os: MacOS X | Architecture: x86 Failure: GHC accepts invalid program | Testcase: Blockedby: | Blocking: Related: http://hackage.haskell.org/trac/ghc/ticket/5589 | -+-- Changes (by michalt): * owner: = michalt -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7338#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #6108: Haddock's prune option is not regarded for DEPRECATED things
#6108: Haddock's prune option is not regarded for DEPRECATED things ---+ Reporter: SimonHengel | Owner: waern Type: bug | Status: closed Priority: highest | Milestone: 7.6.2 Component: Documentation |Version: 7.4.2-rc1 Resolution: fixed | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: None/Unknown | Difficulty: Unknown Testcase:| Blockedby: Blocking:|Related: ---+ Changes (by SimonHengel): * status: new = closed * resolution: = fixed Comment: This has already been fixed in Haddock. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/6108#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #7043: 32-bit GHC ceiling of negative float SEGFAULT: 11
#7043: 32-bit GHC ceiling of negative float SEGFAULT: 11 --+- Reporter: DrGodCarl | Owner: igloo Type: bug| Status: new Priority: high | Milestone: 7.6.2 Component: Compiler | Version: 7.4.1 Keywords: Segfault, ceiling, segmentation fault | Os: MacOS X Architecture: Other | Failure: GHCi crash Difficulty: Unknown|Testcase: ceiling (-0.8) Blockedby: |Blocking: Related: | --+- Comment(by lelf): it is in integer-gmp internals of encodeDouble#. I will look at it -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7043#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
[GHC] #7342: Bug in System.Posix.Env.putEnv
#7342: Bug in System.Posix.Env.putEnv -+-- Reporter: SimonHengel | Owner: Type: bug | Status: new Priority: normal | Component: libraries/unix Version: 7.4.2| Keywords: Os: Linux| Architecture: x86_64 (amd64) Failure: Incorrect result at runtime | Testcase: Blockedby: | Blocking: Related: | -+-- {{{putEnv}}} frees the marshaled string after calling {{{c_putenv}}}. This leads to unpredictable behavior, as the string becomes part of the environment and should not be freed. See [http://pubs.opengroup.org/onlinepubs/007908799/xsh/putenv.html SUSv2]: ... the string pointed to by string shall become part of the environment ... The issue is reproducible with the following QC property: {{{ import Test.QuickCheck import Test.QuickCheck.Property import System.Posix.Env import Data.IORef import qualified Data.Map as Map import Control.Applicative isValidKey :: String - Bool isValidKey k = '\NUL' `notElem` k '=' `notElem` k (not . null) k isValidValue :: String - Bool isValidValue v = '\NUL' `notElem` v (not . null) v main :: IO () main = do env' - getEnvironment = newIORef . Map.fromList quickCheck $ \k v - isValidKey k == isValidValue v == morallyDubiousIOProperty $ do putEnv (k ++ = ++ v) modifyIORef env' (Map.insert k v) (==) $ readIORef env' * (Map.fromList $ getEnvironment) }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7342 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #7342: Bug in System.Posix.Env.putEnv
#7342: Bug in System.Posix.Env.putEnv -+-- Reporter: SimonHengel | Owner: Type: bug | Status: new Priority: normal | Component: libraries/unix Version: 7.4.2| Keywords: Os: Linux| Architecture: x86_64 (amd64) Failure: Incorrect result at runtime | Testcase: Blockedby: | Blocking: Related: | -+-- Comment(by SimonHengel): Changing {{{putEnv}}} to {{{ putEnv keyvalue = newCString keyvalue = throwErrnoIfMinus1_ putenv . c_putenv }}} fixes the issue. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7342#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
[GHC] #7343: Potential build issues on some UNIX versions
#7343: Potential build issues on some UNIX versions --+- Reporter: SimonHengel | Owner: Type: bug | Status: new Priority: normal| Component: libraries/unix Version: 7.6.1 | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: None/Unknown | Testcase: Blockedby:| Blocking: Related:| --+- In {{{HsUnix.c}}} {{{unsetenv}}} is used even if {{{HAVE_UNSETENV}}} is not defined. It's probably not a big deal as it has been like that for four years. But AFAIK, this would at least fail to build with relatively recent versions of HPUX. If we conclude that this check is not necessary, then I would remove them from {{{System.Posix.Env}}}, too. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7343 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #7342: Bug in System.Posix.Env.putEnv
#7342: Bug in System.Posix.Env.putEnv -+-- Reporter: SimonHengel | Owner: Type: bug | Status: new Priority: normal | Component: libraries/unix Version: 7.4.2| Keywords: Os: Linux| Architecture: x86_64 (amd64) Failure: Incorrect result at runtime | Testcase: Blockedby: | Blocking: Related: | -+-- Comment(by SimonHengel): While looking at the code, I discovered an other minor issue. I opened a separate ticket for that (#7343). -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7342#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #7339: GHC fails to build from source on Alpha
#7339: GHC fails to build from source on Alpha -+-- Reporter: creemj| Owner: Type: bug | Status: new Priority: normal| Milestone: 7.8.1 Component: Compiler | Version: 7.6.1 Keywords:| Os: Linux Architecture: alpha | Failure: Building GHC failed Difficulty: Unknown |Testcase: Blockedby:|Blocking: Related:| -+-- Comment(by creemj): 7.4.1 builds successfully. The requested output from a 7.6.1 build: {{{ (experimental)mjc@electro:~/debian/ghc/ghc-7.6.1$ inplace/bin/ghc-stage2 +RTS --info [(GHC RTS, YES) ,(GHC version, 7.6.1) ,(RTS way, rts_thr) ,(Build platform, alpha-unknown-linux) ,(Build architecture, alpha) ,(Build OS, linux) ,(Build vendor, unknown) ,(Host platform, alpha-unknown-linux) ,(Host architecture, alpha) ,(Host OS, linux) ,(Host vendor, unknown) ,(Target platform, alpha-unknown-linux) ,(Target architecture, alpha) ,(Target OS, linux) ,(Target vendor, unknown) ,(Word size, 64) ,(Compiler unregisterised, YES) ,(Tables next to code, YES) ] (experimental)mjc@electro:~/debian/ghc/ghc-7.6.1$ inplace/bin/ghc-stage2 --info [(Project name,The Glorious Glasgow Haskell Compilation System) ,(GCC extra via C opts, -fwrapv) ,(C compiler command,/usr/bin/gcc) ,(C compiler flags, -w -mieee -D_REENTRANT -fno-stack-protector -w -mieee -D_REENTRANT -Wl,--hash-size=31 -Wl,--reduce-memory-overheads) ,(ar command,/usr/bin/ar) ,(ar flags,q) ,(ar supports at file,YES) ,(touch command,touch) ,(dllwrap command,/bin/false) ,(windres command,/bin/false) ,(perl command,/usr/bin/perl) ,(target os,OSLinux) ,(target arch,ArchUnknown) ,(target word size,8) ,(target has GNU nonexec stack,True) ,(target has .ident directive,True) ,(target has subsections via symbols,False) ,(LLVM llc command,llc-3.0) ,(LLVM opt command,opt-3.0) ,(Project version,7.6.1) ,(Booter version,7.4.1) ,(Stage,2) ,(Build platform,alpha-unknown-linux) ,(Host platform,alpha-unknown-linux) ,(Target platform,alpha-unknown-linux) ,(Have interpreter,NO) ,(Object splitting supported,NO) ,(Have native code generator,NO) ,(Support SMP,NO) ,(Unregisterised,YES) ,(Tables next to code,YES) ,(RTS ways,l debug thr thr_debug thr_l thr_p ) ,(Leading underscore,NO) ,(Debug on,False) ,(LibDir,/home/mjc/debian/ghc/ghc-7.6.1/inplace/lib) ,(Global Package DB,/home/mjc/debian/ghc/ghc-7.6.1/inplace/lib/package.conf.d) ,(Gcc Linker flags,[\-w\,\-mieee\,\-D_REENTRANT\,\-Wl,--hash- size=31\,\-Wl,--reduce-memory-overheads\]) ,(Ld Linker flags,[\--hash-size=31\,\--reduce-memory-overheads\]) ] (experimental)mjc@electro:~/debian/ghc/ghc-7.6.1$ inplace/bin/ghc-stage1 +RTS --info [(GHC RTS, YES) ,(GHC version, 7.4.1) ,(RTS way, rts_v) ,(Build platform, alpha-unknown-linux) ,(Build architecture, alpha) ,(Build OS, linux) ,(Build vendor, unknown) ,(Host platform, alpha-unknown-linux) ,(Host architecture, alpha) ,(Host OS, linux) ,(Host vendor, unknown) ,(Target platform, alpha-unknown-linux) ,(Target architecture, alpha) ,(Target OS, linux) ,(Target vendor, unknown) ,(Word size, 64) ,(Compiler unregisterised, YES) ,(Tables next to code, YES) ] (experimental)mjc@electro:~/debian/ghc/ghc-7.6.1$ inplace/bin/ghc-stage1 --info [(Project name,The Glorious Glasgow Haskell Compilation System) ,(GCC extra via C opts, -fwrapv) ,(C compiler command,/usr/bin/gcc) ,(C compiler flags, -w -mieee -D_REENTRANT -fno-stack-protector -w -mieee -D_REENTRANT -Wl,--hash-size=31 -Wl,--reduce-memory-overheads) ,(ar command,/usr/bin/ar) ,(ar flags,q) ,(ar supports at file,YES) ,(touch command,touch) ,(dllwrap command,/bin/false) ,(windres command,/bin/false) ,(perl command,/usr/bin/perl) ,(target os,OSLinux) ,(target arch,ArchUnknown) ,(target word size,8) ,(target has GNU nonexec stack,True) ,(target has .ident directive,True) ,(target has subsections via symbols,False) ,(LLVM llc command,llc-3.0) ,(LLVM opt command,opt-3.0) ,(Project version,7.6.1) ,(Booter version,7.4.1) ,(Stage,1) ,(Build platform,alpha-unknown-linux) ,(Host platform,alpha-unknown-linux) ,(Target platform,alpha-unknown-linux) ,(Have interpreter,NO) ,(Object splitting supported,NO) ,(Have native code generator,NO) ,(Support SMP,NO) ,(Unregisterised,YES) ,(Tables next to code,YES) ,(RTS ways,l debug thr thr_debug thr_l thr_p ) ,(Leading underscore,NO) ,(Debug on,False) ,(LibDir,/home/mjc/debian/ghc/ghc-7.6.1/inplace/lib) ,(Global Package DB,/home/mjc/debian/ghc/ghc-7.6.1/inplace/lib/package.conf.d)
[GHC] #7344: 64-bit and 32-bit binaries compiled with '-static' gets 'SIGKILL'ed (after many 'SIGVTALRM's and lots of memory consumption)
#7344: 64-bit and 32-bit binaries compiled with '-static' gets 'SIGKILL'ed (after many 'SIGVTALRM's and lots of memory consumption) ---+ Reporter: cetinsert | Owner: Type: bug| Status: new Priority: normal | Component: Runtime System Version: 7.4.1 | Keywords: Os: Linux | Architecture: x86_64 (amd64) Failure: Runtime crash | Testcase: Blockedby: | Blocking: Related: | ---+ == Initial Report Discussion == '''Quoting the person who reported the problem:''' ''some background: my public-server is some old machine that is apparently unable to even run the static binary (it took me a long time to realize that this was the case, it started and then just died after a while with the message killed! i tried building from source, but ghc is to old (6.8.2). to work around that i set up an ssh-tunnel from public-server to my local-client and run PortFusion ] 2000 [ here.'' [https://sourceforge.net/p/portfusion/discussion/general/thread/827a4b1a/ PortFusion Discussion Forum] == Binaries == {{{ cs@deployment:~/Corsis/PortFusion/1.2.1$ file PortFusion- Linux-x86-64-static PortFusion-Linux-x86-32-static PortFusion-Linux-x86-64-static: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, for GNU/Linux 2.6.24, BuildID[sha1]=0xe53aa9be69fa27587e1551db3423d051cbd18e24, stripped PortFusion-Linux-x86-32-static: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, for GNU/Linux 2.6.24, BuildID[sha1]=0xac311dcad032544624204ee57d64afe30578ab56, stripped }}} [http://sourceforge.net/projects/portfusion/files/1.2.1/PortFusion- Linux-x86-64-static/download 64-bit] [http://sourceforge.net/projects/portfusion/files/1.2.1/PortFusion- Linux-x86-32-static/download 32-bit] == Runtime Systems == {{{ cs@deployment:~/Corsis/PortFusion/1.2.1$ ./PortFusion-Linux-x86-64-static +RTS --info -RTS [(GHC RTS, YES) ,(GHC version, 7.4.1) ,(RTS way, rts_thr) ,(Build platform, x86_64-unknown-linux) ,(Build architecture, x86_64) ,(Build OS, linux) ,(Build vendor, unknown) ,(Host platform, x86_64-unknown-linux) ,(Host architecture, x86_64) ,(Host OS, linux) ,(Host vendor, unknown) ,(Target platform, x86_64-unknown-linux) ,(Target architecture, x86_64) ,(Target OS, linux) ,(Target vendor, unknown) ,(Word size, 64) ,(Compiler unregisterised, NO) ,(Tables next to code, YES) ] cs@deployment:~/Corsis/PortFusion/1.2.1$ ./PortFusion-Linux-x86-32-static +RTS --info -RTS [(GHC RTS, YES) ,(GHC version, 7.4.1) ,(RTS way, rts_thr) ,(Build platform, i386-unknown-linux) ,(Build architecture, i386) ,(Build OS, linux) ,(Build vendor, unknown) ,(Host platform, i386-unknown-linux) ,(Host architecture, i386) ,(Host OS, linux) ,(Host vendor, unknown) ,(Target platform, i386-unknown-linux) ,(Target architecture, i386) ,(Target OS, linux) ,(Target vendor, unknown) ,(Word size, 32) ,(Compiler unregisterised, NO) ,(Tables next to code, YES) ] }}} == Operating System == {{{ 2.6.26-2-xen-amd64 #1 SMP x86_64 }}} == Memory Usage == {{{ VIRT RES SHR S %CPU %MEM 64-bit: 432m 354m 28 R 26 23.1 32-bit: 339m 325m 1220 R 85 21.2 }}} == Strace Head/Tail == {{{ execve(./PortFusion-Linux-x86-64-static, [./PortFusion- Linux-x86-64-static...], [/* 22 vars */]) = 0 uname({sys=Linux, node=community.gotpike.org, ...}) = 0 brk(0) = 0x192 brk(0x1921200) = 0x1921200 arch_prctl(ARCH_SET_FS, 0x19208c0) = 0 set_tid_address(0x1920b90) = 6362 set_robust_list(0x1920ba0, 0x18)= 0 futex(0x7fffba04321c, 0x189 /* FUTEX_??? */, 1, NULL, 19208c0) = -1 ENOSYS (Function not implemented) rt_sigaction(SIGRTMIN, {0x544c60, [], SA_RESTORER|SA_SIGINFO, 0x549480}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {0x544cf0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x549480}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0 open(/dev/urandom, O_RDONLY) = 3 read(3, O$\276\362\273\222W..., 7)= 7 close(3)= 0 ... mmap(0x7f7da230, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7da210 --- SIGVTALRM (Virtual timer expired) @ 0 (0) --- rt_sigreturn(0x1a) = 7316992 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0 clock_gettime(0x2 /* CLOCK_??? */, {8, 290909435}) = 0 gettimeofday({1350534807, 794239}, NULL) = 0 clock_gettime(0x3 /* CLOCK_??? */, {8, 29021}) = 0 ---
Re: [GHC] #7344: 64-bit and 32-bit binaries compiled with '-static' gets 'SIGKILL'ed (after many 'SIGVTALRM's and lots of memory consumption)
#7344: 64-bit and 32-bit binaries compiled with '-static' gets 'SIGKILL'ed (after many 'SIGVTALRM's and lots of memory consumption) ---+ Reporter: cetinsert | Owner: Type: bug| Status: new Priority: normal | Component: Runtime System Version: 7.4.1 | Keywords: Os: Linux | Architecture: x86_64 (amd64) Failure: Runtime crash | Testcase: Blockedby: | Blocking: Related: | ---+ Comment(by cetinsert): == Complete Strace for PortFusion-Linux-x86-64-static == [http://portfusion.sourceforge.net/dev/reports/827a4b1a/PortFusion- strace.log PortFusion-strace.log] -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7344#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs