-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
“compact unwind compressed function offset doesn't fit in 24 bits” during build from source [macOS, ARM64] #6931
Comments
Hey @cwreynolds , not sure if this will be of much help, but just to give you some feedback, running the build as you described works flawlessly for me (MacOS 14.5 and Command Line Tools 15.3). It could be linked to the version of the xcode command line tools you are using. Running There are other reports of this linker error that are unrelated to Open3D, so I assume it's an issue with the xcode CL tools. |
@rxba thank you for looking at this, for the verification it works for you, and your hints. Indeed, I am a whole macOS release out of date, and at least “0.3 of a release” behind on my Command Line Tools:
I guess I need to bite the bullet and upgrade my macOS, then retry this build. These issues may underlie the original problem I encountered that led me here. See #6923 where I note I'm quite behind on OS updates. |
@cwreynolds Another thing you could try, if there's something else holding you back from upgrading your macOS, is trying an older version of the xcode CL tools by downgrading them. |
(@rxba — no, just inertia and fear of the unknown. When Sonoma came out last fall, it was not a good time for a disruption, and I never got back to it.) So I am now running a brand, spankin‘ new macOS Sonoma 14.6.1 and CTL 15.3. That upgrade was painless and, so far, trouble free. And indeed, my Open3D build-from-source now works just fine! However, if I can lean on your helpful expertise just a bit more? I tried to build my own app using the Similarly, what is the best way to get the newly built Transcript of building my app:
|
@cwreynolds I'm glad it all worked out. |
Closing, @rxba's suggestion to follow open3d-cmake-find-package got me past this issue. |
Checklist
main
branch).Steps to reproduce the issue
I attempted to do a full local build (macOS, ARM64) of Open3D following instructions on Build from source [0.18.0]:
During the
make
step I got the error below:ld: Assertion failed: (false && "compact unwind compressed function offset doesn't fit in 24 bits"), function operator(), file Layout.cpp, line 5758.
(I got the same error when I first followed obsolete instructions on Find Pre-Installed Open3D Package in CMake, then when I retried it the current doc (Build from source [0.18.0]) but skipped over the “Setup Python environments” step, and then got it again (below) when I did set the Python environment. Whatever the cause of this problem is it fairly robust with regard to build details.)
Error message
Open3D, Python and System information
Additional information
No response
The text was updated successfully, but these errors were encountered: