Skip to content

pybind linux - Fix missing debug symbols in RelWithDebug mode - #7812

Merged
maloel merged 1 commit into
realsenseai:developmentfrom
Nir-Az:pybind_build_with_symbols_on_linux
Nov 25, 2020
Merged

pybind linux - Fix missing debug symbols in RelWithDebug mode#7812
maloel merged 1 commit into
realsenseai:developmentfrom
Nir-Az:pybind_build_with_symbols_on_linux

Conversation

@Nir-Az

@Nir-Az Nir-Az commented Nov 18, 2020

Copy link
Copy Markdown
Collaborator

The output binary .so file of building pyrealsense2 on Linux and on configuration RelWithDebInfo does not contain symbols.

This is cause due to a known issue at pybind11 version 2.2.1 that is used in librealsense SDK.
The issue was fixed at PR1892 at pybind11 repo.

This PR implement the same fix.

Linux python 2.7 wheel size before this changes is : ~10 [MB]
Linux python 2.7 wheel size after this changes is : ~70 [MB]

@maloel maloel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's talk about it before we merge

@maloel
maloel merged commit 25afe61 into realsenseai:development Nov 25, 2020
@Nir-Az
Nir-Az deleted the pybind_build_with_symbols_on_linux branch December 23, 2020 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants