ASDF test failure
Robert Goldman <[email protected]> Sun, 05 Apr 2026 19:08:55 -0500
| Newsgroups | gmane.lisp.ecl.general |
|---|---|
| Message-ID | <[email protected]> |
--=_MailMate_FEE68AE2-0A48-40BB-9C4B-7254592FE099_=
Content-Type: text/plain; format=flowed; markup=markdown
Content-Transfer-Encoding: quoted-printable
I'm getting a test failure on ASDF with ECL in building a DLL on Linux. =
Hoping that someone can suggest an appropriate fix. You can find the =
full transcript here: =
https://gitlab.common-lisp.net/asdf/asdf/-/jobs/114480
Here's the snippet with the error compiling through ECL to gcc:
```
;;; Compiling /builds/asdf/asdf/test/monodll-user.lisp.
;;; OPTIMIZE levels: Safety=3D3, Space=3D0, Speed=3D2, Debug=3D3
;;;
;;; Internal error:
;;; ** Error code 1 when executing
;;; (EXT:RUN-PROGRAM "gcc" ("-I." "-I/usr/local/include/" =
"-D_GNU_SOURCE" "-D_FILE_OFFSET_BITS=3D64" "-g" "-O2" "-fPIC" =
"-D_THREAD_SAFE" "-Dlinux" "-O2" "-c" =
"/builds/asdf/asdf/build/fasls/ecl-24.5.10-linux-x64/asdf/test/monodll-us=
er.c" =
"-o" =
"/builds/asdf/asdf/build/fasls/ecl-24.5.10-linux-x64/asdf/test/monodll-us=
er.o")):
;;; In file included from /usr/local/include/ecl/ecl.h:81,
;;; from /usr/local/include/ecl/ecl-cmp.h:31,
;;; from =
/builds/asdf/asdf/build/fasls/ecl-24.5.10-linux-x64/asdf/test/monodll-use=
r.c:5:
;;; =
/builds/asdf/asdf/build/fasls/ecl-24.5.10-linux-x64/asdf/test/monodll-use=
r.c: =
In function 'L2always_42':
;;; =
/builds/asdf/asdf/build/fasls/ecl-24.5.10-linux-x64/asdf/test/monodll-use=
r.c:21:26: =
error: implicit declaration of function 'always_42'; did you mean =
'L2always_42'? [-Wimplicit-function-declaration]
;;; 21 | value0 =3D ecl_make_int(always_42());
;;; | ^~~~~~~~~
TEST ABORTED: COMPILE-FILE-ERROR while
compiling #<cl-source-file "test-asdf/monodll-user" =
"file-type">
```
--=_MailMate_FEE68AE2-0A48-40BB-9C4B-7254592FE099_=
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE html>
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/xhtml; charset=3Dutf-8"=
>
</head>
<body><div style=3D"font-family: sans-serif;"><div class=3D"markdown" sty=
le=3D"white-space: normal;">
<p dir=3D"auto">I'm getting a test failure on ASDF with ECL in building a=
DLL on Linux. Hoping that someone can suggest an appropriate fix. You =
can find the full transcript here: <a href=3D"https://gitlab.common-lisp.=
net/asdf/asdf/-/jobs/114480" style=3D"color: #3983C4;">https://gitlab.com=
mon-lisp.net/asdf/asdf/-/jobs/114480</a></p>
<p dir=3D"auto">Here's the snippet with the error compiling through ECL t=
o gcc:</p>
<pre style=3D"margin-left: 15px; margin-right: 15px; padding: 5px; backgr=
ound-color: #F7F7F7; border-radius: 5px 5px 5px 5px; overflow-x: auto; ma=
x-width: 90vw;"><code style=3D"margin: 0 0; border-radius: 3px; backgroun=
d-color: #F7F7F7; padding: 0px;">;;; Compiling /builds/asdf/asdf/test/mon=
odll-user.lisp.
;;; OPTIMIZE levels: Safety=3D3, Space=3D0, Speed=3D2, Debug=3D3
;;;
;;; Internal error:
;;; ** Error code 1 when executing
;;; (EXT:RUN-PROGRAM "gcc" ("-I." "-I/usr/local/=
include/" "-D_GNU_SOURCE" "-D_FILE_OFFSET_BITS=3D64&q=
uot; "-g" "-O2" "-fPIC" "-D_THREAD_SAF=
E" "-Dlinux" "-O2" "-c" "/builds/=
asdf/asdf/build/fasls/ecl-24.5.10-linux-x64/asdf/test/monodll-user.c"=
; "-o" "/builds/asdf/asdf/build/fasls/ecl-24.5.10-linux-x6=
4/asdf/test/monodll-user.o")):
;;; In file included from /usr/local/include/ecl/ecl.h:81,
;;; from /usr/local/include/ecl/ecl-cmp.h:31,
;;; from /builds/asdf/asdf/build/fasls/ecl-24.5.10-linux=
-x64/asdf/test/monodll-user.c:5:
;;; /builds/asdf/asdf/build/fasls/ecl-24.5.10-linux-x64/asdf/test/monodll=
-user.c: In function 'L2always_42':
;;; /builds/asdf/asdf/build/fasls/ecl-24.5.10-linux-x64/asdf/test/monodll=
-user.c:21:26: error: implicit declaration of function 'always_42'; did y=
ou mean 'L2always_42'? [-Wimplicit-function-declaration]
;;; 21 | value0 =3D ecl_make_int(always_42());
;;; | ^~~~~~~~~
TEST ABORTED: COMPILE-FILE-ERROR while
compiling #<cl-source-file "test-asdf/monodll-user&=
quot; "file-type">
</code></pre>
</div>
</div>
</body>
</html>
--=_MailMate_FEE68AE2-0A48-40BB-9C4B-7254592FE099_=--