Re: make check 2 failures

Paul Smith <[email protected]> Fri, 25 Jul 2025 11:53:26 -0400
Newsgroups gmane.comp.gnu.make.bugs
Organization GNU's Not UNIX!
Message-ID <[email protected]>
On Fri, 2025-07-25 at 18:00 +0300, [email protected] wrote:
> On a static build of make getting 2 failing tests - load and loadapi.
> Running them manually produces "Dynamic loading not supported" error.
> Is it running dynlib-related tests on a static build?

I believe this is just a test problem.

When the test suite builds the shared libraries it uses the same
compiler and compiler flags that were used to build "make".  If you
have added something like -static to the compiler flags used when
building GNU Make, then when the test tries to build the .so it won't
work well.

I don't think there's any reason why make shouldn't be able to use the
load/loadapi even if it's build statically, if the shared objects are
built properly.