bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #63371] build fails on MinGW due to missing gnulib close module


From: Vaclav Slavik
Subject: [bug #63371] build fails on MinGW due to missing gnulib close module
Date: Wed, 21 Jun 2023 13:54:47 -0400 (EDT)

Follow-up Comment #6, bug #63371 (project gettext):

Ah, I hoped the issue would go away on its own in 0.22, but no such luck then.


[comment #5 comment #5:]
> This is not a supported build environment for building for
x86_64-w64-mingw32; see the file INSTALL.windows for the supported build
environments.

We understand. But that aside (FWIW, the supported way is non-standard for
MinGW and rather complicated to setup, especially in any automated fashion),
this may indicate problems on other platforms too. The point of using
Autoconf-based build system surely is to detect and handle runtime conditions
without having specific hard-coded support for specific platforms (e.g.,
require 2 POSIX-y runtimes to build for Windows), right? Similarly, the point
of gnulib is to provide missing bits in a more general fashion, no?

The fact that this gnulib module broke in some rather vanilla (albeit
unsupported/unwanted by you) environments - two of them now - indicates that
there's some subtle bug in the detection or compilation logic of the module
that wasn't there before and isn't there for other modules. That seems worth
fixing regardless of anything else.

I of course understand why it's not a priority for you. I wouldn't have filed
this issue without a tested patch if gnulib wasn't as impenetrable to
outsiders as it is, but I'll give it another go - I hope you don't mind
accepting verified working patches even for unsupported environments. 

> I don't see any hints either. @GL_GNULIB_CLOSE@ is 1, that is, the module
'close' is in use when write-catalog.c gets compiled.

Doesn't this:

> catalog.o:write-catalog.:(.text+0x6e4): undefined reference to
`close_used_without_requesting_gnulib_module_close'

contradict that, though?



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63371>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]