[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] CHICKEN 4.9.0rc1 is available
From: |
Tim van der Linden |
Subject: |
Re: [Chicken-users] CHICKEN 4.9.0rc1 is available |
Date: |
Sun, 20 Apr 2014 10:47:13 +0900 |
On Sun, 20 Apr 2014 01:39:30 +0200
Peter Bex <address@hidden> wrote:
> On Sun, Apr 20, 2014 at 08:22:33AM +0900, Tim van der Linden wrote:
> > You are completely right, it now builds with Clang
>
> Thanks for double-checking!
You are welcome :-)
> > Sorry for the less-then-accurate test with Clang in my previous mail.
> > Strange though, I did run a:
> >
> > $ make PLATFORM=linux clean
> >
> > before attempting to build with a different compiler.
> > This worked on the i7 machine...but apparently not on the Atom.
>
> Hm, this could be a bug in the Makefile. Can you reproduce this?
> Try running another build with gcc, then "make clean" and then
> building again with clang.
I started with a freshly extracted tarball. Let me outline my steps.
First, I built with GCC using the following command:
$ make PLATFORM=linux PREFIX=/home/tim/chicken-build/chicken-4.9.0rc1 install
check
All went well, testing time was 28 minutes and 15 seconds
Next, I cleaned the build area using just "make clean":
$ make PLATFORM=linux clean
No errors. Then I build again with Clang as the compiler:
$ make PLATFORM=linux C_COMPILER=clang
PREFIX=/home/tim/chicken-build/chicken-4.9.0rc1 install check
Build succeeded, tests failed at exactly the same point with the same message
(around 10 minutes in the total process):
[panic] `##sys#error-hook' is not defined - the `library' unit was probably not
linked with this executable - execution terminated
Then, I tried the suggested "make confclean", right after the tests failed:
$ make PLATFORM=linux confclean
And I ran make again with Clang as the compiler:
$ make PLATFORM=linux C_COMPILER=clang
PREFIX=/home/tim/chicken-build/chicken-4.9.0rc1 install check
This makes the build and the test succeed in a total time of 13 minutes and 10
seconds.
I also tried this *exact* procedure again on the i7 based machine, and all went
well, just like before. Builds and tests fine.
> "make confclean" should be more thorough, but I think "make clean"
> should really be enough.
>
> Cheers,
> Peter
> --
> http://www.more-magic.net
Hope this info helps.
If there is anything else I can test or do to clarify, just let me know!
Cheers,
T
Re: [Chicken-users] CHICKEN 4.9.0rc1 is available, Hugo Arregui, 2014/04/18
Re: [Chicken-users] CHICKEN 4.9.0rc1 is available, Tim van der Linden, 2014/04/19
Re: [Chicken-users] CHICKEN 4.9.0rc1 is available, Matt Welland, 2014/04/20
Re: [Chicken-users] CHICKEN 4.9.0rc1 is available, Andy Bennett, 2014/04/23
Re: [Chicken-users] CHICKEN 4.9.0rc1 is available, Mario Domenech Goulart, 2014/04/23
Re: [Chicken-users] CHICKEN 4.9.0rc1 is available, Alex Charlton, 2014/04/24