|
|
| Reporter | formisliberating | Assigned To | bugmaster | |
|---|
| Priority | normal | Severity | major | |
|---|
| Status | verified | Resolution | fixed | |
|---|
| Platform | Mac | OS | OS | |
|---|
| Product Version | 7.8.0 | |
|---|
| Target Version | 7.9.0 | Fixed in Version | 7.9.0 | |
|---|
|
|
| Summary | 0033812: Configuration, MacOS - Debug Symbols Stripped From Dynamic Libraries |
|---|
| Description | On Mac OS X, the dynamic libraries produced by building OCCT in debug mode (i.e. BUILD_WITH_DEBUG=ON and CMAKE_BUILD_TYPE=Debug) don't contain debug maps. This is because they are stripped at the link step. The logic on line 171 in file "adm/cmake/occt_defs_flags.cmake" is incorrect. There should be some logic that only strips the dynamic libraries if the build is not in debug mode. I suspect that this bug exists on other platforms too, but I haven't tested them. |
|---|
| Steps To Reproduce | Build OCCT with the CMake cache variables BUILD_WITH_DEBUG and CMAKE_BUILD_TYPE set to ON and Debug respectively. Then pick any dynamic library produced by the build and run "dsymutil --dump-debug-map aLib.dylib". No debug map will be printed. |
|---|
| Tags | No tags attached. |
|---|
|
|
| Test case number | none |
|---|
|
|