make buildworld ....gcc bug

James jamesh at lanl.gov
Wed Nov 7 13:43:20 PST 2007


On Wed, 2007-11-07 at 23:01 +0200, tethys ocean wrote:

> When I am rebuilding world  FreeBSD 6.2 I have take error that is
> shown below. What can I do!?
> 
> [root at tethys /usr/src]#  make buildworld
> 
> 
> root at tethys# gcc -v
> Using built-in specs.
> Configured with: FreeBSD/i386 system compiler
> Thread model: posix
> gcc version 3.4.6 [FreeBSD] 20060305

The current version of gcc for FreeBSD is 4.2. Sync your ports tree,
follow the advice in UPDATING and update, and try again.

If you're using pkg_add, sub in the appropriate commands.

James



> root at tethys#
> 
> 
> /usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld/ldemul.h:155:
> warning: "struct option" declared inside parameter list
> cc -O2 -fno-strict-aliasing -pipe -I.
> -I/usr/src/gnu/usr.bin/binutils/ld -I/usr/src
> /gnu/usr.bin/binutils/ld/../libbfd
> -I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/binut
> ils/ld/../libbfd
> -I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/in
> clude -DTARGET=\"i386-obrien-freebsd\"
> -DDEFAULT_EMULATION=\"elf_i386_fbsd\" -DSCRI
> PTDIR=\"/usr/obj/usr/src/tmp/usr/libdata\"
> -DBFD_VERSION_STRING=\""2.15 [FreeBSD] 2
> 004-05-23"\" -DBINDIR=\"/usr/bin\"
> -DTARGET_SYSTEM_ROOT=\"/usr/obj/usr/src/tmp\" -D
> TOOLBINDIR=\"/usr/obj/usr/src/tmp//usr/bin/libexec\" -D_GNU_SOURCE
> -I/usr/src/gnu/u
> sr.bin/binutils/ld/../../../../contrib/binutils/ld
> -I/usr/src/gnu/usr.bin/binutils/
> ld/../../../../contrib/binutils/bfd
> -I/usr/obj/usr/src/tmp/legacy/usr/include -c ldlex.c
> /usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld/ldlex.l:
> In function `yylex':
> /usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld/ldlex.l:579:
> internal compiler error: Segmentation fault: 11
> 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/binutils/ld.
> *** Error code 1
> 
> Stop in /usr/src/gnu/usr.bin/binutils.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> [root at tethys /usr/src]#
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list