ld: error no .eh_frame_hdr table will be created.
Fri Apr 17 21:55:00 GMT 2009
Thanks for the explanation of the error. Now just want understand the
debugging process on how I can fix this issue. Following is some more
- libx.o is compiled by the current version of gcc (4.3.2)
- If the above object is removed from the build, I no longer see the
- Is there any C++ implementation problem, that would cause an issue in the
- Note that all objects use the same compiler but only inclusion of certain
objects cause this error.
Please let me know if there is any other information I can provide to better
help diagnose the cause of this error.
Ian Lance Taylor-3 wrote:
> LinuxUser9 <firstname.lastname@example.org> writes:
>> Following is the error I am getting at the end of my build/compilation
>> and in
>> general the functionality is ok but I am not sure the cause of this
>> Following is my compilation env:
>> GNU Binary Utilities 2.18.50-sg++
>> GNU C & C++ Compilers 4.3.2-sg++
>> GNU C Library 2.8-sg++
>> /mips-linux-gnu-g++ -o <App> <SeveralObject> -L<Path to Library>
>> error in bin/libx.o(.eh_frame); no .eh_frame_hdr table will be created.
>> There are several objects and they are partially linked
>> -r -o FinalObject <IndvidualObjects>).
>> This only happens if there are C++ objects. Can you please comment on why
>> am getting the above indicated error? Any pointers are appreciated!
> Presumably bin/libx.o was not compiled by a current version of gcc.
> This error means that the linker did not understanding something in the
> exception frame information. gcc has asked the linker to create an
> exception frame header, but, because there is something wrong, the
> exception frame header will not be created.
> I think everything will still work more or less correctly. The effect
> is that throwing an exception will take longer at runtime.
> You can dump the exception frame information using readelf
View this message in context: http://www.nabble.com/ld%3A-error-no-.eh_frame_hdr-table-will-be-created.-tp23105607p23106711.html
Sent from the gcc - Help mailing list archive at Nabble.com.
More information about the Gcc-help