View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014123CMakeCMakepublic2013-05-02 06:132013-08-20 12:52
ReporterGregoire 
Assigned ToAlex Neundorf 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake 2.8.10.2 
Target VersionCMake 2.8.12Fixed in VersionCMake 2.8.12 
Summary0014123: .dll.a files should not be stripped by cmake when using mingw toolchain
Description.dll and .dll.a files are stripped by cmake in the cmake_install files.
mingw does not strip .dll.a files when using the -s linker option, only .dll.

The result is that some executable cannot link the dll when .dll.a files are stripped.
TagsNo tags attached.
Attached Filespatch file icon prevent_strip_import_libraries.patch [^] (740 bytes) 2013-06-11 19:08 [Show Content]

 Relationships

  Notes
(0033220)
Gregoire (reporter)
2013-06-04 07:06

I also saw that .lib part of .dll with MSVC are stripped too.
Is this done on purpose?
(0033274)
Alex Deryskyba (reporter)
2013-06-11 19:11

I have attached a patch (prevent_strip_import_libraries.patch) that prevents stripping of import libraries. I hope it will be useful for you and will be included in one of the next releases.
(0033400)
Alex Neundorf (developer)
2013-06-28 15:09

Thanks for the patch.
I committed it and merged it into next.
It should be in 2.8.12.

 Issue History
Date Modified Username Field Change
2013-05-02 06:13 Gregoire New Issue
2013-05-02 08:08 Brad King Assigned To => Alex Neundorf
2013-05-02 08:08 Brad King Status new => assigned
2013-06-04 07:06 Gregoire Note Added: 0033220
2013-06-11 19:08 Alex Deryskyba File Added: prevent_strip_import_libraries.patch
2013-06-11 19:11 Alex Deryskyba Note Added: 0033274
2013-06-28 15:09 Alex Neundorf Note Added: 0033400
2013-06-28 15:09 Alex Neundorf Status assigned => closed
2013-06-28 15:09 Alex Neundorf Resolution open => fixed
2013-08-20 12:52 Robert Maynard Fixed in Version => CMake 2.8.12
2013-08-20 12:52 Robert Maynard Target Version => CMake 2.8.12


Copyright © 2000 - 2018 MantisBT Team