Development

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • gcc-4.1.1 - build fail

    7 answers - 579 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Hi, i'm trying to integrate BURS-based code generator into GCC-4.1.1. I
    modified corresponding files, print-rtl.c and final.c and my burs-based
    codegenrator is working fine.
    But when i'm trying to build compiler proper, its giving segmentation
    fault. I'm successful with GCC-4.0.0.
    error message:
    In function __do_global_dtors_aux:
    internal compiler error: Segmentation
    fault
    what is this crtstuff? I'm new to this gcc. I need some information
    regarding this error.
    can anybody help?
    Thanks in advance
  • No.1 | | 735 bytes | |

    BHASKAR G. REDDY writes:

    Hi, i'm trying to integrate BURS-based code generator into GCC-4.1.1. I
    modified corresponding files, print-rtl.c and final.c and my burs-based
    codegenrator is working fine.
    But when i'm trying to build compiler proper, its giving segmentation
    fault. I'm successful with GCC-4.0.0.

    error message:

    In function __do_global_dtors_aux:
    internal compiler error: Segmentation
    fault

    what is this crtstuff? I'm new to this gcc. I need some information
    regarding this error.

    can anybody help?

    You must tell us exactly your configure line, and your make line.

    Are you using "make bootstrap" ?

    Andrew.
  • No.2 | | 948 bytes | |

    "BHASKAR G. REDDY" <bhaskar (AT) cse (DOT) iitb.ac.inwrites:

    Hi, i'm trying to integrate BURS-based code generator into GCC-4.1.1. I
    modified corresponding files, print-rtl.c and final.c and my burs-based
    codegenrator is working fine.
    But when i'm trying to build compiler proper, its giving segmentation
    fault. I'm successful with GCC-4.0.0.

    error message:

    In function :
    internal compiler error: Segmentation
    fault

    what is this crtstuff? I'm new to this gcc. I need some information
    regarding this error.

    crtstuff.c is a file which is being built with the new compiler. The
    details are relatively unimportant. Your make output will print the
    exact command line which is being used to run the newly built
    compiler.

    This error indicates a bug in gcc itself. The bug is most likely
    related to the changes you made to the compiler.

    Ian
  • No.3 | | 826 bytes | |

    BHASKAR G. REDDY writes:

    Hi, i'm trying to integrate BURS-based code generator into GCC-4.1.1. I
    modified corresponding files, print-rtl.c and final.c and my burs-based
    codegenrator is working fine.
    But when i'm trying to build compiler proper, its giving segmentation
    fault. I'm successful with GCC-4.0.0.

    error message:

    In function __do_global_dtors_aux:
    internal compiler error:
    Segmentation
    fault
    --
    what is this crtstuff? I'm new to this gcc. I need some information
    regarding this error.

    can anybody help?

    You must tell us exactly your configure line, and your make line.

    Configure line: configure
    make line: make LANGUAGES=C

    Are you using "make bootstrap" ?

    Andrew.

    No, i am not using make bootstrap. :)
  • No.4 | | 1328 bytes | |

    "BHASKAR G. REDDY" <bhaskar (AT) cse (DOT) iitb.ac.inwrites:
    >
    >Hi, i'm trying to integrate BURS-based code generator into GCC-4.1.1. I
    >modified corresponding files, print-rtl.c and final.c and my burs-based
    >codegenrator is working fine.
    >But when i'm trying to build compiler proper, its giving segmentation
    >fault. I'm successful with GCC-4.0.0.
    >>

    >error message:
    >>

    >In function :
    >internal compiler error:
    >Segmentation
    >fault
    >>
    >>

    >what is this crtstuff? I'm new to this gcc. I need some information
    >regarding this error.
    >

    crtstuff.c is a file which is being built with the new compiler. The
    details are relatively unimportant. Your make output will print the
    exact command line which is being used to run the newly built
    compiler.

    This error indicates a bug in gcc itself. The bug is most likely
    related to the changes you made to the compiler.
    can u please let me knw how to proceed for debugging it? can i use already
    installed gdb for it. if so, please tell me starter commands to fire gdb
    in this case.

    Thanks. :)

    Ian
  • No.5 | | 380 bytes | |

    "BHASKAR G. REDDY" <bhaskar (AT) cse (DOT) iitb.ac.inwrites:

    This error indicates a bug in gcc itself. The bug is most likely
    related to the changes you made to the compiler.
    can u please let me knw how to proceed for debugging it? can i use already
    installed gdb for it. if so, please tell me starter commands to fire gdb
    in this case.

    Ian
  • No.6 | | 613 bytes | |

    "BHASKAR G. REDDY" <bhaskar (AT) cse (DOT) iitb.ac.inwrites:
    >
    >This error indicates a bug in gcc itself. The bug is most likely
    >related to the changes you made to the compiler.
    >can u please let me knw how to proceed for debugging it? can i use
    >already
    >installed gdb for it. if so, please tell me starter commands to fire gdb
    >in this case.
    >


    but compiler proper [ cc1] was not yet built. In the processing of
    building it i'm getting internal compiler error. Now i have to debug what,
    the driver[xgcc] ?

    Ian
  • No.7 | | 850 bytes | |

    "BHASKAR G. REDDY" <bhaskar (AT) cse (DOT) iitb.ac.inwrites:

    "BHASKAR G. REDDY" <bhaskar (AT) cse (DOT) iitb.ac.inwrites:
    >
    >This error indicates a bug in gcc itself. The bug is most likely
    >related to the changes you made to the compiler.
    >can u please let me knw how to proceed for debugging it? can i use
    >already
    >installed gdb for it. if so, please tell me starter commands to fire gdb
    >in this case.
    >


    but compiler proper [ cc1] was not yet built. In the processing of
    building it i'm getting internal compiler error. Now i have to debug what,
    the driver[xgcc] ?

    crtstuff is not part of the compiler proper. If your build fails
    building crtstuff, then cc1 has been built. cc1 is used to compile
    crtstuff.

    Ian

Re: gcc-4.1.1 - build fail


max 4000 letters.
Your nickname that display:
In order to stop the spam: 8 + 7 =
QUESTION ON "Development"

EMSDN.COM