Haiku problems with sb-manual

Alexandru Popa <[email protected]> Mon, 3 Aug 2026 15:06:50 +0300
Newsgroups gmane.lisp.steel-bank.devel
Message-ID <CAL2wRjR8HVXibKwhduOeBv4YW_GEsG5T358JMBLj+aUyhOqt4Q@mail.gmail.com>
--===============4322302041256116722==
Content-Type: multipart/alternative; boundary="0000000000003cf9f0065823603b"

--0000000000003cf9f0065823603b
Content-Type: text/plain; charset="UTF-8"

Hi developers and contributors.

Each time SBCL enters in freeze phase, I compile latest git version of SBCL
on Haiku and run tests. The compilation this month was smooth, the tests
were in pair with previous months.

However, after 2.6.7 release, I tried to build Haiku package for SBCL and
faced the problems:

1. Not found foreign symbol os_context_fp_addr. This is probably easy
solved by adding the following code in src/runtime/x86-64-haiku-os.c:

os_context_register_t *
os_context_fp_addr(os_context_t *context)
{
    return (os_context_register_t*)&context->uc_mcontext.rbp;
}
similar to os_context_register_t *os_context_sp_addr(os_context_t *context).

2. Fail to make-contrib.sh on sb-manual module.

The funny part is, exactly the same archive of 2.6.7 release compiles
without problems when I do it manually and keeps failing when I try to
prepare the package. And the recipe of package creation seems to be
identical to my manual actions.

I try to debug the situation, but I am unsure which part, or their
combination, is guilty: missing symbol or sb-manual module. Previously, I
excluded certain modules from being compiled by something like this:

SB_CONTRIB_MODULES_BLACKLIST="sb-manual" sh make.sh

Unfortunately, this seems to be undocumented feature and I was searched in
sources to find it. Failed to find this time. Can you help me with this?

Thank you,
Alexandru.

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

<div dir=3D"ltr"><div>Hi developers and contributors.</div><div><br></div><=
div>Each time SBCL enters in freeze phase, I compile latest git version of =
SBCL on Haiku and run tests. The compilation this month was smooth, the tes=
ts were in pair with previous months.</div><div><br></div><div>However, aft=
er 2.6.7 release, I tried to build Haiku package for SBCL and faced the pro=
blems:</div><div><br></div><div>1. Not found foreign symbol=C2=A0os_context=
_fp_addr. This is probably easy solved by adding the following code in src/=
runtime/x86-64-haiku-os.c:</div><div><br></div><div>os_context_register_t *=
<br>os_context_fp_addr(os_context_t *context)<br>{<br>=C2=A0 =C2=A0 return =
(os_context_register_t*)&amp;context-&gt;uc_mcontext.rbp;<br>}<br></div><di=
v>similar to=C2=A0os_context_register_t *os_context_sp_addr(os_context_t *c=
ontext).</div><div><br></div><div>2. Fail to make-contrib.sh on=C2=A0sb-man=
ual module.</div><div><br></div><div>The funny part is, exactly the same ar=
chive of 2.6.7 release compiles without problems when I do it manually and =
keeps failing when I try to prepare the package. And the recipe of package =
creation seems to be identical to my manual actions.</div><div><br></div><d=
iv>I try to debug the situation, but I am unsure which part, or their combi=
nation, is guilty: missing symbol or sb-manual module. Previously, I exclud=
ed certain modules from being compiled by something like this:</div><div><b=
r></div><div>SB_CONTRIB_MODULES_BLACKLIST=3D&quot;sb-manual&quot; sh make.s=
h</div><div><br></div><div>Unfortunately, this seems to be undocumented fea=
ture and I was searched in sources to find it. Failed to find this time. Ca=
n you help me with this?</div><div><br></div><div>Thank you,</div><div>Alex=
andru.</div></div>

--0000000000003cf9f0065823603b--


--===============4322302041256116722==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============4322302041256116722==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Sbcl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sbcl-devel

--===============4322302041256116722==--