Results 1 to 7 of 7

Thread: LFS - Help - Compiling gcc

  1. #1

    LFS - Help - Compiling gcc

    I have started on LFS and I am stuck compiling gcc. The problem seems to be with this:
    Code:
    make BOOT_LDFLAGS=-static bootstrap
    Because I get this:
    Code:
    ./../gcc-2.95.3/gcc/../include ../../gcc-2.95.3/gcc/dwarfout.c
    stage1/xgcc -Bstage1/ -B/usr/i586-pc-linux-gnu/bin/ -c -DIN_GCC   -O2 -g -O2             -DHAVE_CONFIG_H  -I. -I../../gcc-2.95.3/gcc -I../../gcc-2.95.3/gcc/config -I.            ./../gcc-2.95.3/gcc/../include ../../gcc-2.95.3/gcc/dwarf2out.c
    xgcc: Internal compiler error: program cc1 got fatal signal 11
    make[2]: *** [dwarf2out.o] Error 1
    make[2]: Leaving directory `/mnt/lfs/usr/src/sources/g/gcc-build/gcc'
    make[1]: *** [bootstrap] Error 2
    make[1]: Leaving directory `/mnt/lfs/usr/src/sources/g/gcc-build/gcc'
    make: *** [bootstrap] Error 2
    From what I have been reading my K6-2 might be at fault... what can I do?

  2. #2
    Moderator
    Kind Mastermind
    stryder144's Avatar
    Join Date
    Aug 2001
    Location
    Denver, CO
    Posts
    2,925

    Re: LFS - Help - Compiling gcc


    I have started on LFS and I am stuck compiling gcc. *The problem seems to be with this:
    Code:
    make BOOT_LDFLAGS=-static bootstrap
    Because I get this:
    Code:
    ./../gcc-2.95.3/gcc/../include ../../gcc-2.95.3/gcc/dwarfout.c
    stage1/xgcc -Bstage1/ -B/usr/i586-pc-linux-gnu/bin/ -c *-DIN_GCC * * -O2 -g -O2 * * * * * * * * * * * * -DHAVE_CONFIG_H * *-I. -I../../gcc-2.95.3/gcc -I../../gcc-2.95.3/gcc/config -I. * * * * * * * * * * * ./../gcc-2.95.3/gcc/../include ../../gcc-2.95.3/gcc/dwarf2out.c
    xgcc: Internal compiler error: program cc1 got fatal signal 11
    make[2]: *** [dwarf2out.o] Error 1
    make[2]: Leaving directory `/mnt/lfs/usr/src/sources/g/gcc-build/gcc'
    make[1]: *** [bootstrap] Error 2
    make[1]: Leaving directory `/mnt/lfs/usr/src/sources/g/gcc-build/gcc'
    make: *** [bootstrap] Error 2
    From what I have been reading my K6-2 might be at fault... *what can I do?
    Isn't a signal 11 error hardware related? If it is, then maybe your processor is at fault. Did you post this to the lfs-support mail list? They may have a work around for your problem.

  3. #3
    Guest

    Re: LFS - Help - Compiling gcc

    First of all, which GCC version are you compiling GCC with, and did you use Optimizations ?

  4. #4

    Re: LFS - Help - Compiling gcc

    gcc 2.95.4 no optimization

  5. #5

    Re: LFS - Help - Compiling gcc

    http://www.bitwizard.nl/sig11/
    maybe this helps a little bit ..

  6. #6
    Associate
    Join Date
    Dec 2001
    Posts
    17

    Re: LFS - Help - Compiling gcc

    compiler, compile thyself.

  7. #7

    Re: LFS - Help - Compiling gcc


    compiler, compile thyself.
    what a poetic statement ..

Similar Threads

  1. Kernel 2.6 Compiling PET
    By pbharris in forum Linux - General Topics
    Replies: 5
    Last Post: 07-08-2004, 02:09 PM
  2. Compiling Kernel under RH 8
    By trickster in forum Linux - General Topics
    Replies: 8
    Last Post: 01-04-2003, 03:20 PM
  3. compiling
    By friskydrifter in forum Linux - Software, Applications & Programming
    Replies: 5
    Last Post: 07-23-2002, 02:55 AM
  4. Compiling PHP-4.2.1
    By Ashcrow in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 06-30-2002, 09:59 PM
  5. Help with compiling GLE...
    By Daedra in forum Linux - General Topics
    Replies: 3
    Last Post: 03-01-2002, 10:24 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •