-
Notifications
You must be signed in to change notification settings - Fork 347
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
bloaty: Unexpected eh_frame format value: 8 #141
Comments
Sorry for the very slow reply. Are you still getting this error? If you can give me a repro (like maybe post a binary somewhere) I'll debug and fix it. |
Hi, np. This one bin.zip I can rebuild it with other flags, just tell me which to use. |
When I run bloaty against my binary I got "bloaty: Unexpected eh_frame format value: 8" error. According documentation libobjc2 I can interpret this value as signed version of DW_EH_PE_abstr. After further research I found that this library has strange handling for such values [2] and it mentions something about GCC extension. It looks like this value should be returned as is, at least when current logic tries to translate it by calling TranslateVMToFile, this calls fails. When this value is returned as is it looks like I am getting quite valid output for my binary. It might fix google#141 [1] https://github.com/gnustep/libobjc2/blob/master/dwarf_eh.h#L23 [2] https://github.com/gnustep/libobjc2/blob/master/dwarf_eh.h#L200
Is anyone working on this issue? |
Is it possible to share the source code you used for this binary? Or at least what libraries you used? |
Unfrotunately I forgot the project that I used to compile binary. Accroding ldd:
It is 32bit executable, maybe it is a reason why it's not working
|
I tried build my binary with g++ and clang++, and analyze with bloaty. I always had same error
I trying to analyze elf file (linux build), when I run bloaty without flags it prints correct output:
But for compileuntis or symbols I had this error.
OS: Ubuntu 16.04
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609
clang version 3.8.0-2ubuntu4 (tags/RELEASE_380/final)
I tried also -g and -ggdb3 flags, same problem
The text was updated successfully, but these errors were encountered: