Professional Web Applications Themes

segfaults when building world - FreeBSD

I am having problems building world off a fresh install of FreeBSD 5.3 I cvsup'd the src from cvsup2.freebsd.org with the tag 'releng_5_3'. Also tried and removed the entire src dir and cvsup'd again from cvs3.freebsd.org with the same tag... hoping it might just be a corrupt src I grabbed the first time. Other than the segfault errors the system has also hung once while attempting to build world. and another time while `make cleandir` in /usr/src to prepare for another attempt. One thing to note, when I buildworld it will exit at different points. I also confirmed this with ...

  1. #1

    Default segfaults when building world

    I am having problems building world off a fresh install of FreeBSD 5.3

    I cvsup'd the src from cvsup2.freebsd.org with the tag 'releng_5_3'.
    Also tried and removed the entire src dir and cvsup'd again from
    cvs3.freebsd.org with the same tag... hoping it might just be a corrupt
    src I grabbed the first time.

    Other than the segfault errors the system has also hung once while
    attempting to build world. and another time while `make cleandir` in
    /usr/src to prepare for another attempt.

    One thing to note, when I buildworld it will exit at different points.
    I also confirmed this with doing `time make buildworld`, the time
    changes with each attempt as well.

    My make.conf contains...
    "CFLAGS= -O -pipe"
    "NO_BLUETOOTH= true"
    "NO_SENDMAIL= true"
    "NOPROFILE= true "
    I've also tried a default make.conf file and some variations with my
    make.conf but still nothing...

    I've tried `make buildworld` or `make -j4 buildworld` as suggested by
    the handbook.
    Each new attempt I always...
    # chflags -R noschg /usr/obj/usr
    # rm -rf /usr/obj/usr
    # cd /usr/src
    # make cleandir
    I would do `make cleandir` twice as suggested by someone just to be sure

    I googled a bit and from what i gathered it could be a hardware
    issue... Seems about right, request a tech the datacenter where the
    server is located to run 'memtest'. Reported fine...

    I was sure it was a hardware issue, now I am completely out of options!
    If anyone has -any- suggestions at all please let me know!

    A copy of one of the segfault errors while doing make buildworld:
    ---------------------------------------------
    ./contrib/gcc
    -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config
    -DGENERATOR_FILE -I/usr/obj/usr/src/i386/legacy/usr/include -c
    /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genmodes.c
    /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genmodes.c:
    In function `emit_insn_modes_c_header':

    /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genmodes.c:
    836: internal compiler error: Segmentation fault
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <URL:http://gcc.gnu.org/bugs.html> for instructions.
    *** Error code 1

    Stop in /usr/src/gnu/usr.bin/cc/cc_tools.
    *** Error code 1

    Stop in /usr/src/gnu/usr.bin/cc.
    *** Error code 1

    Stop in /usr/src.
    *** Error code 1

    Stop in /usr/src.
    *** Error code 1

    Stop in /usr/src.
    _______________________________________
    fadeaway@gmail.com Guest

  2. #2

    Default Re: segfaults when building world

    com wrote: 

    Some redundancy:

    your supfile ought to look something like this:
    *default host=cvsup2.FreeBSD.org
    *default base=/usr
    *default prefix=/usr
    *default release=cvs tag=RELENG_5_3
    *default delete use-rel-suffix
    *default compress
    src-all

    After you cvsup'd - you read /usr/src/UPDATING for anything that might
    pop out at you

    A vvery basic /etc/make.conf:
    PERL_VER=5.8.6
    PERL_VERSION=5.8.6

    the statndard:

    cd /usr/obj
    chflags -R noschg *
    rm -rf *
    cd /usr/src
    make buildworld

    If all above true, I don't know.

    --
    Best regards,
    Chris

    Any circuit design must contain at least one part which
    is obsolete, two parts which are unobtainable and three
    parts which at still under development.
    Chris Guest

  3. #3

    Default Re: segfaults when building world

    com wrote:
    [ ... ] 

    If the compile were to fail in the same place, every time, there would be a
    chance that it might be a problem with the source code.

    However, if the compile fails in different places-- which is your case--
    that's almost certainly a hardware problem such as your system overheating
    under load, a marginal power supply, or bad RAM. Check your CPU fan and other
    cooling, and try running memtest.org's checker overnight and see what that
    gives....

    --
    -Chuck
    Chuck Guest

  4. #4

    Default Re: segfaults when building world

    [...]
     

    [...]

    PLEASE PLEASE PLEASE turn this off if you aren't on dialup. All it does
    is waste CPU on the cvsup servers.



    Regards,
    Brad Davis
    Brad Guest

Similar Threads

  1. 5.3 and building world
    By gabriel in forum FreeBSD
    Replies: 4
    Last Post: March 6th, 08:21 PM
  2. segfaults on mandrake...
    By Ferenc in forum Ruby
    Replies: 15
    Last Post: January 20th, 06:56 PM
  3. #25369 [Opn->Bgs]: building 64K arrays of 64K elements segfaults
    By magnus@php.net in forum PHP Development
    Replies: 0
    Last Post: September 3rd, 12:45 AM
  4. #25369 [Opn]: building 64K arrays of 64K elements segfaults
    By helly@php.net in forum PHP Development
    Replies: 0
    Last Post: September 3rd, 12:45 AM

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139