View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015857 | CMake | CMake | public | 2015-11-24 10:09 | 2016-06-10 14:31 | ||||
Reporter | Chris M | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake 3.4 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0015857: Symbols from *.obj's from an OBJECT lib are not exported when included in a SHARED lib when using WINDOWS_EXPORT_ALL_SYMBOLS | ||||||||
Description | The setup is a program and two libraries. Library 'bar' is an 'OBJECT' library. Library 'foo' is a 'SHARED' library that includes the 'TARGET_OBJECTS' from bar in its sources. Executable 'main' links to 'foo', and calls a function that should be exported from 'bar'. 'main' fails to link due to not finding the symbols from 'bar'. | ||||||||
Steps To Reproduce | Extract attached zip. mkdir build cd build cmake ../ cmake --build . Expected succesful linking. Actually 'main' executable fails to link with missing symbol from 'bar' lib. | ||||||||
Additional Information | Tested on Windows 10 with Visual Studio 14 2015 Win64. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | export-all-obj-lib.zip [^] (3,341 bytes) 2015-11-24 10:09 | ||||||||
Relationships | |
Relationships |
Notes | |
(0042889) Kitware Robot (administrator) 2016-06-10 14:29 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2015-11-24 10:09 | Chris M | New Issue | |
2015-11-24 10:09 | Chris M | File Added: export-all-obj-lib.zip | |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042889 | |
2016-06-10 14:29 | Kitware Robot | Status | new => resolved |
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |