On 24.05.2025 12:25, LIU Hao wrote:
在 2025-5-24 18:12, Pali Rohár 写道:
And it deduplicated 496 def files. What do you think about it? Just a
robotic change and can decrease number of def files which needs to be
maintained.
I don't have a specific opinion on this change.
Frankly speaking, I am not too happy about the characteristic of
'lib-common': Some of x86-64, ARM32 and ARM64 libraries provide exact
same sets of symbols, but some of them don't. The differences are
random and arbitrary, which require maintenance with macros in
'func.def.in'; however keeping track of all the tiny pieces of
inconsistency is largely unpractical. I'd prefer we generate DEFs from
LIBs from Windows SDK and blindly accept the divergence.
I think that kind of massive duplication just doesn't scale. For
example, when adding a new target like ARM64EC, are you suggesting we
duplicate all the .def files for a fifth time, rather than just
adjusting a few as we did?
Jacek
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public