Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Oct 2025 16:28:58 -0500
From:      Kyle Evans <kevans@FreeBSD.org>
To:        Konstantin Belousov <kostikbel@gmail.com>
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:  <fc242400-cf1f-4571-a6df-868b4951c85e@FreeBSD.org>
In-Reply-To: <aOA7fKABI8CyBjxp@kib.kiev.ua>
References:  <202510031810.593IAZE9008541@gitrepo.freebsd.org> <aOA7fKABI8CyBjxp@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/3/25 16:09, Konstantin Belousov wrote:
> 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.

The stub in libc seems to be an error and -DNO_SHARED means that we're built
statically, so we don't have rtld support.

Thanks,

Kyle Evans



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fc242400-cf1f-4571-a6df-868b4951c85e>