Opened 13 months ago

Closed 6 months ago

#7774 closed bug (fixed)

T5313 fails

Reported by: igloo Owned by:
Priority: normal Milestone: 7.8.1
Component: GHC API Version: 7.7
Keywords: Cc: mainland@…
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Difficulty: Unknown
Test Case: T5313 Blocked By:
Blocking: Related Tickets:

Description

T5313 fails

=====> T5313(normal) 76 of 104 [0, 0, 0]
cd . && '/home/ian/ghc/git/ghc/inplace/bin/ghc-stage2' -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-db -rtsopts -fno-ghci-history -o T5313 T5313.hs  -package ghc  >T5313.comp.stderr 2>&1
cd . && ./T5313 "/home/ian/ghc/git/ghc/inplace/lib"   </dev/null >T5313.run.stdout 2>T5313.run.stderr
Wrong exit code (expected 0 , actual 1 )
Stdout:

Stderr:
T5313: <command line>: can't load .so/.DLL for: /home/ian/ghc/git/ghc/libraries/ghc-prim/dist-install/build/libHSghc-prim-0.3.1.0-ghc7.7.20130316.so (/home/ian/ghc/git/ghc/libraries/ghc-prim/dist-install/build/libHSghc-prim-0.3.1.0-ghc7.7.20130316.so: undefined symbol: stg_newByteArrayzh)

*** unexpected failure for T5313(normal)

Change History (10)

comment:1 Changed 12 months ago by igloo

  • Milestone set to 7.8.1

comment:2 Changed 11 months ago by gmainland

  • Cc mainland@… added

Any idea how to go about fixing this? This bug is preventing me from using the GHC API for run-time code generation.

comment:3 Changed 7 months ago by ezyang

Works for me under Mac OS X.

comment:4 Changed 7 months ago by ezyang

Also working on Windows

comment:5 Changed 7 months ago by simonmar

Geoff - is this still happening for you?

comment:6 Changed 6 months ago by gmainland

Yes it is, but the error is slightly different:

=====> T5313(normal) 2009 of 3799 [0, 0, 0] 
cd ./driver && '/home/mainland/ghc/ghc-working-build/inplace/bin/ghc-stage2' -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-db -rtsopts -fno-ghci-history -o T5313 T5313.hs  -package ghc  >T5313.comp.stderr 2>&1
cd ./driver && ./T5313 "/home/mainland/ghc/ghc-working-build/inplace/lib"   </dev/null >T5313.run.stdout 2>T5313.run.stderr
Wrong exit code (expected 0 , actual 1 )
Stdout:

Stderr:
T5313: <command line>: can't load .so/.DLL for: /home/mainland/ghc/ghc-working-build/libraries/ghc-prim/dist-install/build/libHSghc-prim-0.3.1.0-ghc7.7.20131010.so (/home/mainland/ghc/ghc-working-build/libraries/ghc-prim/dist-install/build/libHSghc-prim-0.3.1.0-ghc7.7.20131010.so: undefined symbol: stg_forkOnzh)

comment:7 Changed 6 months ago by thoughtpolice

I'm seeing this test pass now on amd64/linux. Geoff, can you confirm? What platform?

comment:8 Changed 6 months ago by gmainland

Yes, now works for me now too (also Linux amd64)!

comment:9 Changed 6 months ago by Joachim Breitner <mail@…>

In 2d2fa1bc0863a14b62762ed04550d45ef49103c0/testsuite:

T5313 now succeeds (Fixes: #7774)

comment:10 Changed 6 months ago by nomeata

  • Resolution set to fixed
  • Status changed from new to closed
  • Test Case set to T5313

Everyone (including Travis) seems to agree that this works now; marking it as such in the testsuite.

Note: See TracTickets for help on using tickets.