Re: GHC7 (on OSX.5)

2011-03-21 Thread Gregory Wright
to 7.0.2, so I have some incentive to get the work done. In the MacPorts version I may include my runtime linker debug patch, which won't be available generally until 7.2.1. If more linker problems are suspected, this would give a complete view of what the linker was doing. Best, Greg

Re: [Glasgow-haskell-users] os x 64-bit?

2010-11-11 Thread Gregory Wright
goes. If there are any special build instructions for this, maybe you could update trac #2965 with details? Cheers, John From: Gregory Wright mailto:gwri...@antiope.com>> Hi, I built ghc 7.0.1-rc2 yesterday 64-bit on Snow Leopard. Much of the work in getting ghc to

Re: os x 64-bit?

2010-11-10 Thread Gregory Wright
On 11/10/10 10:44 AM, Antoine Latter wrote: On Wed, Nov 10, 2010 at 9:04 AM, Gregory Wright wrote: Hi, I built ghc 7.0.1-rc2 yesterday 64-bit on Snow Leopard. Much of the work in getting ghc to build 64-bit was done by Barney Stratford; the MacPorts ghc 6.10.4 has built successfully in 64

Re: os x 64-bit?

2010-11-10 Thread Gregory Wright
Hi, I built ghc 7.0.1-rc2 yesterday 64-bit on Snow Leopard. Much of the work in getting ghc to build 64-bit was done by Barney Stratford; the MacPorts ghc 6.10.4 has built successfully in 64 bit mode for a number of months. Until just a few weeks ago 6.12.x and HEAD wouldn't build 64-bit becau

Re: Profiling bug in 6.10.4

2010-03-31 Thread Gregory Wright
On 3/31/10 11:44 AM, Ian Lynagh wrote: On Mon, Mar 22, 2010 at 02:54:26PM -0400, Gregory Wright wrote: Now they seem to both be correct. The key value is at the bottom of column 8. This should be 2.386e-1 (which means that 23.86 percent of the protons in the early universe end up as

Re: Profiling bug in 6.10.4

2010-03-22 Thread Gregory Wright
2.514e-7 1.566e-52.387e-1 3.089e-14 6.337e-11 5.791e-11 5.665e-16 Best regards Krzysztof Skrzętnicki 2010/3/22 Gregory Wright: Hi, On 3/22/10 10:22 AM, Gregory Wright wrote: Hi, I have a program (attached) that is relatively simple, but numerically intensive. It co

Re: Profiling bug in 6.10.4

2010-03-22 Thread Gregory Wright
5e-16 Best regards Krzysztof Skrzętnicki 2010/3/22 Gregory Wright: Hi, On 3/22/10 10:22 AM, Gregory Wright wrote: Hi, I have a program (attached) that is relatively simple, but numerically intensive. It computes the abundances of the chemical elements generated by big-bang nucleosynt

Re: Profiling bug in 6.10.4

2010-03-22 Thread Gregory Wright
Hi, On 3/22/10 10:22 AM, Gregory Wright wrote: Hi, I have a program (attached) that is relatively simple, but numerically intensive. It computes the abundances of the chemical elements generated by big-bang nucleosynthesis. At the moment, the executable takes no command line arguments

Profiling bug in 6.10.4

2010-03-22 Thread Gregory Wright
Hi, I have a program (attached) that is relatively simple, but numerically intensive. It computes the abundances of the chemical elements generated by big-bang nucleosynthesis. At the moment, the executable takes no command line arguments, it simply runs the standard model. When I build th

ANNOUNCE: haskell-platform on MacPorts

2010-03-20 Thread Gregory Wright
fink. Thanks as well to Marco Comini, Tom Hutchinson, Ian Lynagh, John Peterson, Ryan Schmidt and Falk Schramm for their help. Best Wishes, Greg Wright -- Gregory Wright Antiope Associates LLC 18 Clay Street Fair Haven, New Jersey 07704 USA gwri...@antiope.com +1 (732) 924-4549 +1 (73

ghc ftp site

2010-03-09 Thread Gregory Wright
Hi, Could someone tell me who is in charge of the ghc ftp site these days? I need to upload a bootstrap compiler to build MacPort's ghc on Snow Leopard and the permissions of the 6.10 - 6.1 directories have changed. I no longer can write there. Best Wishes, Greg ___

Re: ANNOUNCE: GHC version 6.10.4

2009-07-18 Thread Gregory Wright
Hi Yitz, Yitzchak Gale wrote: The (Interactive) Glasgow Haskell Compiler -- version 6.10.4 How to get it http://www.haskell.org/ghc/ I have a few comments about the "Distribution Packages" page that is linked from there: http://www.haskell.org/ghc/distribution_packages.html De

Re: ANNOUNCE: GHC 6.10.4 Release Candidate 1

2009-07-13 Thread Gregory Wright
ame getGroupEntryForName.run.stdout 2>getGroupEntryForName.run.stderr Wrong exit code (expected 0 , actual 1 ) Stdout: Stderr: getGroupEntryForName: thisIsNotMeantToExist: getGroupEntryForName: does not exist (no group name) Should I be running a different version of the tests?

ghc-6.10.3-pre on OS X 10.5.6

2009-05-06 Thread Gregory Wright
Hi, I built ghc-6.10.2.20090504 on OS X 10.5.6 (Intel). The build succeeded, and the results of running the 6.10.2 (release) testsuite were: OVERALL SUMMARY for test run started at Wed May 6 04:21:54 EDT 2009 2413 total tests, which gave rise to 12919 test cases, of which 0 c

Re: Under OS X 10.5.6: GHC 6.10.1 Release Candidate 1

2009-03-18 Thread Gregory Wright
Hi Thomas, On Mar 18, 2009, at 10:03 AM, Thomas Schilling wrote: There should be a file called testlog somewhere, either at the toplevel or within the tests directory. Could you search for "apirecomp001" and send me the test output from running that test. I can't reproduce this failure

Under OS X 10.5.6: GHC 6.10.1 Release Candidate 1

2009-03-18 Thread Gregory Wright
I built ghc-6.10.1.20090314 on OS X 10.5.6 (Intel) using ghc 6.8.2 as a bootstrap compiler. The build was done using the MacPorts infrastructure. Summary test results: OVERALL SUMMARY for test run started at Tue Mar 17 15:31:38 EDT 2009 2334 total tests, which gave rise to 12487 test

Re: Segmentation fault trying to build ghc 6.10.1 using macports, Mac OS X 10.5, PPC

2009-02-02 Thread Gregory Wright
Hi David, On Feb 2, 2009, at 4:48 AM, Christian Maeder wrote: David Menendez wrote: I'm trying to upgrade GHC to 6.10.1 using macports on a PowerBook G4 running OS X 10.5.5. From what I can tell, I'm getting a segmentation fault from cabal-bin. On PPC leopard you need to update to XCode 3.1

Preferred gcc for use with ghc

2009-01-02 Thread Gregory Wright
Hi, What is the preferred gcc to use with ghc 6.10.1? I'm starting the long and doubtless slow process of putting together a more user friendly (and binary distributable) ghc distribution to be built using MacPorts. The guidance about gcc on the wiki is vague. Is there a best choice? Or at

Re: ANNOUNCE: GHC version 6.10.1 - MacOS installer

2008-11-21 Thread Gregory Wright
Hi Thorkil, On Nov 21, 2008, at 11:03 AM, Thorkil Naur wrote: Hello Greg, On Friday 21 November 2008 15:56, Gregory Wright wrote: ... ppc/ Leopard still fails, but I now have an account on a machine that I can use to test and debug. And if you need such an access (now or in the future

Re: ANNOUNCE: GHC version 6.10.1 - MacOS installer

2008-11-21 Thread Gregory Wright
Hi Jason, On Nov 21, 2008, at 8:09 AM, Jason Dagit wrote: On Wed, Nov 19, 2008 at 1:28 AM, Manuel M T Chakravarty <[EMAIL PROTECTED]> wrote: Jason Dagit: On Wed, Nov 5, 2008 at 5:36 PM, Manuel M T Chakravarty <[EMAIL PROTECTED]> wrote: Ian Lynagh: On Tue, Nov 04, 2008 at 09:02:12PM -0500

Re: Notes on building 6.10.1

2008-11-13 Thread Gregory Wright
Hi Ian, On Nov 12, 2008, at 5:52 PM, Ian Lynagh wrote: On Wed, Nov 12, 2008 at 12:42:00PM -0500, Gregory Wright wrote: The hpc library is the only one that requires the external hsc2hs. Is this new dependency intentional, or is this a build system bug? I don't think that the buil

Notes on building 6.10.1

2008-11-12 Thread Gregory Wright
Hi, When building 6.10.1 under Macports, I noticed that hpc now requires that hsc2hs be present on the system (it does not use the hsc2hs built in place with the new ghc). Previous versions did not require hsc2hs to be present; the compiler could be bootstrapped from just the ghc compiler

Re: GHC on powerpc (OS X): segmentation fault

2008-11-12 Thread Gregory Wright
Hi Chrisitian, On Nov 11, 2008, at 7:19 AM, Christian Maeder wrote: Chris Kuklewicz wrote: Christian Maeder wrote: I can offer a Tiger PPC built that works for me: (linked against /opt/local/lib/libgmp.dylib) But the filename says "-i386-" so I suspect it is not a powerpc build. Sorry,

Re: has anyone built pandoc with MacPorts ?

2008-10-11 Thread Gregory Wright
Hi, On Oct 10, 2008, at 4:45 PM, denis wrote: Greg, folks, port install ghc worked after 7 hours or so, but then sudo port -v install hs-ghc-paths (on which pandoc apparently depends) => # from: sudo port -v install hs-ghc-paths # run: 10 Oct 2008 22:35 in /opt/local Denis.local mac 10.4.1

Re: has anyone built pandoc with MacPorts ?

2008-10-11 Thread Gregory Wright
Hi Denis, I haven't built pandoc yet --- I didn't do the port --- but I'll have a go at it tonight and let you know what I find. BTW, did you run $ sudo port selfupdate before starting to make sure you had the latest Portfiles for everything? Best Wishes, Greg On Oct 10, 2008

Re: Version control systems

2008-08-14 Thread Gregory Wright
Hi Manuel, On Aug 14, 2008, at 9:12 PM, Manuel M T Chakravarty wrote: Moreover, as I wrote a few times before, some reasons for switching in the first place are invalidated by not having the core libraries in git, too. For example, one complaint about darcs is that it either doesn't buil

Re: ANN: prof2dot, version 0.4.1

2008-08-05 Thread Gregory Wright
xample of the resultant .dot file, so I can figure out just how useful this might be to me. Thanks Neil On Tue, Aug 5, 2008 at 8:50 PM, Gregory Wright <[EMAIL PROTECTED]> wrote: I am pleased to announce the release of prof2dot version 0.4.1, a graphical profiling tool for use with GHC. The

ANN: prof2dot, version 0.4.1

2008-08-05 Thread Gregory Wright
I am pleased to announce the release of prof2dot version 0.4.1, a graphical profiling tool for use with GHC. The program is a filter that takes the profiling output generated by running a GHC-compiled program with the "+RTS -px -RTS" option and turns it into a dot file. (The "dot" format is

Re: *BSD support in 6.8.3

2008-06-01 Thread Gregory Wright
Hi, On May 29, 2008, at 11:19 AM, Simon Marlow wrote: Ok, I've now modified the patch and attached a new version to the ticket: http://hackage.haskell.org/trac/ghc/attachment/ticket/2013/2013.patch *BSD folks please test. I built the 20080529 snapshot with this patch and my light testing

Re: *BSD support in 6.8.3

2008-05-30 Thread Gregory Wright
Hi Simon, On May 29, 2008, at 11:19 AM, Simon Marlow wrote: Ok, I've now modified the patch and attached a new version to the ticket: http://hackage.haskell.org/trac/ghc/attachment/ticket/2013/2013.patch *BSD folks please test. I built the 20080529 snapshot with this patch and my light

Re: *BSD support in 6.8.3

2008-05-28 Thread Gregory Wright
Hi Simon, On May 28, 2008, at 5:05 AM, Simon Marlow wrote: Hi Folks, 6.8.3 is nearing release, and we have an outstanding bug affecting the GHCi on the BSDs: http://hackage.haskell.org/trac/ghc/ticket/2013 We need someone to help out with this. The patch in the ticket apparently works

Re: ANN: ghc 6.8.2 from MacPorts

2008-05-02 Thread Gregory Wright
Hi Wouter, On May 1, 2008, at 11:50 AM, Wouter Swierstra wrote: On 1 May 2008, at 13:59, Gregory Wright wrote: I've patched MacPorts' ghc-6.8.2 to include the -no-user-package-conf flag. Wouter, could you check if this fixes the problem you had? I tried a "port selfup

Re: ANN: ghc 6.8.2 from MacPorts

2008-05-01 Thread Gregory Wright
On Apr 26, 2008, at 4:58 PM, Ian Lynagh wrote: On Thu, Apr 24, 2008 at 09:25:26AM -0400, Gregory Wright wrote: I'll see if I can come up with a patch to the build system that avoids this. I think that this was actually done a while ago: [pass -no-user-package-conf to ghc-inplace

Re: ANN: ghc 6.8.2 from MacPorts

2008-04-24 Thread Gregory Wright
Hi Björn, On Apr 24, 2008, at 6:41 AM, Bjorn Bringert wrote: On Thu, Mar 6, 2008 at 7:57 PM, Wouter Swierstra <[EMAIL PROTECTED]> wrote: Hi Greg, Thanks again for maintaining ghc in macports! I tried installing ghc through macports. Unfortunately, the build failed with the following erro

Re: ANN: prof2dot, a graphical profiling tool

2008-04-01 Thread Gregory Wright
ht be less work to resurrect one of those. Best Wishes, Greg Best. Cristian 2008/3/8 Gregory Wright <[EMAIL PROTECTED]>: I am pleased to announce the first release of prof2dot, a graphical profiling tool for use with GHC. ___ Glasgow-ha

Re: Success report: Leopard powerpc

2008-03-17 Thread Gregory Wright
Excellent news. Thanks to you and Christian for trying it out. -Greg On Mar 17, 2008, at 4:12 PM, Chris Kuklewicz wrote: I used both ghc-6.6.1 and macports to create a working ghc-6.8.2 on OS X 10.5.2 on a powerpc G4 laptop. ___ Glasgow-haskell-u

ghc's trac is wedged

2008-03-13 Thread Gregory Wright
Hi, This morning (13 March 2008) the ghc trac wedged reporting Trac detected an internal error: with the python traceback Traceback (most recent call last): File "/var/lib/python-support/python2.4/trac/web/main.py", line 387, in dispatch_request dispatcher.dispatch(req) File "/var/

Re: ANN: ghc 6.8.2 from MacPorts

2008-03-13 Thread Gregory Wright
Hi Christian, On Mar 13, 2008, at 7:10 AM, Christian Maeder wrote: I was able to build ghc 6.8.2 on Leopard/ppc using the patch from http://hackage.haskell.org/trac/ghc/ticket/1958 (also below) Could you try if it works for you, too? I forgot to mention, that I had to build a bootstrapping

ANN: prof2dot, a graphical profiling tool

2008-03-07 Thread Gregory Wright
I am pleased to announce the first release of prof2dot, a graphical profiling tool for use with GHC. While GHC has in the past worked with graphical profiling tools, they have been heavyweight and/or proprietary. Prof2dot is a simple tool for converting profiling information into a graphica

Re: ANN: ghc 6.8.2 from MacPorts

2008-03-07 Thread Gregory Wright
Hi Wouter, On Mar 6, 2008, at 12:57 PM, Wouter Swierstra wrote: Hi Greg, Thanks again for maintaining ghc in macports! I tried installing ghc through macports. Unfortunately, the build failed with the following error message below. I'd be happy to send you a complete log, if you think it

Re: ANN: ghc 6.8.2 from MacPorts

2008-03-05 Thread Gregory Wright
On Mar 5, 2008, at 4:21 AM, Jinwoo Lee wrote: Thank you! But "ghc" has disappeared from MacPorts SW list. Only "ghc-devel" can be seen. Please look into it. ghc vanished from the distribution server for a few hours yesterday because of a unanticipated corner case in the indexing script. (

ANN: ghc 6.8.2 from MacPorts

2008-03-04 Thread Gregory Wright
After what many would consider an unconscionable delay, I am happy to announce that ghc 6.8.2 is available from MacPorts. The ghc 6.8.2 port is available for Tiger/ppc, Tiger/intel and Leopard/ intel. Users with Leopard/ppc are out of luck until for now, for reason discussed earlier on th

Re: patch applied (cabal): make rawSystemStdout put its temp files in the temp dir rather than cwd

2007-12-28 Thread Gregory Wright
Hi Duncan, (Cross-posting to ghc-users since some of the issues were brought up there.) On Dec 2, 2007, at 5:04 PM, Duncan Coutts wrote: Sun Dec 2 14:06:20 PST 2007 Duncan Coutts <[EMAIL PROTECTED]> * make rawSystemStdout put its temp files in the temp dir rather than cwd Should fix

Re: ANNOUNCE: GHC version 6.8.2

2007-12-23 Thread Gregory Wright
Hi Christophe, On Dec 23, 2007, at 11:02 AM, alpheccar wrote: Was someone able to build ghc 6.8.2 on PPC with OS X 10.4 (Tiger) ? I had no problems to build the 6.8.1 but with 6.8.2, I get the error: I was able to build 6.8.2 three times on PPC/Tiger (10.4.11) without error using 6.6.1 as a

Re: [Haskell] Re: ANNOUNCE: GHC version 6.8.2

2007-12-20 Thread Gregory Wright
On Dec 20, 2007, at 5:30 PM, Hugo Pacheco wrote: But is it like days, weeks, months? I really need GHC installed on my intel mac w/ leopard. The new macports ghc should be ready in days to a week, most likely. If you want I can send you the portfile to try, I can't guarantee it but it see

Re: [Haskell] Re: ANNOUNCE: GHC version 6.8.2

2007-12-20 Thread Gregory Wright
Hi, On Dec 20, 2007, at 2:31 PM, Hugo Pacheco wrote: >From the ghc-6.8.2 sources then, I'm just afraid of possible errors, and I don't have any previous ghc installed. Do the sources permit bootstrapping? From what I know... The source distribution needs an installed GHC (version 6.0 at l

Re: Which ghc versions can build ghc-6.8.1?

2007-12-11 Thread Gregory Wright
Hi Simon, On Dec 11, 2007, at 6:13 AM, Simon Marlow wrote: Gregory Wright wrote: Can 6.4 build 6.8.1? Or is a later version required? We test the GHC build with 6.2.2, and the latest released version (previously 6.6.1, now 6.8.1). It's not unlikely that bugs have crept in that

Re: GHC 6.8.1 on Mac OS 10.5 Leopard (Intel) - Configure fails

2007-12-11 Thread Gregory Wright
On Dec 11, 2007, at 3:23 AM, Carsten Keßler wrote: Hi, so does the GMP.framework installed via MacPorts do it, or not?! Apparently, it doesn't: -snip Macintosh-4:~ Carsten$ port installed The following ports are currently installed: ... gmp @4.2.2_0 (active) readline @5.2.007_0+darwi

Re: GHC 6.8.1 on Mac OS 10.5 Leopard (Intel) - Configure fails

2007-12-11 Thread Gregory Wright
On Dec 10, 2007, at 3:21 PM, Carsten Keßler wrote: Basically, I just wanted to get this thing running without too much hassle... Does anyone have an idea why the GHC distribution available via MacPorts does not work at the moment? Hi Carsten, The ghc distribution on MacPorts doesn't su

Which ghc versions can build ghc-6.8.1?

2007-12-06 Thread Gregory Wright
Hi, I'm the process of updating MacPort's ghc to 6.8.1 and adding support for Leopard (OS X 10.5) and have been having] some trouble. The first task is just to get 6.8.1 running on Tiger (10.4). On PPC, I use ghc 6.4 as a bootstrap compiler and on Intel ghc 6.6. I am traveling with on

Re: 6.6.1 + DoCon on Mac OS

2007-09-05 Thread Gregory Wright
Hi Serge, On Sep 4, 2007, at 4:27 AM, Serge D. Mechveliani wrote: People, please, who can advise about ghc-6.6.1 + DoCon on Mac OS ? in DoCon-2.09 and tell whether this installation is likely to work under Mac OS ? How DoCon-2.09 + ghc-6.6.1 can be ported to Mac OS ? I ported DoCon

Re: Failure building HEAD

2007-06-08 Thread Gregory Wright
Hi Ian, On Jun 8, 2007, at 12:03 PM, Ian Lynagh wrote: Hmm, what is the complete command (i.e. with all arguments) that starts "cd base && setup/Setup configure"? make -C libraries all rm -f -f stamp/configure.library.*.base base/unbuildable ( cd base && setup/Setup configure \

Re: Failure building HEAD

2007-06-08 Thread Gregory Wright
Hi Ian, On Jun 8, 2007, at 11:24 AM, Ian Lynagh wrote: On Thu, Jun 07, 2007 at 11:56:35AM -0400, Gregory Wright wrote: Is this a problem with the HEAD branch or do I need a development version of cabal from the darcs repository to build the latest ghc? I'm not sure exactly what you

Failure building HEAD

2007-06-07 Thread Gregory Wright
Hi, Today I was building HEAD using macports and had the error: configure: Using compiler: ../../compiler/ghc-inplace configure: Compiler flavor: GHC configure: Compiler version: 6.7.20070607 configure: Using package tool: ../../utils/ghc-pkg/ghc-pkg-inplace checking for gcc... gcc checking for

Re: ghc-6.6.1 for FreeBSD/amd64 binary distribution

2007-05-30 Thread Gregory Wright
Hi Simon, On May 30, 2007, at 4:05 PM, Simon Marlow wrote: Gregory Wright wrote: I have put a binary distribution of ghc-6.6.1 for FreeBSD/amd64 at http://www.haskell.org/ghc/dist/6.6.1/ghc-6.6.1-x86_64-unknown- freebsd.tar.bz2 yay! Ian will supply a link from the download page in due

ghc-6.6.1 for FreeBSD/amd64 binary distribution

2007-05-30 Thread Gregory Wright
Hi, I have put a binary distribution of ghc-6.6.1 for FreeBSD/amd64 at http://www.haskell.org/ghc/dist/6.6.1/ghc-6.6.1-x86_64-unknown- freebsd.tar.bz2 No documentation or ghci. The former might be easily remedied although using FreeBSD's docbook chain, as suggested in the wiki, fails when

Re: Buildng ghc-devel from macports

2007-04-13 Thread Gregory Wright
Hi Ian, On Apr 13, 2007, at 11:56 AM, Ian Lynagh wrote: On Fri, Apr 13, 2007 at 10:27:54AM -0400, Gregory Wright wrote: I can do this, but the previous procedure worked until a couple of weeks ago. Has something changed? Yes; autoreconf and configure no longer recurse into the

Re: Buildng ghc-devel from macports

2007-04-13 Thread Gregory Wright
Hi Ian, On Apr 13, 2007, at 9:19 AM, Ian Lynagh wrote: On Thu, Apr 12, 2007 at 11:07:03AM -0400, Gregory Wright wrote: configure: No cpphs found configure: No greencard found Setup: Unrecognised flags: --with-cc=gcc make[1]: *** [stamp/configure.library.build-profiling.base] Error 1 make

Re: Buildng ghc-devel from macports

2007-04-12 Thread Gregory Wright
Hi Chris, On Apr 12, 2007, at 9:48 AM, C.M.Brown wrote: Hello, I've been trying to build the ghc-devel package (6.7) from macports. However the build seems to fail half through. Specifically when running the setup for base-2.1: configure: Using compiler: ../../compiler/ghc-inplace configu

Re: FreeBSD/amd64 registerised running

2007-04-11 Thread Gregory Wright
Just a further note on the FreeBSD/amd64 port. I have the mangler fixed up now, so the only remaining issue is the linker. I hope to send patches soon. Best Wishes, Greg ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http:/

Re: FreeBSD/amd64 registerised running

2007-04-10 Thread Gregory Wright
Hi Olli, On Apr 10, 2007, at 1:23 PM, Oliver Braun wrote: Hi Gregory, * Gregory Wright <[EMAIL PROTECTED]> [2007-04-09 12:38 -0400]: I have ghc-6.6 (darcs version from 20070405) running registerized on FreeBSD/amd64. I will certainly provide patches and a binary distributio

Re: FreeBSD/amd64 registerised running

2007-04-09 Thread Gregory Wright
Hi Ian, On Apr 9, 2007, at 12:21 PM, Ian Lynagh wrote: With this patch, we are pretty close. However, there still seems to be something wrong with the splitter. I can make a working registerized compiler if I set splitObjs=NO in build.mk, but it seems as if whatever is wrong with ghc-spli

Re: FreeBSD/amd64 registerised running

2007-04-09 Thread Gregory Wright
Hi Ian, On Apr 9, 2007, at 12:21 PM, Ian Lynagh wrote: On Sun, Apr 08, 2007 at 07:49:24PM -0400, Gregory Wright wrote: I have ghc-6.6 (darcs version from 20070405) running registerized on FreeBSD/amd64. Excellent! Well done, and thanks for persevering! It would be great if you could let

FreeBSD/amd64 registerised running

2007-04-08 Thread Gregory Wright
Hi Ian, Simon, I have ghc-6.6 (darcs version from 20070405) running registerized on FreeBSD/amd64. The FreeBSD version is 6.2. The problem with the compiler crash turned out to be simple. In the FreeBSD header file regex.h, regex_t is defined as typedef struct { int re_magic;

ghc development version (6.7) from MacPorts

2007-04-02 Thread Gregory Wright
Hi, For those who live on the bleeding edge, I have made a port of the latest development version of ghc for OS X through MacPorts. (If you are not familiar with MacPorts, see http://macports.org.) The build is from the darcs repository, and installs its binaries as -6.7. . This naming all

Re: More on FreeBSD/amd64

2007-04-02 Thread Gregory Wright
Hi Ian, On Apr 1, 2007, at 6:22 PM, Ian Lynagh wrote: On Sun, Apr 01, 2007 at 06:10:25PM -0400, Gregory Wright wrote: Ah, remove the #if/#endif around the definition of "puts", its export, and the GHC.Pack import in libraries/base/GHC/Handle.hs No such luck. I even copied &

Re: More on FreeBSD/amd64

2007-04-01 Thread Gregory Wright
Hi Ian, On Apr 1, 2007, at 3:57 PM, Ian Lynagh wrote: Hi Gregory, Is there a version of "print" I can use for debugging these libraries? Just adding "print" causes a cycle in module dependencies. Ah, remove the #if/#endif around the definition of "puts", its export, and the GHC.Pack imp

Re: More on FreeBSD/amd64

2007-04-01 Thread Gregory Wright
Hi Ian, On Mar 29, 2007, at 8:36 PM, Ian Lynagh wrote: Hmm, oh well. OK, so we know that the wrong value is being passed to newPinnedByteArray#, right? There aren't many calls to that: libraries/base/Foreign/Marshal/Alloc.hs libraries/base/GHC/ForeignPtr.hs (4 calls) libraries/b

Re: [Haskell-cafe] ghc-6.7.20070330 on Mac OS X

2007-04-01 Thread Gregory Wright
Hi Ruben, The GHC wiki also has information on this, and should be your first stop if you are experiencing build problems: http://hackage.haskell.org/trac/ghc/wiki/Building/MacOSX At least under MacPorts, I have had no trouble building 6.7-20070330. I will be releasing a new portfile for ghc-d

Re: More on FreeBSD/amd64

2007-03-30 Thread Gregory Wright
Hi Ian, On Mar 30, 2007, at 8:22 AM, Ian Lynagh wrote: On Fri, Mar 30, 2007 at 09:31:07AM +0100, Simon Marlow wrote: Ian Lynagh wrote: OK, so we know that the wrong value is being passed to newPinnedByteArray#, right? There aren't many calls to that: libraries/base/Foreign/Marshal/Alloc

Re: More on FreeBSD/amd64

2007-03-29 Thread Gregory Wright
Hi SImon, On Mar 29, 2007, at 5:40 AM, Simon Marlow wrote: Hi Greg, Good analysis so far. I think you're close to this one. Thank you for checking over what I've done thus far. Based on what you said, I looked at Compat.Unicode and there is indeed a type error in this foreign call: f

More on FreeBSD/amd64

2007-03-28 Thread Gregory Wright
Hi Ian, I have made some more progress on understanding the build failure on FreeBSD/amd64. I could use a check on my understanding of the problem, though. The setup: I have an unregisterized ghc-6.4.2 successfully built on FreeBSD/amd64. It was bootstrapped from .hc files compiled on FreeBS

Re: FreeBSD/amd64 port: more progress

2007-03-15 Thread Gregory Wright
Hi Ian, On Mar 15, 2007, at 6:06 PM, Ian Lynagh wrote: On Thu, Mar 15, 2007 at 05:15:02PM -0400, Gregory Wright wrote: in build.mk, so I assume it has optimization on. Can I simply add GhcRtsHcOpts += -O0 or should I change SRC_HC_OPTS with SRC_HC_OPTS += -O0 in the build.mk of the

Re: FreeBSD/amd64 port: more progress

2007-03-15 Thread Gregory Wright
Hi Ian, On Mar 15, 2007, at 12:21 PM, Ian Lynagh wrote: I think the first thing to do is to see if newPinnedByteArrayzh_fast is being passed plausible values. The easiest way is probably to set a breakpoint in gdb on newPinnedByteArrayzh_fast (Having "GhcRtsHcOpts += -keep-hc-files" in mk/

FreeBSD/amd64 port: more progress

2007-03-15 Thread Gregory Wright
Hi Ian, I'm building ghc-6.6.20070314 using the unregisterized ghc-6.4.2. (BTW, the unregisterized 6.4.2 seems quite reliable. I was able to build happy-1.15 and alex-2.0.1 without any problem.) I configured 6.6.20070314 for debugging by putting GhcUnregisterised=YES GhcWithNativeCodeGen=NO G

Progress building unregisterised for FreeBSD/amd64

2007-03-13 Thread Gregory Wright
Hi Ian, I have made some progress. Today I got 6.4.2 to build unregisterized on my FreeBSD/amd64 box. I went back to 6.4.2 because the only actual report of success I could find record of was Wilhelm Kloke's. He used 6.4.1. I made certain I had exactly the same versions of readline and gm

Still trying to build unregisterised for FreeBSD/amd64

2007-03-08 Thread Gregory Wright
Hi, I have made some progress in compiling ghc-6.6 unregisterised for freebsd/amd64, but I am stuck again. To get the build on the host (freebsd/i386) to go through, I had to fix up Linker.c so that it would build. (Linker.c seems to define at least one utility function required by the

Re: Building unregisterised for FreeBSD/amd64

2007-03-02 Thread Gregory Wright
Hi Christian, On Mar 2, 2007, at 11:40 AM, Christian Maeder wrote: Gregory Wright schrieb: cabal fails to build because it requires HSrts. This aborts the library build leaving me with an incomplete set of libraries. Is there a simple way to tell the build not to make cabal? I think

Building unregisterised for FreeBSD/amd64

2007-03-02 Thread Gregory Wright
Hi, I'm trying to get ghc-6.6 running on my FreeBSD/amd64 box. It seems as if the build instructions are stale again. When I run $ cd /tmp/ghc-6.6/rts && gmake boot && gmake it falls over in the RTS, as noted in the documentation. But at the next step, when the libraries are buil

Re: Problem running X11 on PPC Mac

2006-11-15 Thread Gregory Wright
Hi Deborah: On Nov 15, 2006, at 10:37 AM, Deborah Goldsmith wrote: On Nov 15, 2006, at 6:14 AM, Christian Maeder wrote: Gregory Wright schrieb: /opt/local/lib/ghc-6.6/HSX11_cbits.o: unknown symbol `_printf $LDBLStub' I think I remember seeing something like this. I'll look into

Re: Problem running X11 on PPC Mac

2006-11-15 Thread Gregory Wright
Hi Christian, On Nov 15, 2006, at 9:14 AM, Christian Maeder wrote: Gregory Wright schrieb: /opt/local/lib/ghc-6.6/HSX11_cbits.o: unknown symbol `_printf $LDBLStub' I think I remember seeing something like this. I'll look into it some more. That's a gcc problem. I think

Re: Problem running X11 on PPC Mac

2006-11-13 Thread Gregory Wright
Hi Brad, On Nov 13, 2006, at 7:22 AM, Brad wrote: On 13/11/06, Gregory Wright <[EMAIL PROTECTED]> wrote: Brad, Did you apply the recent X11 update from Apple after you compiled ghc? I did. If so, you might try uninstalling, cleaning and rebuilding the macports ghc. I did try tha

Re: Problem running X11 on PPC Mac

2006-11-13 Thread Gregory Wright
Brad, Did you apply the recent X11 update from Apple after you compiled ghc? If so, you might try uninstalling, cleaning and rebuilding the macports ghc. There is a path issue; you should not have to specify DYLIB_LIBRARY_PATH. At least in macports, this should be easy to fix. Greg On

Re: OpenGL failing with Mac Intel 6.6 distribution

2006-10-28 Thread Gregory Wright
On Oct 28, 2006, at 1:41 PM, Deborah Goldsmith wrote: On Oct 28, 2006, at 10:14 AM, Gregory Wright wrote: My guess is that your compiler was built without OpenGL support. If you downloaded a binary compiler, you're stuck until someone adds it. Look at the output of ghc-pkg

Re: GHC 6.6 for OS X using MacPorts

2006-10-28 Thread Gregory Wright
ter at the apple developer site.) -Greg Aaron On Oct 28, 2006, at 9:54 AM, Gregory Wright wrote: Hi Aaron, On Oct 27, 2006, at 12:42 PM, Aaron Tomb wrote: Hello, The Portfile has made it to the servers, but installation doesn't complete successfully for me (on Intel/10.4.8). The f

Re: GHC 6.6 for OS X using MacPorts

2006-10-28 Thread Gregory Wright
rts is not smart enough to do that yet, but if you don't, you will have all kinds of unpredictable problems. -Greg Aaron On Oct 27, 2006, at 6:59 AM, Gregory Wright wrote: Hi, GHC 6.6 is now available for OS X systems on both Intel and PowerPC processors using the MacPorts infra

Re: OpenGL failing with Mac Intel 6.6 distribution

2006-10-28 Thread Gregory Wright
Hi Deborah, On Oct 27, 2006, at 5:21 PM, Deborah Goldsmith wrote: I'm attempting to build frag on Mac OS X Intel with the 6.6 distribution, and I hit the following: /tmp/ghc25850_0/ghc25850_0.hc:5:22: error: HsOpenGL.h: No such file or directory A comparison of the C include directori

Re: GHC 6.6 for OS X using MacPorts

2006-10-28 Thread Gregory Wright
e. Best WIshes, Greg Aaron On Oct 27, 2006, at 6:59 AM, Gregory Wright wrote: Hi, GHC 6.6 is now available for OS X systems on both Intel and PowerPC processors using the MacPorts infrastructure. The compiler is built from source, using a binary bootstrap compiler. OS X versions 10.3

Re: GHC 6.6 for OS X using MacPorts

2006-10-27 Thread Gregory Wright
ouple of times per day, IIRC.) If by, say, UTC 28 Oct 2006 you don't see the new portfiles, let me know. Something might be wacky with the server. Sorry for the delay. Best Wishes, Greg Kind regards, Chris Brown, On Fri, 27 Oct 2006, Gregory Wright wrote: Hi, GHC 6.6 is now

GHC 6.6 for OS X using MacPorts

2006-10-27 Thread Gregory Wright
bleeding edge. Best Wishes, Greg Gregory Wright Antiope Associates LLC [EMAIL PROTECTED] ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Re: ANNOUNCE: GHC 6.6 Release Candidate

2006-09-05 Thread Gregory Wright
Hi Simon, Which version of the testsuite should I be using to test my builds of the release candidates? Best Wishes, Greg On Sep 1, 2006, at 6:03 AM, Simon Marlow wrote: Only a week late, we are pleased to announce the Release Candidate phase for GHC 6.6. Snapshots beginning with

Re: [GHC] #729 Build system uses wrong version of include files.

2006-09-01 Thread Gregory Wright
Shaun,Could you run sudo port clean ghc sudo port -dv install ghc > install.log 2>&1and send the install.log file?  The "-dv" flag supply verbosedebugging output.  Running clean first shouldclean out any junk left over from a failed build. (You shouldalways run it if for some reason a build failed

Re: 6.4.3 and threaded RTS problems

2006-08-28 Thread Gregory Wright
003(normal) utf8_004(normal) utf8_005(normal) On 8/24/06, Gregory Wright <[EMAIL PROTECTED]> wrote: Here's what happened (this is after I applied David Kirkman's SMP.h patch to my tree). When I said 132 failures I was speaking from memory. The actual number was 136, as n

Re: 6.4.3 and threaded RTS problems

2006-08-24 Thread Gregory Wright
Hi Simon, On Aug 24, 2006, at 7:34 AM, Simon Marlow wrote: Gregory Wright wrote: I built HEAD and ran ghc-regress last week. It looks like the compiler crashes are almost all gone. There are still 132 unexpected failures, but only one compiler crash. Are these crashes all for the

Re: 6.4.3 and threaded RTS problems

2006-08-24 Thread Gregory Wright
Hi Simon, On Aug 24, 2006, at 7:34 AM, Simon Marlow wrote: Gregory Wright wrote: I built HEAD and ran ghc-regress last week. It looks like the compiler crashes are almost all gone. There are still 132 unexpected failures, but only one compiler crash. Are these crashes all for the

Re: 6.4.3 and threaded RTS problems

2006-08-24 Thread Gregory Wright
Hi Simon, On Aug 24, 2006, at 3:56 AM, Simon Marlow wrote: Hi Folks, Roman Leshchinskiy and I looked into the 6.4.3 crashes on Sparc/ Solaris yesterday. I think we may have found the problem, and it seems likely that this is the same problem affecting 6.4.3 on MacOS X. The threaded RTS

Re: GHC 6.4.3 is stalled

2006-08-04 Thread Gregory Wright
g 6.4.2 on it. On MacOS X / PPC, we have a crashing stage2 when linked against the threaded RTS. Gregory Wright is trying to reproduce the problem on a smaller scale (with something other than GHC). The "timeout hanging" problem apparently happens on MacOS X/Intel too (according to J

Re: Rebuilding GHC on Mac OSX PPC

2006-08-01 Thread Gregory Wright
Hi, This is probably the libedit issue. On OS X, NetBSD's libedit is installed. Libedit provides a partial implementation of the readline API. On OS X, Apple has symlinked /usr/lib/libreadline.dylib to libedit. This is not a good idea. I submitted at patch to fix this and I think it w

Re: Re[2]: GHC 6.4.3 is stalled

2006-07-28 Thread Gregory Wright
On Jul 28, 2006, at 6:28 AM, Bulat Ziganshin wrote: Hello Gregory, Thursday, July 27, 2006, 11:06:41 PM, you wrote: 3. Did the threaded RTS work on 6.4.1? Was it used by default? on 6.4.1 threaded RTS was used only in specially build libs. in debugging versions of libs and GHCi single-thr

Re: Rebuilding GHC on Mac OSX PPC

2006-07-28 Thread Gregory Wright
Hi Joel, On Jul 28, 2006, at 7:50 AM, Joel Reymont wrote: On Jul 28, 2006, at 11:42 AM, Simon Marlow wrote: You shouldn't have to run configure again, but make clean definitely. I still get the same allocateExec error. I'm still not sure how updating configure.ac in ghc and making clean

  1   2   >