The following issue has been SUBMITTED. 
====================================================================== 
https://cmake.org/Bug/view.php?id=15849 
====================================================================== 
Reported By:                Chris M
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15849
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-11-17 16:08 EST
Last Modified:              2015-11-17 16:08 EST
====================================================================== 
Summary:                    Linker failure when WINDOWS_EXPORT_ALL_SYMBOLS and
/bigobj are used together in a Win64 build.
Description: 

Shared library fails to link when attempting to use
CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS when compiled with /bigobj.  

Only tested using Visual Studio 14 2015 Win64.

Test project attached.

It appears that printf-family function symbol names are being modified (leading
'_' removed) when cmake is processing *.obj into exportall.def.

Steps to Reproduce: 
Extract attached zip.

> mkdir build
> cd build
> cmake ../ -G "Visual Studio 14 2015 Win64" -DBUILD_BIGOBJ=ON
> cmake --build . --release Debug

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-11-17 16:08 Chris M        New Issue                                    
2015-11-17 16:08 Chris M        File Added:
windows-symbols-export-all-bigobj.zip                    
======================================================================

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to