From: LinuxUser9 <bvrit_abc@yahoo.com>
To: gcc-help@gcc.gnu.org
Subject: Re: ld: error no .eh_frame_hdr table will be created.
Date: Fri, 17 Apr 2009 21:55:00 -0000 [thread overview]
Message-ID: <23106711.post@talk.nabble.com> (raw)
In-Reply-To: <m34ownklsw.fsf@google.com>
Hi Ian,
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
information:
- 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
eh_frame error.
- Is there any C++ implementation problem, that would cause an issue in the
object?
- 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.
Thanks again
Ian Lance Taylor-3 wrote:
>
> LinuxUser9 <bvrit_abc@yahoo.com> 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
>> error.
>> 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>
>> -l<libraries>
>> mips-4.3/bin/../lib/gcc/mips-linux-gnu/4.3.2/../../../../mips-linux-gnu/bin/ld:
>> error in bin/libx.o(.eh_frame); no .eh_frame_hdr table will be created.
>>
>> There are several objects and they are partially linked
>> (mips-linux-gnu-ld
>> -r -o FinalObject <IndvidualObjects>).
>> This only happens if there are C++ objects. Can you please comment on why
>> I
>> 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
> --debug=frames.
>
> Ian
>
>
--
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.
next prev parent reply other threads:[~2009-04-17 21:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-17 21:08 LinuxUser9
2009-04-17 21:33 ` Ian Lance Taylor
2009-04-17 21:55 ` LinuxUser9 [this message]
2009-04-17 23:31 ` Ian Lance Taylor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=23106711.post@talk.nabble.com \
--to=bvrit_abc@yahoo.com \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).