chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] [PATCH] Several fixes to make CHICKEN work on Sola


From: Mario Domenech Goulart
Subject: Re: [Chicken-hackers] [PATCH] Several fixes to make CHICKEN work on Solaris again
Date: Fri, 21 Feb 2014 01:18:11 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

On Thu, 20 Feb 2014 23:03:37 +0100 Peter Bex <address@hidden> wrote:

> In preparation of the release, I've begun testing on some operating
> systems, starting with GCC on OpenIndiane (a continuation of
> OpenSolaris).  Turns out a lot of things were broken, so here are
> 6 patches to fix them.
>
> The patches should speak for themselves, I think.  The unsetenv one is
> the most involved and might break things on other platforms (but I
> intend to test most of them anyway, so that shouldn't be an issue).
> We should try to move more towards feature-based #ifdef checking rather
> than attempting to roll lots of things into one definition like
> C_GNU_ENV, the name of which makes very little sense when it's defined
> for BSD and Haiku as well as Linux.  And it doesn't have any semantic
> meaning; it was used to detect a timeval slot and the presence of
> unsetenv().

Thanks, Peter.  I've pushed them all after testing them on the following
platforms:

OS                       HW Arch     C compiler
------------------------+-----------+----------
Linux                    x86-64         GCC
Linux                    x86-64        clang
FreeBSD 10               x86-64        clang
Windows XP (mingw)        x86           GCC
Windows XP (cygwin)       x86           GCC
Windows XP (mingw-msys)   x86           GCC
Haiku                     x86           GCC


I faced only a small issue: "make check" hangs on Haiku:

======================================== runtime tests ...
many arguments supported.
testing 'apply' with 0..2048 (maximum apply argument count)...
If this segfaults on x86-64, try updating GCC (4.5 has a code-generation bug):
invoking directly with 0..50...
invoking directly with 1998..2048 (maximum interpreted direct argument count)...
testing 'apply' can detect calls of too many arguments...
testing direct invocation can detect calls of too many arguments...
../chicken 'apply-test.scm' -output-file 'a.c' -verbose -include-path ..
'gcc' 'a.c' -o 'a.o' -c -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H 
-DC_ENABLE_PTABLES -Os -fomit-frame-pointer -I.. 
-I"/Blank_BFS/local/chicken-master/include/chicken"

It seems that gcc gets in an endless (?) loop or something that takes a
very long time hogging the CPU.  If I comment lines 145 and 146 in
runtests.sh, "make check" finishes without problems.

Despite that issue, which I believe to be GCC's and not related to your
patches, I could install pastiche and run awful on Haiku.

GCC on Haiku is 4.6.3.

Best wishes.
Mario
-- 
http://parenteses.org/mario



reply via email to

[Prev in Thread] Current Thread [Next in Thread]