Problem 2464 - Linker error 1189 (dll size) when build G4 11.0.0 in Debug mode on Windows
Summary: Linker error 1189 (dll size) when build G4 11.0.0 in Debug mode on Windows
Status: RESOLVED LATER
Alias: None
Product: Geant4
Classification: Unclassified
Component: cmake (show other problems)
Version: 11.0
Hardware: PC Windows
: P4 normal
Assignee: Ben Morgan
URL:
Depends on:
Blocks:
 
Reported: 2022-01-15 10:26 CET by Andrea
Modified: 2022-01-31 16:10 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description Andrea 2022-01-15 10:26:15 CET
I built Geant4.11.0.0 on Windows x64 in Release mode without errors.

If I build Geant4.11.0.0 on Windows x64 in Debug mode, I obtain an error from the Linker (LNK 1189) that said that “the limit of 65535 objects or members in a library has been exceeded”, in particular for the G4processes library.
And the resulting G4processes.dll has a size of 0 KB.
Comment 1 Ben Morgan 2022-01-31 16:10:31 CET
This is along known issue with Windows builds of the G4processes library. We're reviewing a new structure for organising libraries to reduce their size and resolve this issue. However, this is a long term project and so marking this as a LATER.