A little information. I did not notice the gcc/binutils versions. But in CentOS, the ghc 7.2.2/7.4.1 were all compiled myself with all default configurations.
On Tue, May 29, 2012 at 10:54 PM, Chris Dornan <ch...@chrisdornan.com> wrote: > On 29 May 2012 02:21, Magicloud Magiclouds > <magicloud.magiclo...@gmail.com> wrote: >> Interesting. I have this code tested in Debian unstable/stable, CentOS >> 6.1, all 64 bit, with two different version of libldap2. >> At first, Debian-s were installed with 7.4.1, CentOS with 7.2.2. Only >> in CentOS the code connected after compiled. >> Then I removed 7.4.1 from Debian stable and installed 7.2.2. The code worked. >> At last, I installed 7.4.1 in CentOS. The code did not work. >> >> Could you send the .hi/.o to me, so maybe I could find out the >> different? Also the exact original source. >> Thank you. > > Interesting indeed! I am guessing that you are using the GHC-7.4.1 > bindist from haskell.org. > > I will try and find some time to marshal the source code and > intermediate files (am on the road -- > will need to collect it from base, make it generic etc.). > > You might also like to try the http://justhub.org ghc-7.4.1-hub on > your CentOS-6.1 node. It is a > separate build from the haskell.org bindist and comes with it's own > in-board gcc (4.6.1) and binutils (2.21) > used for the build. It should work for you. > > (You could also try ghc-7.4.2-RC1-hub.) > > Chris -- 竹密岂妨流水过 山高哪阻野云飞 And for G+, please use magiclouds#gmail.com. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe