Re: Dynamic linking weirdness

2007-09-22 Thread Wolfgang Thaller
On Sep 19, 2007, at 9:23 PM, Sven Panne wrote: On Wednesday 19 September 2007 00:41, Wolfgang Thaller wrote: I guess I could find some time to play around with it on the weekend. I don't have an x86_64-linux box available right now, but I might either try some virtualisation software or just

patch applied (ghc): make opt_HiVersion an Integer instead of Int to prevent overflow

2007-04-14 Thread Wolfgang Thaller
Sat Apr 14 14:40:27 PDT 2007 [EMAIL PROTECTED] * make opt_HiVersion an Integer instead of Int to prevent overflow When a snapshot version number is included, opt_HiVersion tends to exceed the range of a 32bit Int. MERGE TO STABLE M ./compiler/iface/LoadIface.lhs -1 +1 M

patch applied (ghc): Darwin Linker: Do not add local symbols to lochash

2007-04-12 Thread Wolfgang Thaller
Thu Apr 12 14:17:12 PDT 2007 [EMAIL PROTECTED] * Darwin Linker: Do not add local symbols to lochash ... so that GHCi doesn't complain about duplicate symbols when two C modules define the same static variable. MERGE TO STABLE. M ./rts/Linker.c -9

patch applied (ghc): Darwin/i386 NCG: fix assembly syntax in symbol stubs

2007-04-12 Thread Wolfgang Thaller
Thu Apr 12 14:53:13 PDT 2007 [EMAIL PROTECTED] * Darwin/i386 NCG: fix assembly syntax in symbol stubs In i386 position-independent symbol stubs, the NCG used to print jmp %edx instead of jmp *%edx Apple's assembler used to silently accept this, but has recently

patch applied (ghc): Darwin/x86_64 linker support

2007-04-12 Thread Wolfgang Thaller
Thu Apr 12 14:45:15 PDT 2007 [EMAIL PROTECTED] * Darwin/x86_64 linker support Initial support for loading x86_64 Mach-O files M ./rts/Linker.c -31 +213 r7 M ./rts/LinkerInternals.h -8 +13 r7 ___ Cvs-ghc mailing list [EMAIL PROTECTED]

patch applied (ghc): Fix a typo related to i386 PIC code generation

2007-04-12 Thread Wolfgang Thaller
Thu Apr 12 14:47:01 PDT 2007 [EMAIL PROTECTED] * Fix a typo related to i386 PIC code generation A recent patch accidentally had x86_TARGET_ARCH instead of i386_TARGET_ARCH. M ./compiler/nativeGen/PositionIndependentCode.hs -1 +1 ___ Cvs-ghc

patch applied (ghc): Use a sensible set of compiler options for building dynamic libraries on Mac OS X

2007-03-27 Thread Wolfgang Thaller
Tue Mar 27 13:17:00 PDT 2007 [EMAIL PROTECTED] * Use a sensible set of compiler options for building dynamic libraries on Mac OS X The official options to use for building a dylib on Mac OS X are now -undefined dynamic_lookup -single_module -Wl,-macosx_version_min -Wl,10.3 ... which