From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Julien Olivain <ju.o@free.fr>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/swipl: bump version to 10.0.2
Date: Sat, 30 May 2026 15:05:05 +0200 [thread overview]
Message-ID: <ahrgcxSdolK9CTnk@windsurf> (raw)
In-Reply-To: <20260509204659.212149-1-ju.o@free.fr>
On Sat, May 09, 2026 at 10:46:58PM +0200, Julien Olivain via buildroot wrote:
> For change log since version 9.2.9, see:
> https://www.swi-prolog.org/ChangeLog?branch=stable&from=9.2.9&to=10.0.2
>
> This new version can no longer build in the source tree. Therefore,
> this commit adds SWIPL_SUPPORTS_IN_SOURCE_BUILD = NO. Also, the target
> swipl needs the host-swipl binary. It is searched by the cmake script.
> This commit changes SWIPL_NATIVE_FRIEND variable to point to the
> out-of-source build directory.
>
> swipl has now a stricter ABI check of its prolog library bytecode
> compiled files, compared to its builtin expected ABI:
> https://github.com/SWI-Prolog/swipl/blob/V10.0.2/src/pl-init.c#L263
>
> When cross-compiling, swipl is built on one side, and library files
> are built with the host-swipl. The ABI string of the host-swipl and
> target swipl must match. If not matching, swipl fail to start at
> runtime with the error:
>
> FATAL: could not find SWI-Prolog home
> Tried source: compiled in
> Found /usr/lib/swipl: ABI mismatch
>
> This ABI string includes a signature of builtin modules. See:
> https://github.com/SWI-Prolog/swipl/blob/V10.0.2/src/pl-init.c#L1653
> https://github.com/SWI-Prolog/swipl/blob/V10.0.2/src/pl-ext.c#L330
>
> The swipl ncurses support is made with one those builtin module.
> ncurses development files are likely present on host and likely not
> enabled or needed on target, hence producing a different ABI
> signature. For that reason, this commit disables ncurses on both the
> host and target.
>
> Signed-off-by: Julien Olivain <ju.o@free.fr>
Applied to next, thanks!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2026-05-30 13:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-09 20:46 [Buildroot] [PATCH 1/1] package/swipl: bump version to 10.0.2 Julien Olivain via buildroot
2026-05-30 13:05 ` Thomas Petazzoni via buildroot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ahrgcxSdolK9CTnk@windsurf \
--to=buildroot@buildroot.org \
--cc=ju.o@free.fr \
--cc=thomas.petazzoni@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox