Hello,

On Thursday 12 February 2009 11:44, Simon Marlow wrote:
> Thorkil Naur wrote:
> 
> > I have not been able to understand fully what this is about, nor finding 
the 
> > details of any solution. However, it seems clear that incompatible 
versions 
> > of libc.so.6 ("TLS version") and librt.so.1 ("non-TLS version") are being 
> > used together, causing the error. But whether this should be fixed by a 
> > change in the Linux system setup, a change in the way dlopen searches for 
> > libraries, a change in the way dlopen is being called, some combination of 
> > these things, or something else entirely, I am unable to tell.
> 
> Is this something that other people will run into, or is it specific to 
> your setup somehow?

I believe that this problem is specific to my setup. The fix that I applied 
Yesterday didn't work out too well: 
http://darcs.haskell.org/buildbot/all/builders/tnaur%20x86%20Linux%20stable/builds/239/steps/configure/logs/stdio.
 
Today, I tried a different fix, retaining /usr/lib/librt.so 
-> /lib/librt.so.1 and instead adding /usr/lib/tls/librt.so 
-> /lib/tls/librt.so.1 and that seems to have helped: The STABLE
summary 
(http://darcs.haskell.org/buildbot/all/builders/tnaur%20x86%20Linux%20stable/builds/240/steps/runtestsuite/logs/summary)
 
now looks more healthy:

> OVERALL SUMMARY for test run started at Thu Feb 12 12:07:24 CET 2009
>     2300 total tests, which gave rise to
>     8599 test cases, of which
>        0 caused framework failures
>     1628 were skipped
>
>     6655 expected passes
>      306 expected failures
>        0 unexpected passes
>       10 unexpected failures
>
> Unexpected failures:
>    T3017(normal)
>    apirecomp001(normal)
>    barton-mangler-bug(hpc)
>    conc018(ghci)
>    concprog001(ghci)
>    ghcpkg02(normal)
>    simpl015(optc,optasm)
>    testwsdeque(threaded1,threaded2)

> Was it a recent change in the unix package that  
> triggered it?

Most likely 

> Fri Jan 30 12:35:02 CET 2009  Don Stewart <d...@galois.com>
>   * Add check for -lrt to get the shm* functions. Subst. in buildinfo
>     hunk ./configure.ac 30
>     +
>     +# Avoid adding rt if absent or unneeded
>     +AC_CHECK_LIB(rt, shm_open, [EXTRA_LIBS="$EXTRA_LIBS rt" CFLAGS="$CFLAGS 
-lrt"])
>     +
>     +# needs -lrt on linux

> If so, does backing off fix it? 

I will try that, if needed, but the problem seems to be fixed now.

> 
> Cheers,
>       Simon
> 

Best regards
Thorkil

_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to