Questions tagged [fat-binaries]

23 questions
1
vote
1 answer

Under iOS, is there a quick way to see what symbols I have for specific UUID's?

Under iOS, unique identifiers, known as UUID's, are assigned at compile time. Over time, a developer may accumulate many builds with different identifiers. Sometimes it may be useful to quickly identify what UUID's have preserved symbol files…
xyzzycoder
  • 1,831
  • 13
  • 19
1
vote
2 answers

Under iOS, is there a way to determine which architecture was being executed in a crash report?

Given a crash report (non-symbolicated) on iOS, is there a way to determine which architecture (armv6 or armv7) was being executed by the device? Why do I ask? I have received some crash reports that are not associated with an archived…
xyzzycoder
  • 1,831
  • 13
  • 19
1
vote
1 answer

Parsing universal/fat binary files

I'm working on a project to implement a basic nm using memory-mapping mmap. I have been able to parse 64-bit binaries using the code: void handle_64(char *ptr) { int ncmds; struct mach_header_64 *header; …
akinf3mi
  • 13
  • 3
1
vote
1 answer

Multiple ISA in same ELF file

Is it possible to have an ELF file that contains executable instructions from two ISAs. That is have a single ELF file that can be run on two architectures, say a x86 and a PowerPC. One example of this that comes to mind was the Apple Universal…
ssb
  • 7,422
  • 10
  • 36
  • 61
1
vote
2 answers

Error when trying to link fat binary with 64-bit simulator target

I have a static library lipo'd for iOS and OS X with 5 architectures (x86_64, i386, armv7, armv7s, arm64). The x86_64 architecture was built using the macosx SDK The i386 architecture was built using the iphonesimulator SDK The ARM architectures…
Alfonso
  • 8,386
  • 1
  • 43
  • 63
0
votes
0 answers

Trouble binding native Obj-C library to Xamarin.iOS Project

I am running into difficulty trying to bind a native Obj-C static library I created in XCode to my Xamarin.iOS project. I went through the necessary steps creating a Fat Binary. It created both x86 and ARM architectures but it throws an error saying…
0
votes
0 answers

"Shared" bytecode in different architecture slices?

I have this universal binary which contains two slices (armv7 and armv7s). I got some simple classes which simply hold some data. Is it possible to compile these classes so they're only in the binary once instead of once for each slice? The reason I…
user973224
  • 203
  • 2
  • 13
-3
votes
1 answer

Error linking with CUDA code: multiple definitions of `__cudaRegisterLinkedBinary_

I have some CUDA code I'm compiling into a .a library, and some (CUDA-related) regular-C++ code for an app which uses it. Everything is undergoing intermediate linking. Now, on one machine (with CUDA 8.0 RC) the build succeeds, but on another…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
1
2