[GHC] #5435: GHCi linker should run constructors for linked libraries
GHC
ghc-devs at haskell.org
Sat Sep 14 21:56:49 CEST 2013
#5435: GHCi linker should run constructors for linked libraries
-------------------------------------+------------------------------------
Reporter: pumpkin | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 7.8.1
Component: Compiler | Version: 7.2.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By: 3658
Blocking: 7746, 8199 | Related Tickets: #3658
-------------------------------------+------------------------------------
Comment (by simonmar):
I'm seeing failures in `T5435_v` and `T5435_dyn` here:
{{{
=====> T5435_v(normal) 2962 of 3788 [0, 0, 1]
cd ./rts && $MAKE -s --no-print-directory T5435_v </dev/null
>T5435_v.run.stdout 2>T5435_v.run.stderr
Actual stdout output differs from expected:
--- ./rts/T5435_v.stdout 2013-09-14 19:51:59.426916358 +0100
+++ ./rts/T5435_v.run.stdout 2013-09-14 20:54:07.282839857 +0100
@@ -1,3 +1 @@
-initializer1 run
-initializer2 run
success
*** unexpected failure for T5435_v(normal)
}}}
Also you need to make these tests safe to run in parallel, I got this
failure with THREADS=2:
{{{
Stderr:
/usr/bin/ld: T5435.o: invalid string offset 4519 >= 1388 for section
`.strtab'
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
make[3]: *** [T5435_v] Error 1
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/5435#comment:22>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list