-
Notifications
You must be signed in to change notification settings - Fork 153
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
Unsupported file format #454
Comments
Does the This sounds like |
sorry,in object version 0.29.0 ,arch.architecture() this method has no exist |
The objdump code that I linked is version 0.29.0, so it does exist. The |
FIXES: #1087 A "universal binary" is a fat binary which contains multiple builds for different architectures. When Postgres is packaged in this format it's necessary to slice out the build for the current architecture before trying to parse it. The program terminates early if the universal binary doesn't support the current architecture. The list of supported architectures in `slice_arch32` is limited by [`object`][object-arch], which supports fewer than [Rust][rust-arch]. The universal binary test fixture was simply chosen because of it's small size relative to other binaries in Postgres. [^1]: gimli-rs/object#454 (comment) [rust-arch]: http://doc.rust-lang.org/1.68.2/std/env/consts/constant.ARCH.html [object-arch]: https://docs.rs/object/latest/object/read/macho/trait.FatArch.html#method.architecture
system:macOS
object library version:0.29.0
open local dSYM file occur error:Unsupported file format,i find the file has two architecture,(armv7,arm64),another file only one
architecture can work well
The text was updated successfully, but these errors were encountered: