
#9673: aarch64 7.8.4, 7.10, 7.11: lib/ghc/bin/ghc-pkg --version does not output from subprocess -------------------------------------+------------------------------------- Reporter: juhpetersen | Owner: Type: bug | Status: new Priority: high | Milestone: Component: Compiler | Version: 7.11 Resolution: | Keywords: Operating System: Linux | Architecture: aarch64 Type of failure: Installing GHC | Test Case: failed | Blocking: Blocked By: | Differential Revisions: Related Tickets: | -------------------------------------+------------------------------------- Comment (by juhpetersen): and the subprocess straces diff between x86_64 and aarch64 looks like this (for 7.8.4): {{{ --- subprocess-x86_64.strace 2015-04-15 17:18:07.000000000 +0900 +++ subprocess-arm64.strace 2015-04-15 16:50:06.000000000 +0900 -rt_sigaction(SIGVTALRM, {0x7f149254f650, [], SA_RESTORER|SA_RESTART, 0x7f1496add430}, NULL, 8) = 0 +rt_sigaction(SIGVTALRM, {0x3ff9a226910, [], SA_RESTART}, NULL, 8) = 0 timer_settime(0, 0, {it_interval={0, 10000000}, it_value={0, 10000000}}, NULL) = 0 -rt_sigaction(SIGINT, {0x7f149255b750, [], SA_RESTORER, 0x7f1496add430}, {SIG_DFL, [], 0}, 8) = 0 -rt_sigaction(SIGINT, NULL, {0x7f149255b750, [], SA_RESTORER, 0x7f1496add430}, 8) = 0 -rt_sigaction(SIGINT, {0x7f149255b750, [], SA_RESTORER, 0x7f149219ab20}, NULL, 8) = 0 -rt_sigaction(SIGPIPE, {0x7f149255b6e0, [], SA_RESTORER, 0x7f1496add430}, {SIG_DFL, [], 0}, 8) = 0 -rt_sigaction(SIGTSTP, {0x7f149255b770, [], SA_RESTORER, 0x7f1496add430}, NULL, 8) = 0 -clock_gettime(CLOCK_PROCESS_CPUTIME_ID, {0, 8032580}) = 0 -clock_gettime(CLOCK_MONOTONIC, {1555, 94648060}) = 0 +rt_sigaction(SIGINT, {0x3ff9a237a10, [], 0}, {SIG_DFL, [], 0}, 8) = 0 +rt_sigaction(SIGINT, NULL, {0x3ff9a237a10, [], 0}, 8) = 0 +rt_sigaction(SIGINT, {0x3ff9a237a10, [], 0}, NULL, 8) = 0 +rt_sigaction(SIGPIPE, {0x3ff9a2379ac, [], 0}, {SIG_DFL, [], 0}, 8) = 0 +rt_sigaction(SIGTSTP, {0x3ff9a237a38, [], 0}, NULL, 8) = 0 +clock_gettime(CLOCK_PROCESS_CPUTIME_ID, {0, 34154801}) = 0 rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0 -rt_sigaction(SIGINT, {0x7f149255b7f0, [], SA_RESTORER|SA_RESETHAND|SA_SIGINFO, 0x7f1496add430}, NULL, 8) = 0 +rt_sigaction(SIGINT, {0x3ff9a237ac4, [], SA_RESETHAND|SA_SIGINFO}, NULL, 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 -ioctl(1, TCGETS, 0x7ffe2a9b0e70) = -1 ENOTTY (Inappropriate ioctl for device) -select(2, [], [1], NULL, {0, 0}) = 1 (out [1], left {0, 0}) -write(1, "GHC package manager version 7.8."..., 34) = 34 -clock_gettime(CLOCK_PROCESS_CPUTIME_ID, {0, 8190648}) = 0 -clock_gettime(CLOCK_MONOTONIC, {1555, 94885797}) = 0 +ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x3fff519c9e8) = -1 ENOTTY (Inappropriate ioctl for device) +ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x3fff519c9e8) = -1 ENOTTY (Inappropriate ioctl for device) +clock_gettime(CLOCK_PROCESS_CPUTIME_ID, {0, 34575324}) = 0 rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0 -clock_gettime(CLOCK_PROCESS_CPUTIME_ID, {0, 8203047}) = 0 -clock_gettime(CLOCK_MONOTONIC, {1555, 94922279}) = 0 -clock_gettime(CLOCK_THREAD_CPUTIME_ID, {0, 8206804}) = 0 +clock_gettime(CLOCK_PROCESS_CPUTIME_ID, {0, 34608930}) = 0 +clock_getres(CLOCK_THREAD_CPUTIME_ID, {0, 1}) = 0 +clock_gettime(CLOCK_THREAD_CPUTIME_ID, {0, 34623282}) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 timer_settime(0, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0 -rt_sigaction(SIGVTALRM, {SIG_IGN, [], SA_RESTORER|SA_INTERRUPT|SA_NODEFER|SA_RESETHAND, 0x7f149219ab20}, {0x7f149254f650, [], SA_RESTORER|SA_RESTART, 0x7f1496add430}, 8) = 0 +rt_sigaction(SIGVTALRM, {SIG_IGN, [], SA_INTERRUPT|SA_NODEFER|SA_RESETHAND}, {0x3ff9a226910, [], SA_RESTART}, 8) = 0 timer_delete(0) = 0 rt_sigprocmask(SIG_BLOCK, [TTOU], [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 -rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f1496add430}, NULL, 8) = 0 -rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_RESTORER, 0x7f1496add430}, NULL, 8) = 0 -rt_sigaction(SIGTSTP, {SIG_DFL, [], SA_RESTORER, 0x7f1496add430}, NULL, 8) = 0 -clock_gettime(CLOCK_PROCESS_CPUTIME_ID, {0, 8337035}) = 0 -clock_gettime(CLOCK_MONOTONIC, {1555, 95152954}) = 0 +rt_sigaction(SIGINT, {SIG_DFL, [], 0}, NULL, 8) = 0 +rt_sigaction(SIGPIPE, {SIG_DFL, [], 0}, NULL, 8) = 0 +rt_sigaction(SIGTSTP, {SIG_DFL, [], 0}, NULL, 8) = 0 +clock_gettime(CLOCK_PROCESS_CPUTIME_ID, {0, 34949910}) = 0 exit_group(0) = ? +++ exited with 0 +++ }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9673#comment:14 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler