| Summary: | Windows Memory Usage Issue | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | Chris Dobson <chris.dobson> |
| Component: | cmake | Assignee: | Gabriele Cosmo <Gabriele.Cosmo> |
| Status: | RESOLVED FIXED | ||
| Severity: | critical | ||
| Priority: | P5 | ||
| Version: | 9.5 | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Attachments: | Patched source for 9.5.p01 | ||
|
Description
Chris Dobson
2012-06-28 15:38:34 CEST
Thanks for reporting the problem. We could reproduce it rather easily. It turns out that this is due to the mechanism used in the CMake build for extracting symbols for the generation of the DLL libraries, which is actually ignoring some symbols with templated signature. The problem, obviously, does not occur when using static libraries (or DLLs generated with the old GNUMake system, where a different bug-free extractor was adopted). We're looking to fix this problem and provide the fix in a next patch. A quick workaround for now is to explicitly install static libraries on your Windows system. Created attachment 175 [details]
Patched source for 9.5.p01
The problem is now fixed adopting the workaround implemented in the attached tar-ball to applied to the source code of 9.5.p01 release. It overcomes the deficiency in the CMake system on exported templated symbols.
The fix will be included in the next patch release.
To apply the attached patch, just uncompress it inside your 9.5.p01/ source directory and rebuild the libraries from scratch.
|