Re: ANNOUNCE: GHC 6.10.1 beta

uh oh.. ~/Haskell/bin/ghc +RTS -N2 -RTS -hidir ../build/ -odir ../build/ -threaded -package ghc -main-is Shell --make Shell -DCALLCONV=ccall [4 of 4] Compiling Shell ( Shell.hs, ../build/Shell.o ) Linking Shell ... ld: atom sorting error for _ghczm6zi10zi0zi20080927_LibFFI_Czuffizutype_closure_tbl and _ghczm6zi10zi0zi20080927_LibFFI_Czuffizucif_closure_tbl in /Users/humasect/Haskell/lib/ghc-6.10.0.20080927/ghc-6.10.0.20080927/libHSghc-6.10.0.20080927.a(LibFFI.o) ld: atom sorting error for _ghczm6zi10zi0zi20080927_LibFFI_Czuffizutype_closure_tbl and _ghczm6zi10zi0zi20080927_LibFFI_Czuffizucif_closure_tbl in /Users/humasect/Haskell/lib/ghc-6.10.0.20080927/ghc-6.10.0.20080927/libHSghc-6.10.0.20080927.a(LibFFI.o) When linking with new GHC api after converting this shell to use it ( http://hackage.haskell.org/trac/ghc/wiki/GhcApiStatus) -lyndon

The atom sorting errors are fairly harmless it seems; you should still get an executable in the end (I was playing with the new API today too.) Austin Excerpts from humasect's message of Sun Sep 28 10:42:36 -0500 2008:
uh oh.. ~/Haskell/bin/ghc +RTS -N2 -RTS -hidir ../build/ -odir ../build/ -threaded -package ghc -main-is Shell --make Shell -DCALLCONV=ccall [4 of 4] Compiling Shell ( Shell.hs, ../build/Shell.o ) Linking Shell ... ld: atom sorting error for _ghczm6zi10zi0zi20080927_LibFFI_Czuffizutype_closure_tbl and _ghczm6zi10zi0zi20080927_LibFFI_Czuffizucif_closure_tbl in /Users/humasect/Haskell/lib/ghc-6.10.0.20080927/ghc-6.10.0.20080927/libHSghc-6.1 0.0.20080927.a(LibFFI.o) ld: atom sorting error for _ghczm6zi10zi0zi20080927_LibFFI_Czuffizutype_closure_tbl and _ghczm6zi10zi0zi20080927_LibFFI_Czuffizucif_closure_tbl in /Users/humasect/Haskell/lib/ghc-6.10.0.20080927/ghc-6.10.0.20080927/libHSghc-6.1 0.0.20080927.a(LibFFI.o)
When linking with new GHC api after converting this shell to use it ( http://hackage.haskell.org/trac/ghc/wiki/GhcApiStatus)
-lyndon

Ah, indeed it does! Then, more about GHC API:
"Shell: Shell: missing -B<dir> option"
I can't find any information of what this -B is, it is not in GHC sources or
anything helpful from google. I tried to add "-B../build" or similar to GHC
api DynFlags, no luck. I've only found "[ "-shared", "-Wl,-Bsymbolic" ]" in
compiler/main/DriverPipeline.hs
thanks,
-lyndon
2008/9/28 Austin Seipp
The atom sorting errors are fairly harmless it seems; you should still get an executable in the end (I was playing with the new API today too.)
Austin
Excerpts from humasect's message of Sun Sep 28 10:42:36 -0500 2008:
uh oh.. ~/Haskell/bin/ghc +RTS -N2 -RTS -hidir ../build/ -odir ../build/ -threaded -package ghc -main-is Shell --make Shell -DCALLCONV=ccall [4 of 4] Compiling Shell ( Shell.hs, ../build/Shell.o ) Linking Shell ... ld: atom sorting error for _ghczm6zi10zi0zi20080927_LibFFI_Czuffizutype_closure_tbl and _ghczm6zi10zi0zi20080927_LibFFI_Czuffizucif_closure_tbl in
/Users/humasect/Haskell/lib/ghc-6.10.0.20080927/ghc-6.10.0.20080927/libHSghc-6.1
0.0.20080927.a(LibFFI.o) ld: atom sorting error for _ghczm6zi10zi0zi20080927_LibFFI_Czuffizutype_closure_tbl and _ghczm6zi10zi0zi20080927_LibFFI_Czuffizucif_closure_tbl in
/Users/humasect/Haskell/lib/ghc-6.10.0.20080927/ghc-6.10.0.20080927/libHSghc-6.1
0.0.20080927.a(LibFFI.o)
When linking with new GHC api after converting this shell to use it ( http://hackage.haskell.org/trac/ghc/wiki/GhcApiStatus)
-lyndon
Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Hello, On Sunday 28 September 2008 19:27, humasect wrote:
Ah, indeed it does! Then, more about GHC API: "Shell: Shell: missing -B<dir> option"
I can't find any information of what this -B is, it is not in GHC sources or anything helpful from google.
The -B is used from a ghc shell script to identify where the rest of the GHC installation resides. An example with a GHC 6.8.2 installed in $HOME/tn/install/ghc-6.8.2:
tn@linux:~> cat tn/install/ghc-6.8.2/bin/ghc #!/bin/sh GHCBIN=/home/tn/tn/install/ghc-6.8.2/lib/ghc-6.8.2/ghc-6.8.2 TOPDIROPT=-B/home/tn/tn/install/ghc-6.8.2/lib/ghc-6.8.2 exec $GHCBIN $TOPDIROPT ${1+"$@"} tn@linux:~>
There is likely some designation for this option that I cannot recall. If it is documented anywhere, I haven't noticed.
...
Best regards Thorkil
participants (3)
-
Austin Seipp
-
humasect
-
Thorkil Naur