segfaults when building world

fadeaway_at_gmail.com
Date: 04/09/05

  • Next message: Chris: "Re: segfaults when building world"
    To: freebsd-questions@freebsd.org
    Date: Sat, 9 Apr 2005 01:36:57 -0400
    
    

    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.
    _______________________________________
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Chris: "Re: segfaults when building world"

    Relevant Pages

    • make installworld fails for upgrade from RELEASE-4.7 to RELEASE-4.8
      ... After cvsuping my src from 4.7 to 4.8 did a make buildworld ... and make installworld - also added: ... *** Error code 1 ...
      (freebsd-questions)
    • make release...
      ... *** Error code 1 ... -P -r RELENG_4_8 src ... cvs: no such tag RELENG_4_8 ...
      (freebsd-current)
    • build 5.2-release fails on 4.9
      ... here is what I get after cvs from src... ... *** Error code 134 ... but mdconfig originally was not found I compile it from src and installed separetly, but now it complains about missing libraries ...
      (freebsd-current)
    • Squid 3.0
      ... Making all in src ... Making all in cppunit ... *** Error code 1 ... bash-3.1# exit ...
      (comp.unix.bsd.freebsd.misc)
    • Re: make release...
      ... root>> patch < genesis-patch-ae ... -P -r RELENG_4_8_RELEASE src ... *** Error code 1 ... cvs: no such tag RELENG_4_8 ...
      (freebsd-current)