Add new architechture in gcc build error
daniel tian
daniel.xntian@gmail.com
Mon Sep 21 14:31:00 GMT 2009
2009/9/21 Andrew Haley <aph@redhat.com>:
> daniel tian wrote:
>> 2009/9/21 sumanth <sumanth.gundapneni@redpinesignals.com>:
>>> 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.
>>
>> Thank you very much.
>> I will look into it. I need to figure out where the "conftest.c" is.
>
> It's in the first message you sent:
>
> | /* confdefs.h. */
> |
> | #define PACKAGE_NAME "GNU C Runtime Library"
> | #define PACKAGE_TARNAME "libgcc"
> | #define PACKAGE_VERSION "1.0"
> | #define PACKAGE_STRING "GNU C Runtime Library 1.0"
> | #define PACKAGE_BUGREPORT ""
> | /* end confdefs.h. */
> |
> | int
> | main ()
> | {
> |
> | ;
> | return 0;
> | }
>
>> I mean I know how to use the gdb or insight.
>> But I wonder which execute file I need to run, is the "cc1"?
>> and to compile the "conftest.c" file with "cc1"?
>
> Yes.
>
Thanks.
So it is the simplest program. I will find the problem..
Thank you again.
More information about the Gcc
mailing list