RE: Unregistered build (was Re: AMD64)

2004-06-18 Thread Simon Marlow
On 17 June 2004 13:09, Bennett Todd wrote: 2004-06-17T09:04:40 Simon Marlow: Hmmm. Try these please: make show VALUE=ProjectsToBuild make show VALUE=ProjectsThatExist make show VALUE=SUBDIRS bash-2.05b$ make show VALUE=ProjectsToBuild ProjectsToBuild= bash-2.05b$ make show

RE: Unregistered build (was Re: AMD64)

2004-06-18 Thread Simon Marlow
On 17 June 2004 17:30, Peter Robinson wrote: On Thursday 17 June 2004 17:38, Simon Marlow wrote: It looks like registerised compilation on x86_64 isn't quite working yet, then. If you're up to debugging this, then I suggest you start from a simpler program - try hello world registerised, and

Re: Unregistered build (was Re: AMD64)

2004-06-18 Thread Bennett Todd
2004-06-18T01:57:14 Donald Bruce Stewart: That's interesting. GHC unregisterised on amd64/openbsd *does* pass all the testsuite tests. Which brings us around to the question that opened this thread, is there any way to install the unregistered build? Thanks, -Bennett pgpxPpD8HzWZd.pgp

Re: Unregistered build (was Re: AMD64)

2004-06-18 Thread Donald Bruce Stewart
bet: 2004-06-18T01:57:14 Donald Bruce Stewart: That's interesting. GHC unregisterised on amd64/openbsd *does* pass all the testsuite tests. Which brings us around to the question that opened this thread, is there any way to install the unregistered build? Yes. Download and build the src,

Re: Unregistered build (was Re: AMD64)

2004-06-18 Thread Peter Robinson
On Friday 18 June 2004 15:39, Donald Bruce Stewart wrote: bet: Which brings us around to the question that opened this thread, is there any way to install the unregistered build? Yes. Download and build the src, and 'make install' :-) For some platforms unregistered builds are even being

Re: Unregistered build (was Re: AMD64)

2004-06-18 Thread Donald Bruce Stewart
listener: On Friday 18 June 2004 15:39, Donald Bruce Stewart wrote: bet: Which brings us around to the question that opened this thread, is there any way to install the unregistered build? Yes. Download and build the src, and 'make install' :-) For some platforms unregistered

RE: Unregistered build (was Re: AMD64)

2004-06-17 Thread Simon Marlow
On 17 June 2004 10:59, Gerd M wrote: I managed to create an unregistered build that compiles the hello world example. # file hello hello: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.0, dynamically linked (uses shared libs), not stripped Great!

Re: Unregistered build (was Re: AMD64)

2004-06-17 Thread Bennett Todd
2004-06-17T09:04:40 Simon Marlow: Hmmm. Try these please: make show VALUE=ProjectsToBuild make show VALUE=ProjectsThatExist make show VALUE=SUBDIRS bash-2.05b$ make show VALUE=ProjectsToBuild ProjectsToBuild= bash-2.05b$ make show VALUE=ProjectsThatExist ProjectsThatExist=

RE: Unregistered build (was Re: AMD64)

2004-06-17 Thread Gerd M
Simon Marlow wrote: This one looks like a failure from GCC, not GHC. If possible, you should send a bug report to the GCC folks or Gentoo as requested. You could try using a different version of GCC to work around the problem. Unfortunately I've only got one gcc version installed at the moment

Re: Unregistered build (was Re: AMD64)

2004-06-17 Thread Peter Robinson
On Thursday 17 June 2004 15:01, Gerd M wrote: Unfortunately I've only got one gcc version installed at the moment and I'm not sure if installing another version won't break something... Maybe I will give it another try later this week, thanks for your help so far! Regards Gerd Since I'm

RE: Unregistered build (was Re: AMD64)

2004-06-17 Thread Simon Marlow
On 17 June 2004 14:08, Peter Robinson wrote: ==fptools== make all -wr; in /home/thaldyron/var/ghcbuild/ghc-6.2.20040613/libraries/base rm -f

Re: Unregistered build (was Re: AMD64)

2004-06-17 Thread Peter Robinson
Well the build finally succeeded but unfortunately I immediately get a segfault when running ghc/ghci. I've attached the output of # strace -o log ./ghc Cheers Peter On Thursday 17 June 2004 15:25, Simon Marlow wrote: On 17 June 2004 14:08, Peter Robinson wrote:

RE: Unregistered build (was Re: AMD64)

2004-06-17 Thread Simon Marlow
On 17 June 2004 16:29, Peter Robinson wrote: Well the build finally succeeded but unfortunately I immediately get a segfault when running ghc/ghci. I've attached the output of # strace -o log ./ghc It looks like registerised compilation on x86_64 isn't quite working yet, then. If you're up

Re: Unregistered build (was Re: AMD64)

2004-06-17 Thread Donald Bruce Stewart
listener: On Thursday 17 June 2004 17:38, Simon Marlow wrote: It looks like registerised compilation on x86_64 isn't quite working yet, then. If you're up to debugging this, then I suggest you start from a simpler program - try hello world registerised, and then slightly larger programs

RE: Unregistered build (was Re: AMD64)

2004-06-16 Thread Gerd M
Simon Marlow wrote: After hc-build, you should unpack a completely fresh GHC source tree, somewhere else. Then 'cd' into this tree, and issue the configure/make commands. I tried this and got as far as: ==fptools== make all

RE: Unregistered build (was Re: AMD64)

2004-06-16 Thread Simon Marlow
On 16 June 2004 11:00, Gerd M wrote: Simon Marlow wrote: After hc-build, you should unpack a completely fresh GHC source tree, somewhere else. Then 'cd' into this tree, and issue the configure/make commands. I tried this and got as far as:

RE: Unregistered build (was Re: AMD64)

2004-06-16 Thread Gerd M
Simon Marlow wrote: It looks like HC bootstrapping is enabled in this tree; it shouldn't be. Just use a completely fresh source tree, don't configure with --enable-hc-boot, and don't unpack any HC files into it. If I use a fresh source tree without HCs then I need the unregistered build to

Re: Unregistered build (was Re: AMD64)

2004-06-16 Thread Bennett Todd
2004-06-16T10:33:49 Simon Marlow: On 15 June 2004 16:24, Bennett Todd wrote: 2004-06-15T14:52:53 Simon Marlow: After hc-build, you should unpack a completely fresh GHC source tree, somewhere else. Then 'cd' into this tree, and issue the configure/make commands. Alas, no joy; again,

RE: Unregistered build (was Re: AMD64)

2004-06-16 Thread Simon Marlow
On 16 June 2004 13:19, Gerd M wrote: Simon Marlow wrote: It looks like HC bootstrapping is enabled in this tree; it shouldn't be. Just use a completely fresh source tree, don't configure with --enable-hc-boot, and don't unpack any HC files into it. If I use a fresh source tree without HCs

Re: Unregistered build (was Re: AMD64)

2004-06-16 Thread Bennett Todd
2004-06-16T13:26:45 Simon Marlow: Bennett, who said he had a working unregisterised build. I'm by no means a Haskell expert, or even a Haskell programmer; but my unregistered build does do hello.hs successfully. -Bennett pgp9V3uOTefQY.pgp Description: PGP signature

RE: Unregistered build (was Re: AMD64)

2004-06-15 Thread Simon Marlow
On 14 June 2004 21:57, Gerd M wrote: Well I just tried it and that's what happened: ==fptools== make boot - --no-print-directory -r; in ghc-6.2.1/ghc/utils/ghc-pkg

Re: Unregistered build (was Re: AMD64)

2004-06-15 Thread Bennett Todd
2004-06-14T16:06:05 Simon Marlow: You probably don't want to install the registerised build; just use it to build a fresh tree: $ ./configure --with-ghc=/unregisterised-build/ghc/compiler/ghc-inplace $ make Everything was fine up to there, but make does nothing at all. I followed the

RE: Unregistered build (was Re: AMD64)

2004-06-15 Thread Simon Marlow
On 15 June 2004 14:18, Bennett Todd wrote: 2004-06-14T16:06:05 Simon Marlow: You probably don't want to install the registerised build; just use it to build a fresh tree: $ ./configure --with-ghc=/unregisterised-build/ghc/compiler/ghc-inplace $ make Everything was fine up to

Re: Unregistered build (was Re: AMD64)

2004-06-15 Thread Bennett Todd
2004-06-15T14:52:53 Simon Marlow: On 15 June 2004 14:18, Bennett Todd wrote: ./distrib/hc-build ... ./configure --with-ghc=`pwd`/ghc/compiler/ghc-inplace make That last make didn't do anything. After hc-build, you should unpack a completely fresh GHC source tree, somewhere else.

Re: Unregistered build (was Re: AMD64)

2004-06-15 Thread Bennett Todd
2004-06-15T14:52:53 Simon Marlow: After hc-build, you should unpack a completely fresh GHC source tree, somewhere else. Then 'cd' into this tree, and issue the configure/make commands. Alas, no joy; again, make does nothing. These Makefiles are cleverer than I am, I can't quite figure out

RE: Unregistered build (was Re: AMD64)

2004-06-14 Thread Simon Marlow
On 02 June 2004 18:40, Bennett Todd wrote: I too would be happy with an unregistered build. I've tried off and on to port ghc to my linux distro (uses static linking against uClibc, glibc isn't present at all). Every time I go through the process, I get stuck at the point where I seem to

Re: Unregistered build (was Re: AMD64)

2004-06-14 Thread Bennett Todd
2004-06-14T16:06:05 Simon Marlow: You probably don't want to install the registerised build; just use it to build a fresh tree: $ ./configure --with-ghc=/unregisterised-build/ghc/compiler/ghc-inplace $ make Thanks, I'll give it another go. It'll be a few days before I can get back with

Re: Unregistered build (was Re: AMD64)

2004-06-14 Thread Gerd M
Well I just tried it and that's what happened: ==fptools== make boot - --no-print-directory -r; in ghc-6.2.1/ghc/utils/ghc-pkg ghc-test/usr/bin/ghc -M

Re: Unregistered build (was Re: AMD64)

2004-06-14 Thread Gerd M
This was causing the error: version = tail \ \ GHC_PKG_VERSION However, when i moved it all in one line it worked and i got as far as this but i think that's the end of the line for now: ==fptools== make boot -wr; in

Unregistered build (was Re: AMD64)

2004-06-02 Thread Bennett Todd
I too would be happy with an unregistered build. I've tried off and on to port ghc to my linux distro (uses static linking against uClibc, glibc isn't present at all). Every time I go through the process, I get stuck at the point where I seem to have a working unregistered build. I can't quite