https://bugs.kde.org/show_bug.cgi?id=398582

--- Comment #79 from caulier.gil...@gmail.com ---
Another dysfunction that i can reproduce on my WIN10 VM under my macbook pro (4
core - 4Gb) is this f. limit from the M$ linker (VSCode 2022) :

  setupversioning.cpp
  Generating Code...
  searchfields_rating.cpp
  Compiling...
  trashview.cpp
  setupalbumview.cpp
LINK : fatal error LNK1189: library limit of 65535 objects exceeded
[C:\Users\gilles\Documents\digikam\build\core\app\digikamcore.vcxproj]
  searchfields_choice.cpp
  stackedview.cpp
  setupcategory.cpp
  searchfields_createfield.cpp

This is not reproducible under the same VM (24 cores - 24 Gb) running on my
host Linux Kubuntu computer. I don't know yet why.

There is no way to workaround with a M$ linker settings. This limit highlight a
fake compiler implementation internally. This want means that M$ compiler is
dedicated to small projects primary, that all, as i never seen this dysfunction
with G++, MinGw, or Clang. As explained from the online M$ documentation, the
solution is to create another shared lib with objects from the core lib, as for
ex, all the editor components for ex.

https://learn.microsoft.com/en-us/cpp/error-messages/tool-errors/linker-tools-error-lnk1189?view=msvc-170

Gilles

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to