Re: [ANN] CHICKEN 5.2.0 release candidate available

2020-02-10 Thread Vasilij Schneidermann
Hello,

Operating system: Windows 10 mingw-msys2 under mingw64
Hardware platform: x86-64
C Compiler: gcc version 9.2.0 x86_64-w64-mingw32 (Rev2, Built by MSYS2 project)
Installation works?: yes
Tests work?: yes
Installation of eggs works?: yes, the installation of the sql-de-lite
egg fails with "the `-c' option cannot be used in combination with
multiple input files"

Vasilij


signature.asc
Description: PGP signature


Re: [ANN] CHICKEN 5.2.0 release candidate available

2020-01-24 Thread Jeronimo Pellegrini via
Sorry for the delay. It works on my wifi router!

Operating system: OpenWRT 19.07
Hardware platform: MIPS 24KEc V5.0 (little endian)
C Compiler: GCC 7.5.0 
Installation works?: as OpenWRT package
Tests work?: not tested
Installation of eggs works?: not ported

I had previously tested on big endian MIPS. This one is
little endian, so it seems that Chicken works regardless
of endianness on ARM!

csi only, not csc (just because I could not get csc and
gcc to interact properly -- maybe in the future).

But it is enough to do cool tricks (like a server with a
web interface that allows to stop and start connectivity
for specific devices with a single click).

J.



Re: [ANN] CHICKEN 5.2.0 release candidate available

2020-01-15 Thread Alexander Shendi (Web.DE)
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 :
>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= PREFIX= install check
>  $ /bin/chicken-install pastiche
>
>If you want to build CHICKEN with a compiler other than the default
>one,
>just use C_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

Re: [ANN] CHICKEN 5.2.0 release candidate available

2020-01-14 Thread 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
Description: PGP signature


Re: [ANN] CHICKEN 5.2.0 release candidate available

2020-01-14 Thread Sven Hartrumpf
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



Re: [ANN] CHICKEN 5.2.0 release candidate available

2020-01-14 Thread Vasilij Schneidermann
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
Description: PGP signature


Re: [ANN] CHICKEN 5.2.0 release candidate available

2020-01-13 Thread 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
Description: PGP signature


Re: [ANN] CHICKEN 5.2.0 release candidate available

2020-01-12 Thread Thomas Chust
On Sun, 12 Jan 2020 13:29:06 +0100 Peter Bex 
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"
address-info  version: 1.0.5
amb . version: 3.0.0
canvas-draw . version: 1.1.2
check-errors  version: 3.1.1
compile-file .. version: 1.3
condition-utils . version: 2.1.0
elliptic-curves . version: 1.0.3
fmt .. version: 0.8.11.2
foreigners  version: 1.5
gochan .. version: 5.2.8
iset .. version: 2.2
iup . version: 1.9.3
lmdb  version: 1.0.2
matchable . version: 1.0
miscmacros  version: 1.0
modular-arithmetic .. version: 1.0.3
nanomsg ... version: 1.0.0.6
object-evict  version: 0.1.1
optimism  version: 0.1.0
protobuf  version: 1.2.2
queues  version: 0.1
regex . version: 2.0
sql-null .. version: 2.0
sqlite3 . version: 3.7.2
srfi-1 .. version: 0.5.1
srfi-13 ... version: 0.3
srfi-14 . version: 0.2.1
srfi-18 . version: 0.1.5
srfi-42 .. version: 1.76
srfi-69 . version: 0.4.1
srfi-99 . version: 1.4.5
synch ... version: 3.2.1
test .. version: 1.1
tweetnacl ... version: 1.4.2
utf8  version: 3.6.2
webview . version: 1.0.1


Re: [ANN] CHICKEN 5.2.0 release candidate available

2020-01-12 Thread 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




[ANN] CHICKEN 5.2.0 release candidate available

2020-01-12 Thread 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= PREFIX= install check
  $ /bin/chicken-install pastiche

If you want to build CHICKEN with a compiler other than the default one,
just use C_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
Description: PGP signature