Release 5.4 make buildworld results in segfault

Fred McCann fred at automaticrootbeer.com
Wed Oct 19 20:10:57 PDT 2005


I'm having a problem building from source with 5.4 release. I'm  
trying to set up my system (a new build from the 5.4 iso images  
downloaded yesterday) to use CVSup for updates.

Here's my supfile:

*default host=cvsup11.freebsd.org
*default release=cvs tag=RELENG_5_4
*default base=/var/db
*default prefix=/usr
*default delete use-rel-suffix

src-all
ports-archivers
ports-base
ports-databases
ports-devel
ports-dns
ports-editors
ports-ftp
ports-java
ports-lang
ports-mail
ports-misc
ports-net
ports-net-mgmt
ports-security
ports-shells
ports-sysutils
ports-www


I don't think there's anything obviously wrong there. I believe I  
have it set up to grab upates for 5.4 stable. Running cvsup seems to  
work just fine.

After cvsuping, I ran this in /usr/src:

rm -rf /usr/obj/usr/src && make cleandir && make buildworld

This ends in:

...
cc -O -pipe -DINFODIR=\"/usr/share/info:/usr/local/info:/usr/X11R6/ 
info:.\" -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\"  -I/usr/ 
src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo -I/usr/src/ 
gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/lib  -I/usr/obj/ 
usr/src/i386/legacy/usr/include -c /usr/src/gnu/usr.bin/texinfo/ 
info/../../../../contrib/texinfo/info/search.c
cc -O -pipe -DINFODIR=\"/usr/share/info:/usr/local/info:/usr/X11R6/ 
info:.\" -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\"  -I/usr/ 
src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo -I/usr/src/ 
gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/lib  -I/usr/obj/ 
usr/src/i386/legacy/usr/include -c /usr/src/gnu/usr.bin/texinfo/ 
info/../../../../contrib/texinfo/info/session.c
/usr/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info/ 
session.c: In function `info_search_1':
/usr/src/gnu/usr.bin/texinfo/info/../../../../contrib/texinfo/info/ 
session.c:3780: 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/texinfo/info.
*** Error code 1

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

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

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

Stop in /usr/src.


What's strange about my issue is that buildworld always ends in an  
internal compiler error, but it's not always the same error. I tried  
running rm -rf /usr/obj/usr/src && make cleandir && make buildworld  
again and I get this:

...
cc -O -pipe -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr/obj/usr/src/i386/ 
usr\" -I/u
sr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools -I/usr/ 
src/gnu/usr
.bin/cc/cc_int/../cc_tools -I/usr/src/gnu/usr.bin/cc/ 
cc_int/../../../../contrib/
gcc -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config - 
DHAVE_CONFI
G_H -DTARGET_NAME=\"i386-fbsdproj-freebsd\" -DIN_GCC  -I/usr/obj/usr/ 
src/i386/le
gacy/usr/include -c /usr/src/gnu/usr.bin/cc/cc_int/../../../../ 
contrib/gcc/expr.
c
/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/expr.c: In  
function `expa
nd_expr_real':
/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/expr.c:9128:  
internal com
piler error: in remove_insn, at emit-rtl.c:3729
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_int.
*** 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.


Another attempt at buildworld and the machine dumped core and stopped  
responding. I'm at a loss here. I'm following the instructions for  
setting up cvsup from the BSD Handbook and Absolute BSD. I'm not sure  
if I have a bad supfile and I'm missing something or if something  
more sinister is occuring. I can't figure out why I'm getting  
different errors when running the same commands. I've tried looking  
at the FAQs and some web forums, but I've got nothing. I would  
appreciate any suggestions.

Thanks

- Fred McCann


More information about the freebsd-questions mailing list