This is the mail archive of the 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 ""; 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.
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]