
#13883: T5435_dyn_asm fails with ld.gold -------------------------------------+------------------------------------- Reporter: bgamari | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by osa1): Not sure if relevant, but I'm currently observing `T5435_v_asm_a`, `T5435_v_asm_b` and `T5435_v_gcc` fail with segfault when I compile with these settings: {{{ BuildFlavour = quick ifneq "$(BuildFlavour)" "" include mk/flavours/$(BuildFlavour).mk endif GhcRtsHcOpts += -O0 -DDEBUG -fPIC -g3 GhcDebugged = YES GhcStage2HcOpts += -DDEBUG STRIP_CMD = : }}} Test suite output: {{{ =====> T5435_v_asm_a(normal) 1 of 3 [0, 0, 0] cd "./rts/T5435_v_asm_a.run" && $MAKE -s --no-print-directory T5435_v_asm_a Wrong exit code for T5435_v_asm_a()(expected 0 , actual 2 ) Stdout ( T5435_v_asm_a ): Makefile:85: recipe for target 'T5435_v_asm_a' failed Stderr ( T5435_v_asm_a ): make[2]: *** [T5435_v_asm_a] Segmentation fault (core dumped) *** unexpected failure for T5435_v_asm_a(normal) =====> T5435_v_asm_b(normal) 2 of 3 [0, 1, 0] cd "./rts/T5435_v_asm_b.run" && $MAKE -s --no-print-directory T5435_v_asm_b Wrong exit code for T5435_v_asm_b()(expected 0 , actual 2 ) Stdout ( T5435_v_asm_b ): Makefile:87: recipe for target 'T5435_v_asm_b' failed Stderr ( T5435_v_asm_b ): make[2]: *** [T5435_v_asm_b] Segmentation fault (core dumped) *** unexpected failure for T5435_v_asm_b(normal) =====> T5435_v_gcc(normal) 3 of 3 [0, 2, 0] cd "./rts/T5435_v_gcc.run" && $MAKE -s --no-print-directory T5435_v_gcc Wrong exit code for T5435_v_gcc()(expected 0 , actual 2 ) Stdout ( T5435_v_gcc ): Makefile:81: recipe for target 'T5435_v_gcc' failed Stderr ( T5435_v_gcc ): make[2]: *** [T5435_v_gcc] Segmentation fault (core dumped) *** unexpected failure for T5435_v_gcc(normal) }}} Somehow `./validate` passes, so I'm guessing one of the parameters I'm passing to GHC is making a difference. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13883#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler