This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Add new architechture in gcc build error


Hi ,
Follow this wiki " http://gcc.gnu.org/wiki/DebuggingGCC"; to know how to debug gcc.
As far as I know compute_frame_pointer_to_fb_displacement is the displacement between your
frame pointer and the frame base ( mostly stack pointer's location after your prologue code - depends on your architecture).
You need to tell dwarf how much you are displacing your frame in order to fit in your variables and stack pushed registers of a specific function.
The above mentioned explanation is my perception ( I am novice too in gcc). However your error might not be related to it.


The only way you can resolve your issue is by debugging gcc as per the link I mentioned.
Feel free to ask , if any clarifications required.
Thanks,
Sumanth G




daniel tian wrote:
You've got to get in there with gdb and find out why compute_frame_pointer_to_fb_displacement()
is erroring.  There's no way to avoid this.


Thank you. But I don't know how. I mean which execute file, even I can't find the "conftest.c" file.

Sorry for asking this simple question.





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]