Opened 18 months ago

Closed 8 months ago

#7326 closed bug (fixed)

print035(ghci) fails when ghci is dynamic

Reported by: igloo Owned by: Austin Seipp <aseipp@…>
Priority: high Milestone: 7.8.1
Component: GHCi Version: 7.6.1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

print035(ghci) fails when ghci is dynamic:

=====> print035(ghci) 36 of 75 [0, 0, 0]
cd . && HC='/home/ian/ghc/git/ghc/inplace/bin/ghc-stage2' HC_OPTS='-dcore-lint -dcmm-lint -dno-debug-output -no-user-package-db -rtsopts -fno-ghci-history ' '/home/ian/ghc/git/ghc/inplace/bin/ghc-stage2' --interactive -v0 -ignore-dot-ghci -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-db -rtsopts -fno-ghci-history  -ignore-dot-ghci   <print035.script >print035.run.stdout 2>print035.run.stderr
Actual stdout output differs from expected:
--- ./print035.stdout   2012-06-06 22:37:21.000000000 +0100
+++ ./print035.run.stdout       2012-10-13 17:34:45.000000000 +0100
@@ -1,5 +1,5 @@
 o1 = (_t1::Unboxed1)
 o2 = (_t2::Unboxed2)
 23
-o1 = Unboxed1 ((#,#) 5 True)
-o2 = Unboxed2 ((#,#) 6 ((#,#) 7 False))
+o1 = (_t3::Unboxed1)
+o2 = (_t4::Unboxed2)
*** unexpected failure for print035(ghci)

Change History (2)

comment:1 Changed 9 months ago by igloo

  • Owner igloo deleted

comment:2 Changed 8 months ago by Austin Seipp <aseipp@…>

  • Owner set to Austin Seipp <aseipp@…>
  • Resolution set to fixed
  • Status changed from new to closed

In 333273792479695cf79a72cffa4c579d0c9deb21/ghc:

Don't run the system linker unncessarily.

This wastes time when evaluating expressions in GHCi. We also
disable object unloading when using the dynamic linker, too.

Fixes #7382. Fixes #7326.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
Note: See TracTickets for help on using tickets.