Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Humble build lto flags cause link errors #982

Open
Nir-Az opened this issue Oct 26, 2022 · 0 comments
Open

Humble build lto flags cause link errors #982

Nir-Az opened this issue Oct 26, 2022 · 0 comments

Comments

@Nir-Az
Copy link

Nir-Az commented Oct 26, 2022

Hi,

librealsense2 build on Humble ARM is failing and the root cause is that it builds with compiler flags of -flto -ffat-lto-objects.

Our release builds as expected at foxy & galactic but since we link to a C static library the humble build is failing.

Any reason to introduce this new compiler flags? can we somehow disable them?

Failed build link here
Normal build inside the buildfarm docker locally works as expected, and we find ourselves struggeling for a long time trying to make it work with this new build system.

Appreciate some help since it's blocking us from continue developing.

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

No branches or pull requests

1 participant