Date: Sat, 4 Oct 2025 00:09:16 +0300 From: Konstantin Belousov <kostikbel@gmail.com> To: Kyle Evans <kevans@freebsd.org> Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: 1953a12ee2cd - main - flua: support our flua modules in the bootstrap flua Message-ID: <aOA7fKABI8CyBjxp@kib.kiev.ua> In-Reply-To: <202510031810.593IAZE9008541@gitrepo.freebsd.org> References: <202510031810.593IAZE9008541@gitrepo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 03, 2025 at 06:10:35PM +0000, Kyle Evans wrote: > The branch main has been updated by kevans: > > URL: https://cgit.FreeBSD.org/src/commit/?id=1953a12ee2cde1afacb3e3f7612d89695c96e04f > > commit 1953a12ee2cde1afacb3e3f7612d89695c96e04f > Author: Kyle Evans <kevans@FreeBSD.org> > AuthorDate: 2025-10-03 18:09:03 +0000 > Commit: Kyle Evans <kevans@FreeBSD.org> > CommitDate: 2025-10-03 18:09:14 +0000 > > flua: support our flua modules in the bootstrap flua > > This version builds every module into the flua binary itself, since all > of the bootstrap tools are built -DNO_SHARED. As a result, we also > cannot dlsym(), so we can't really discover the names of our newly > builtin modules. Instead, just build out a linker set with all of our > luaopen_*() functions to register everything up-front. You can use --export-dynamic AKA -E to allow for dlsym() to find symbols from the executable. Of course, it is desirable to have version script to explicitly list the exported symbols.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aOA7fKABI8CyBjxp>