bigloo on MacOS Sequoia

Damien Mattei <[email protected]> Thu, 31 Oct 2024 10:47:33 +0100
Newsgroups gmane.lisp.scheme.bigloo
Message-ID <CADEOadds9rZv_NT_cqTeeqgWUsVqLR-oaAv4LgFtpr+Erx3xBg@mail.gmail.com>
--000000000000d379800625c2b5d7
Content-Type: text/plain; charset="UTF-8"

Sujet :
bigloo on MacOS Sequoia

De :
Damien Mattei <[email protected]>

Date :
31/10/2024 10:38

Pour :
Bigloo ML <[email protected]>
hello,


i was trying to install some versions of bigloo from latest to official on
MacOS Sequoia M1 without success:

here are some errors i encountered:

gcc  -I/Users/mattei/bigloo-4.5b/lib/bigloo/4.5b -O3 -fbracket-depth=1024
-Wno-unused-value -Wno-parentheses-equality -Wno-parentheses
-Wno-invalid-source-encoding -Wno-return-type -Wno-trigraphs -fPIC
-I/Users/mattei/bigloo-4.5b/pcre2/usr/local/lib/bigloo/4.5b
-I/Users/mattei/bigloo-4.5b/gc/gc-8.2.4/include -c Clib/cports.c -o
Clib-cports.o && \
        mv Clib-cports.o objs/obj_u/Clib/cports.o
Clib/cports.c:3251:6: error: incompatible function pointer types passing
'off_t (int, off_t, int)' (aka 'long long (int, long long, int)') to
parameter of type 'long (*)()' [-Wincompatible-function-pointer-types]
 3251 |                                         lseek,
      |                                         ^~~~~
Clib/cports.c:973:16: note: passing argument to parameter 'seek' here
  973 |                       long (*seek)(),
      |                              ^
1 error generated.
make[4]: *** [objs/obj_u/Clib/cports.o] Error 1
make[3]: *** [lib-c_u] Error 2
make[2]: *** [boot-libs] Error 2
make[1]: *** [boot] Error 2
make: *** [boot-c] Error 2



mattei@mbp-touch-bar-1 bigloo4.3g % ./configure --jvm=yes
Checking local configuration...
executing ./autoconf/os -> darwin
executing ./autoconf/cpu -> arm64
executing ./autoconf/osversion -> 24.0.0
executing ./autoconf/user -> mattei
executing ./autoconf/cctest ->
Can't configure C compiler. Aborting (see configure.log)
mattei@mbp-touch-bar-1 bigloo4.3g % tail configure.log
   10 | direction( int new_addr )
      | ^
      | int
/tmp/actest.c:27:1: error: type specifier missing, defaults to 'int'; ISO
C99 and later do not support implicit int [-Wimplicit-int]
   27 | main( int argc, char *argv[] )
      | ^
      | int
2 errors generated.
  ->


i will not test all the intermediate versions, is Mac OS Sequoia too new
for Bigloo, is there no more support for Mac OS?


regards,


damien

--000000000000d379800625c2b5d7
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-size:large"><ta=
ble border=3D"0" cellspacing=3D"0" cellpadding=3D"0" width=3D"100%" class=
=3D"gmail-moz-header-part1"><tbody><tr><td><div class=3D"gmail-moz-header-d=
isplay-name" style=3D"display:inline">Sujet=C2=A0: </div>bigloo on MacOS Se=
quoia</td></tr><tr><td><div class=3D"gmail-moz-header-display-name" style=
=3D"display:inline">De=C2=A0: </div>Damien Mattei &lt;<a href=3D"mailto:dam=
[email protected]">[email protected]</a>&gt;</td></tr><tr><td><div class=
=3D"gmail-moz-header-display-name" style=3D"display:inline">Date=C2=A0: </d=
iv>31/10/2024 10:38</td></tr></tbody></table><table border=3D"0" cellspacin=
g=3D"0" cellpadding=3D"0" width=3D"100%" class=3D"gmail-moz-header-part2"><=
tbody><tr><td><div class=3D"gmail-moz-header-display-name" style=3D"display=
:inline">Pour=C2=A0: </div>Bigloo ML &lt;<a href=3D"mailto:bigloo@lists-sop=
.inria.fr">[email protected]</a>&gt;</td></tr></tbody></table><br>
<div class=3D"gmail-moz-text-flowed" style=3D"font-family:monospace;font-si=
ze:12px" lang=3D"x-unicode">hello,
<br>
<br>
<br>i was trying to install some versions of bigloo from latest to official=
=20
on MacOS Sequoia M1 without success:
<br>
<br>here are some errors i encountered:
<br>
<br>gcc=C2=A0 -I/Users/mattei/bigloo-4.5b/lib/bigloo/4.5b -O3=20
-fbracket-depth=3D1024 -Wno-unused-value -Wno-parentheses-equality=20
-Wno-parentheses -Wno-invalid-source-encoding -Wno-return-type=20
-Wno-trigraphs -fPIC=20
-I/Users/mattei/bigloo-4.5b/pcre2/usr/local/lib/bigloo/4.5b=20
-I/Users/mattei/bigloo-4.5b/gc/gc-8.2.4/include -c Clib/cports.c -o=20
Clib-cports.o &amp;&amp; \
<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 mv Clib-cports.o objs/obj_u/=
Clib/cports.o
<br>Clib/cports.c:3251:6: error: incompatible function pointer types passin=
g=20
&#39;off_t (int, off_t, int)&#39; (aka &#39;long long (int, long long, int)=
&#39;) to=20
parameter of type &#39;long (*)()&#39; [-Wincompatible-function-pointer-typ=
es]
<br>=C2=A03251 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 lseek,
<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^~~~~
<br>Clib/cports.c:973:16: note: passing argument to parameter &#39;seek&#39=
; here
<br>=C2=A0 973 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
 long (*seek)(),
<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^
<br>1 error generated.
<br>make[4]: *** [objs/obj_u/Clib/cports.o] Error 1
<br>make[3]: *** [lib-c_u] Error 2
<br>make[2]: *** [boot-libs] Error 2
<br>make[1]: *** [boot] Error 2
<br>make: *** [boot-c] Error 2
<br>
<br>
<br>
<br>mattei@mbp-touch-bar-1 bigloo4.3g % ./configure --jvm=3Dyes
<br>Checking local configuration...
<br>executing ./autoconf/os -&gt; darwin
<br>executing ./autoconf/cpu -&gt; arm64
<br>executing ./autoconf/osversion -&gt; 24.0.0
<br>executing ./autoconf/user -&gt; mattei
<br>executing ./autoconf/cctest -&gt;
<br>Can&#39;t configure C compiler. Aborting (see configure.log)
<br>mattei@mbp-touch-bar-1 bigloo4.3g % tail configure.log
<br>=C2=A0=C2=A0 10 | direction( int new_addr )
<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | ^
<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | int
<br>/tmp/actest.c:27:1: error: type specifier missing, defaults to &#39;int=
&#39;;=20
ISO C99 and later do not support implicit int [-Wimplicit-int]
<br>=C2=A0=C2=A0 27 | main( int argc, char *argv[] )
<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | ^
<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | int
<br>2 errors generated.
<br>=C2=A0 -&gt;
<br>
<br>
<br>i will not test all the intermediate versions, is Mac OS Sequoia too ne=
w=20
for Bigloo, is there no more support for Mac OS?
<br>
<br>
<br>regards,
<br>
<br>
<br>damien
<br>
</div></div></div>

--000000000000d379800625c2b5d7--