On 3-Jan-08, at 4:47 PM, Christian Maeder wrote:
Hi,
can someone explain the linking error below? (on Intel-Mac (Tiger?))
Preprocessing library HDBC-sqlite3-1.1.3.0...
Building HDBC-sqlite3-1.1.3.0...
[1 of 7] Compiling Database.HDBC.Sqlite3.Consts ( dist/build/Database/
HDBC/Sqlite3/Consts.hs, dist/build/Database/HDBC/Sqlite3/Consts.o )
[...]
ar: creating archive dist/build/libHSHDBC-sqlite3-1.1.3.0.a
ld: atom sorting error for
_HDBCzmsqlite3zm1zi1zi3zi0_DatabaseziHDBCziSqlite3ziTypes_CSqlite3_closure_tbl
[...]
To the best of my knowledge, this is harmless and can be ignored.
Linking continues after this message is printed, and I haven't yet
found any adverse side-effects.
The message is triggered (in Apple's recently-rewritten linker) when
there are two or more labels pointing to the very end of a section in
an object file. This sometimes happens when empty _closure_tbls are
emitted by GHC; it's probably not too hard to prevent this from
happening.
Cheers,
Wolfgang
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users