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

Turn on position independent code for slic3r-arrange #13810

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cryptomilk
Copy link

@cryptomilk cryptomilk commented Dec 20, 2024

Fixes #13694

You could also just set

set(CMAKE_POSITION_INDEPENDENT_CODE ON)

in the root directory CMakeLists.txt. It would set -fPIC for libraries an -fpie for binaries. Is there a reason that you don't want do that?

@cryptomilk cryptomilk force-pushed the asn-fpic branch 2 times, most recently from cdec176 to a48acef Compare December 20, 2024 19:50
@cryptomilk
Copy link
Author

We need it globally.

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.

Linux 2.9.0-alpha1 - compillation failed: libslic3r-arrange.so linker relocation error R_X86_64_TPOFF32
1 participant