[ANN] CHICKEN 5.2.0 release candidate available

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

[ANN] CHICKEN 5.2.0 release candidate available

Peter Bex
Hello everyone,

We are happy to announce the first release candidate of the upcoming
CHICKEN 5.2.0.

CHICKEN 5.2.0rc1 is now available at this location:
https://code.call-cc.org/dev-snapshots/2020/01/12/chicken-5.2.0rc1.tar.gz

The SHA256 sum of that tarball is
bf651739d7b1588b9f8b860975171987cb81566627f6fbcdf956637d35089bdc

This is mostly a maintenance and bugfix release.

One important change might cause breakage of existing code: CHICKEN will
now error out when you use -c with multiple files (see #1655) for more
info.

Another change that might expose bugs in existing code, thereby
possibly breaking it is that modules won't pollute the global namespace
anymore when imported.  This may expose missing imports in macro code,
because an import won't make the imports available for compile-time code.
See #1548 for more info.

The complete list of changes since version 5.1.0 is available here:
https://code.call-cc.org/dev-snapshots/2020/01/12/NEWS

Please give it a test and report your findings to the mailing list.

Here's a suggested test procedure:

  $ make PLATFORM=<platform> PREFIX=<some dir> install check
  $ <some dir>/bin/chicken-install pastiche

If you want to build CHICKEN with a compiler other than the default one,
just use C_COMPILER=<the compiler> (e.g., C_COMPILER=clang) on the make
invocation.

Of course, feel free to explore other supported build options (see the
README file for more information) and actually use CHICKEN 5.2.0rc1 for
your software.

If you can, please let us know the following information about the
environment you tested the RC tarball on:

Operating system: (e.g., FreeBSD 12.0, Debian 9, Windows 10 mingw-msys under
mingw32)
Hardware platform: (e.g., x86, x86-64, PPC)
C Compiler: (e.g., GCC 6.4.0, clang 5.0.0)
Installation works?: yes or no
Tests work?: yes or no
Installation of eggs works?: yes or no

Thanks in advance!

The CHICKEN Team

signature.asc (499 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] CHICKEN 5.2.0 release candidate available

felix.winkelmann
OS: OpenBSD 6.5
Hw: x86_64
cc: gcc version 4.2.1 20070719

Build, check and install works, but pastiche depends on
sql-de-lite which needs to be patched for 5.2.0. I tried with
awful, which also a bunch of dependencies, which worked fine.


felix


Reply | Threaded
Open this post in threaded view
|

Re: [ANN] CHICKEN 5.2.0 release candidate available

Thomas Chust
In reply to this post by Peter Bex
On Sun, 12 Jan 2020 13:29:06 +0100 Peter Bex <[hidden email]>
wrote:

> [...]
> We are happy to announce the first release candidate of the upcoming
> CHICKEN 5.2.0.
> [...]
> Please give it a test and report your findings to the mailing list.
> [...]

Hello,

Operating system: Linux Mint 18.3 (based on Ubuntu 16.04)
Hardware platform: x86-64
C Compiler: GCC 9.2.0
Installation works?: yes
Tests work?: yes
Installation of eggs works?: yes

The list of installed eggs is attached to this message,
`chicken-install -test ...` reported no errors.

Ciao,
Thomas


--
Any large-scale human cooperation — whether a modern state, a medieval
church, an ancient city or an archaic tribe — is rooted in common myths
that exist only in people's collective imagination.
-- Yuval Noah Harari, "Sapiens"

chicken-status.txt (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] CHICKEN 5.2.0 release candidate available

Peter Bex
In reply to this post by Peter Bex
On Sun, Jan 12, 2020 at 01:29:06PM +0100, Peter Bex wrote:
> If you can, please let us know the following information about the
> environment you tested the RC tarball on:

I tested on FreeBSD again.

Works with gcc:

Operating system: FreeBSD 12.0
Hardware platform: x86-64
C Compiler: GCC 9.2.0
Installation works?: yes
Tests work?: yes
Installation of eggs works?: yes

And clang also works:

Operating system: FreeBSD 12.0
Hardware platform: x86-64
C Compiler: clang 6.0.1
Installation works?: yes
Tests work?: yes
Installation of eggs works?: yes

Cheers,
Peter

signature.asc (499 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] CHICKEN 5.2.0 release candidate available

Vasilij Schneidermann-2
In reply to this post by Peter Bex
Hello,

Operating system: Windows 10 mingw-msys under mingw32
Hardware platform: x86
C Compiler: MinGW.org GCC-8.2.0-5
Installation works?: yes
Tests work?: no
Installation of eggs works?: yes

I've tried the `chicken-install pastiche` check, it fails as expected on sql-de-lite.

`make check` log:

    C:\Users\schnev\Downloads\chicken-5.2.0rc1>make PLATFORM=mingw-msys PREFIX=C:/chicken/ check
    cd tests; sh runtests.sh
    ======================================== repository search path ...
    (C:/chicken//lib/chicken/11)
    (PASS) (repository-path) contains something by default
     TOTALS:
      1 tests completed in 0.029 seconds
      1 (100.00%) tests passed
      0 (0.00%) tests failed
    "C:/Users/schnev/Downloads/chicken-5.2.0rc1/tests/../chicken "sample-module.scm" -output-file "sample-module.c" -dynamic -feature chicken-compile-shared -verbose -include-path C:/Users/schnev/Downloads/chicken-5.2.0rc1/tests/.. -consult-types-file ../types.db -ignore-repository -emit-import-library sample-module"
    generating import library `sample-module.import.scm' for module `sample-module' ...
    ""gcc" "sample-module.c" -o "sample-module.obj" -c  -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -Os -DPIC -DC_SHARED -IC:/Users/schnev/Downloads/chicken-5.2.0rc1/tests/.. -IC:/chicken//include/chicken"
    rm sample-module.c
    ""gcc" "sample-module.obj" -o "sample-module.so" -Wl,--enable-auto-import -shared -LC:/Users/schnev/Downloads/chicken-5.2.0rc1/tests/.. -LC:/Users/schnev/Downloads/chicken-5.2.0rc1/tests/.. -lchicken -lm -lws2_32"
    rm sample-module.obj
    (PASS) find-file on #f
    (PASS) find-file on string
    (PASS) find-file on list
    (FAIL) (repository-path) is populated by CHICKEN_REPOSITORY_PATH: expected ("C:/Users/schnev/Downloads/chicken-5.2.0rc1/tests/.." "C:/Users/schnev/Downloads/chicken-5.2.0rc1/tests/test-repository") but got ("C:\\Users\\schnev\\Downloads\\chicken-5.2.0rc1\\" "C:\\Users\\schnev\\Downloads\\chicken-5.2.0rc1\\tests\\test-repository")
    (PASS) setting (repository-path) and loading a library
    (PASS) Putting garbage in (repository-path)
     TOTALS:
      6 tests completed in 0.051 seconds
      5 (83.33%) tests passed
      1 (16.66%) tests failed
    make: *** [check] Error 1

Vasilij

signature.asc (499 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] CHICKEN 5.2.0 release candidate available

Sven Hartrumpf-3
In reply to this post by Peter Bex
Hi.

The RC1 generates uncompilable C code for my Scheme code.
This code worked for all previous Chicken versions (tested
today: 5.1.0).
If I use csc -O3 (-O2 is ok), I get 19 gcc errors, e.g.

nallch.c:1395027: error: void value not ignored as it ought to be
 av2[3]=C_rest_arg_out_of_bounds_error(C_fix(0),C_fix(0),C_fix(0));

If I increase the optimization level to csc -O5, the error changes
because this function call is inlined in the argument position of another
function call, e g.

'gcc-8' 'nallch.c' -o 'nallch.o' -c  -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -O1 -march=nehalem -I/usr/local/chicken-5.2.0-64/include/chicken
nallch.c: In function f_574889
nallch.c:924744: error: invalid use of void expression
 f_606388(t2,lf[908],C_rest_arg_out_of_bounds_error(C_fix(0),C_fix(0),C_fix(0)));}

As other C problems in past weeks, it is related to the
optimization of rest args. I like this optimization, but it seems to be more
and more tricky ...

Does anyone have a simple test case for such errors with rest args
when compiling with -O3 or higher?

Ciao
Sven

Reply | Threaded
Open this post in threaded view
|

Re: [ANN] CHICKEN 5.2.0 release candidate available

Peter Bex
On Wed, Jan 15, 2020 at 08:32:05AM +0100, Sven Hartrumpf wrote:
> Hi.
>
> The RC1 generates uncompilable C code for my Scheme code.
> This code worked for all previous Chicken versions (tested
> today: 5.1.0).
> If I use csc -O3 (-O2 is ok), I get 19 gcc errors, e.g.
>
> nallch.c:1395027: error: void value not ignored as it ought to be
>  av2[3]=C_rest_arg_out_of_bounds_error(C_fix(0),C_fix(0),C_fix(0));

Hi Sven,

Thanks for reporting.  I'll try to whip up a minimal test case.  Fixing
shouldn't be too hard (though it is a bit annoying; ideally this should
be both noreturn and void).

Cheers,
Peter

signature.asc (499 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [ANN] CHICKEN 5.2.0 release candidate available

Alexander Shendi
In reply to this post by Peter Bex
Dear List,

OS: Debian 9.11, Linux 4.4.19, aarch64 Kernel, armv7hf user land.
Hardware: Pinebook Pro (aarch64/arm64)
Compiler: GCC 6.3.0-18+deb9u1

I have followed the instructions and done:

1. make PREFIX=$HOME/.local/chicken/5.2.0rc1 PLATFORM=linux C_COMPILER=gcc
2. make PREFIX=$HOME/.local/chicken/5.2.0rc1 PLATFORM=linux C_COMPILER=gcc install
3. make PREFIX=$HOME/.local/chicken/5.2.0rc1 PLATFORM=linux C_COMPILER=gcc check
4. ~/.local/chicken/5.2.0rc1/bin/chicken-install r7rs
5. ~/.local/chicken/5.2.0rc1/bin/chicken-install hyde

All steps succeeded (The output from step 3 was a bit confusing, but make proceeded without error). I chose to install the r7rs and Hyde eggs because I need them for my work.

Also, as you can see, the install is local to my home directory.

Best Regards,

Alexander

Am 12. Januar 2020 13:29:06 MEZ schrieb Peter Bex <[hidden email]>:
Hello everyone,

We are happy to announce the first release candidate of the upcoming
CHICKEN 5.2.0.

CHICKEN 5.2.0rc1 is now available at this location:
https://code.call-cc.org/dev-snapshots/2020/01/12/chicken-5.2.0rc1.tar.gz

The SHA256 sum of that tarball is
bf651739d7b1588b9f8b860975171987cb81566627f6fbcdf956637d35089bdc

This is mostly a maintenance and bugfix release.

One important change might cause breakage of existing code: CHICKEN will
now error out when you use -c with multiple files (see #1655) for more
info.

Another change that might expose bugs in existing code, thereby
possibly breaking it is that modules won't pollute the global namespace
anymore when imported. This may expose missing imports in macro code,
because an import won't make the imports available for compile-time code.
See #1548 for more info.

The complete list of changes since version 5.1.0 is available here:
https://code.call-cc.org/dev-snapshots/2020/01/12/NEWS

Please give it a test and report your findings to the mailing list.

Here's a suggested test procedure:

$ make PLATFORM=<platform> PREFIX=<some dir> install check
$ <some dir>/bin/chicken-install pastiche

If you want to build CHICKEN with a compiler other than the default one,
just use C_COMPILER=<the compiler> (e.g., C_COMPILER=clang) on the make
invocation.

Of course, feel free to explore other supported build options (see the
README file for more information) and actually use CHICKEN 5.2.0rc1 for
your software.

If you can, please let us know the following information about the
environment you tested the RC tarball on:

Operating system: (e.g., FreeBSD 12.0, Debian 9, Windows 10 mingw-msys under
mingw32)
Hardware platform: (e.g., x86, x86-64, PPC)
C Compiler: (e.g., GCC 6.4.0, clang 5.0.0)
Installation works?: yes or no
Tests work?: yes or no
Installation of eggs works?: yes or no

Thanks in advance!

The CHICKEN Team

--
You have zero privacy anyway. Get over it.

Scott McNealy 1999