Re: Re: First release of CRUNCH
Anton Idukov <[email protected]>
| Newsgroups | gmane.lisp.scheme.chicken |
|---|---|
| Message-ID | <CAMJCnqXOAbHYUwyfM=KTKKDdOMZSnXSzbRZse1JsqQc1YGn=RA@mail.gmail.com> |
>
> A small update: I seem to be unable to reproduce the crash on my rpi in
> debug
> mode, I'll try a normal build now, but currently I'm not sure how to
> address
> this problem.
Two quick examinations for bitlongness, 1) i386 debootstrap Debian 8 Jessie
(also Mint17/Ubuntu14)
- fails when executed 'sh scripts/bootstrap.sh' step :
*gcc -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H
-DC_ENABLE_PTABLES -c -Os -fomit-frame-pointer -DC_BUILDING_LIBCHICKEN
utf.c -o utf-static.o -I. -I./utf.c:297:1: error: conflicting types for
‘C_utf_isupper’ C_utf_isupper(int r) ^In file included from
utf.c:28:0:chicken.h:1930:17: note: previous declaration of ‘C_utf_isupper’
was here C_fctexport int C_utf_isupper(int c) C_regparm; ^*
i think the origin of problem is in file
chicken-core/boot/chicken-6.0.0/chicken.h
*249 # if defined(__i386__) && !defined(__clang__) 250 # define C_regparm
__attribute__ ((regparm(3))) 251 # endif*
but maybe I'm completely wrong
2) 32-bit MIPS BE debootstrap Debian Jessie gcc (Debian 4.9.2-10+deb8u1)
4.9.2
- all steps Ok, except *chicken-install -test crunch*
*fail on *
*building crunch /opt/call-cc.org/chicken-6pre/bin/csc
<http://call-cc.org/chicken-6pre/bin/csc> -host -s -c -C
-I/home/disp/.cache/chicken-install/crunch -O2 -d1
/home/disp/.cache/chicken-install/crunch/crunch-utf.c -o
/home/disp/.cache/chicken-install/crunch/crunch-utf.oIn file included from
/home/disp/.cache/chicken-install/crunch/crunch-utf.c:3:0:/home/disp/.cache/chicken-install/crunch/crunch.h:
In function
‘crunch_pin_rec’:/home/disp/.cache/chicken-install/crunch/crunch.h:225:3:
error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for(int i = 0; i < b->len; ++i) crunch_pin_rec(*(b2++));
^/home/disp/.cache/chicken-install/crunch/crunch.h:225:3: note: use option
-std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your
code/home/disp/.cache/chicken-install/crunch/crunch.h: In function
‘crunch_unref_internal’:/home/disp/.cache/chicken-install/crunch/crunch.h:262:5:
error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
for(int i = 0; i < v->len; ++i) ^*
*... many seamless error msgs*
вт, 3 дек. 2024 г. в 11:20, <[email protected]>:
> Hi, again!
>
> A small update: I seem to be unable to reproduce the crash on my rpi in
> debug
> mode, I'll try a normal build now, but currently I'm not sure how to
> address
> this problem.
>
>
> cheers,
> felix
>
>