Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 May 2000 12:13:54 -0700
From:      Kent Stewart <kstewart@3-cities.com>
To:        Graham Wheeler <gram@cequrux.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Problems compiling FreeBSD stable
Message-ID:  <392D7B72.A47AC410@3-cities.com>
References:  <392D1CC3.B5351A71@cequrux.com> <392D42E0.F5AED967@cequrux.com>

next in thread | previous in thread | raw e-mail | index | archive | help


Graham Wheeler wrote:
> 
> Graham Wheeler wrote:
> >
> > Hi all
> >
> > I am trying to do a `make world' after cvsup'ing my whole /usr/src tree
> > to the latest RELENG_4 stable release (international version). I'm
> > getting a whole load of errors when it gets to compiling gcc though. I
> > have attached the tail end of my make output.
> >
> > Also, I managed to build a kernel using the same config file as I used
> > for a 4.0 kernel. The new kernel causes a page fault panic upon booting.
> >
> > Does anyone have any suggestions as to how I can proceed? Other than the
> > obvious one of going back to the source on my 4.0 CDs...
> 
> Interestingly enough, I went and reinstalled my 4.0 release source
> tree, and now I get the same errors when I try to do a make world
> with that tree. Before I used cvsup at all, I could quite happily do a
> make world in this tree. So something has got horribly messed up by the
> process of cvsup'ing to RELENG_4 stable.
> 
> I'm not sure what I can do now other than a complete reinstall of 4.0
> release. 8-(

No problem, you just have to get back in sync. You can't expect to boot
with a 4.0-Stable kernel and a 4.0-Release system and have things be
normal. At boot time select /kernel.old and then upgrade your system in
the proper order. I'm not using the international version but a cvsup of
stable from an hour ago compiles. Re-cvsup and don't install a new
kernel until you get a good build world. When I first started paying
attention to 4.0, the were telling people to do the buildworld,
config-make a new kernel, boot to single user mode and finish your
installworld. The reason for not doing the installworld first is to keep
you from shooting yourself in the foot, i.e., the /kernel.old won't work
either.

Good Luck,

Kent

Kent
> 
> 
> ------------------------------------------------------------------------
> > cc -O -pipe -DFREEBSD_NATIVE -DIN_GCC -DHAVE_CONFIG_H -DDEFAULT_TARGET_VERSION=\"2.95.2\" -DDEFAULT_TARGET_MACHINE=\"i386-unknown-freebsd\" -DPREFIX=\"/usr/obj/usr/src/i386/usr\" -I/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc1plus/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/config -I/usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp -I.   -I/usr/obj/usr/src/i386/usr/include -c /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/xref.c
> > cc -O -pipe -DFREEBSD_NATIVE -DIN_GCC -DHAVE_CONFIG_H -DDEFAULT_TARGET_VERSION=\"2.95.2\" -DDEFAULT_TARGET_MACHINE=\"i386-unknown-freebsd\" -DPREFIX=\"/usr/obj/usr/src/i386/usr\" -I/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc1plus/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/config -I/usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp -I.   -I/usr/obj/usr/src/i386/usr/include  -static -o cc1plus parse.o call.o class.o cvt.o decl.o decl2.o errfn.o error.o except.o expr.o friend.o init.o lex.o method.o pt.o ptree.o repo.o rtti.o search.o semantics.o sig.o spew.o tree.o typeck.o typeck2.o xref.o  /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `finish_struct':
> > c-decl.o(.text+0x6ae8): multiple definition of `finish_struct'
> > class.o(.text+0x4f94): first defined here
> > /usr/libexec/elf/ld: Warning: size of symbol `finish_struct' changed from 286 to 1572 in c-decl.o
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o)(.data+0x58): multiple definition of `dollars_in_ident'
> > decl2.o(.data+0x3c): first defined here
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `print_lang_identifier':
> > c-decl.o(.text+0xe7c): multiple definition of `print_lang_identifier'
> > ptree.o(.text+0x3e0): first defined here
> > /usr/libexec/elf/ld: Warning: size of symbol `print_lang_identifier' changed from 202 to 125 in c-decl.o
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `shadow_label':
> > c-decl.o(.text+0x2cc8): multiple definition of `shadow_label'
> > decl.o(.text+0x49ac): first defined here
> > /usr/libexec/elf/ld: Warning: size of symbol `shadow_label' changed from 102 to 126 in c-decl.o
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `xref_tag':
> > c-decl.o(.text+0x68c8): multiple definition of `xref_tag'
> > decl.o(.text+0xecdc): first defined here
> > /usr/libexec/elf/ld: Warning: size of symbol `xref_tag' changed from 957 to 204 in c-decl.o
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `init_decl_processing':
> > c-decl.o(.text+0x2f5c): multiple definition of `init_decl_processing'
> > decl.o(.text+0x6000): first defined here
> > /usr/libexec/elf/ld: Warning: size of symbol `init_decl_processing' changed from 7570 to 5366 in c-decl.o
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `define_label':
> > c-decl.o(.text+0x2d48): multiple definition of `define_label'
> > decl.o(.text+0x4a14): first defined here
> > /usr/libexec/elf/ld: Warning: size of symbol `define_label' changed from 687 to 135 in c-decl.o
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `poplevel':
> > c-decl.o(.text+0x10e8): multiple definition of `poplevel'
> > decl.o(.text+0x6e0): first defined here
> > /usr/libexec/elf/ld: Warning: size of symbol `poplevel' changed from 1427 to 706 in c-decl.o
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `shadow_tag':
> > c-decl.o(.text+0x44f0): multiple definition of `shadow_tag'
> > decl.o(.text+0x8090): first defined here
> > /usr/libexec/elf/ld: Warning: size of symbol `shadow_tag' changed from 109 to 21 in c-decl.o
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `finish_decl':
> > c-decl.o(.text+0x4888): multiple definition of `finish_decl'
> > decl.o(.text+0x97bc): first defined here
> > /usr/libexec/elf/ld: Warning: size of symbol `finish_decl' changed from 29 to 1082 in c-decl.o
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `maybe_build_cleanup':
> > c-decl.o(.text+0x4cc4): multiple definition of `maybe_build_cleanup'
> > decl.o(.text+0x118dc): first defined here
> > /usr/libexec/elf/ld: Warning: size of symbol `maybe_build_cleanup' changed from 25 to 7 in c-decl.o
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `start_enum':
> > c-decl.o(.text+0x713c): multiple definition of `start_enum'
> > decl.o(.text+0xf5d0): first defined here
> > /usr/libexec/elf/ld: Warning: size of symbol `start_enum' changed from 180 to 171 in c-decl.o
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `store_parm_decls':
> > c-decl.o(.text+0x7aa0): multiple definition of `store_parm_decls'
> > decl.o(.text+0x104d0): first defined here
> > /usr/libexec/elf/ld: Warning: size of symbol `store_parm_decls' changed from 704 to 1650 in c-decl.o
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `insert_block':
> > c-decl.o(.text+0x13e8): multiple definition of `insert_block'
> > decl.o(.text+0xcb0): first defined here
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `getdecls':
> > c-decl.o(.text+0x2dd0): multiple definition of `getdecls'
> > decl.o(.text+0x4e04): first defined here
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `lookup_name_current_level':
> > c-decl.o(.text+0x2f18): multiple definition of `lookup_name_current_level'
> > decl.o(.text+0x5cb8): first defined here
> > /usr/libexec/elf/ld: Warning: size of symbol `lookup_name_current_level' changed from 143 to 65 in c-decl.o
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `copy_lang_decl':
> > c-decl.o(.text+0x86b4): multiple definition of `copy_lang_decl'
> > lex.o(.text+0x6b18): first defined here
> > /usr/libexec/elf/ld: Warning: size of symbol `copy_lang_decl' changed from 169 to 5 in c-decl.o
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `start_decl':
> > c-decl.o(.text+0x4668): multiple definition of `start_decl'
> > decl.o(.text+0x8128): first defined here
> > /usr/libexec/elf/ld: Warning: size of symbol `start_decl' changed from 1206 to 541 in c-decl.o
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `gettags':
> > c-decl.o(.text+0x2ddc): multiple definition of `gettags'
> > decl.o(.text+0x4e10): first defined here
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `keep_next_level':
> > c-decl.o(.text+0xf88): multiple definition of `keep_next_level'
> > decl.o(.text+0x220): first defined here
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o)(.data+0x5c): multiple definition of `debug_temp_inits'
> > decl.o(.data+0x24): first defined here
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `build_enumerator':
> > c-decl.o(.text+0x741c): multiple definition of `build_enumerator'
> > decl.o(.text+0xf894): first defined here
> > /usr/libexec/elf/ld: Warning: size of symbol `build_enumerator' changed from 486 to 385 in c-decl.o
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `delete_block':
> > c-decl.o(.text+0x13ac): multiple definition of `delete_block'
> > decl.o(.text+0xc74): first defined here
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `finish_enum':
> > c-decl.o(.text+0x71e8): multiple definition of `finish_enum'
> > decl.o(.text+0xf684): first defined here
> > /usr/libexec/elf/ld: Warning: size of symbol `finish_enum' changed from 528 to 563 in c-decl.o
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o)(.data+0x34): multiple definition of `flag_signed_bitfields'
> > decl2.o(.data+0x0): first defined here
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `lookup_name':
> > c-decl.o(.text+0x2ef0): multiple definition of `lookup_name'
> > decl.o(.text+0x5ca0): first defined here
> > /usr/libexec/elf/ld: Warning: size of symbol `lookup_name' changed from 23 to 37 in c-decl.o
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `complete_array_type':
> > c-decl.o(.text+0x4d70): multiple definition of `complete_array_type'
> > decl.o(.text+0x9a64): first defined here
> > /usr/libexec/elf/ld: Warning: size of symbol `complete_array_type' changed from 361 to 283 in c-decl.o
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `pushdecl':
> > c-decl.o(.text+0x239c): multiple definition of `pushdecl'
> > decl.o(.text+0x36c8): first defined here
> > /usr/libexec/elf/ld: Warning: size of symbol `pushdecl' changed from 2371 to 1611 in c-decl.o
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `declare_parm_level':
> > c-decl.o(.text+0xfd4): multiple definition of `declare_parm_level'
> > decl.o(.text+0x260): first defined here
> > /usr/libexec/elf/ld: Warning: size of symbol `declare_parm_level' changed from 18 to 14 in c-decl.o
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `print_lang_decl':
> > c-decl.o(.text+0xe6c): multiple definition of `print_lang_decl'
> > ptree.o(.text+0x0): first defined here
> > /usr/libexec/elf/ld: Warning: size of symbol `print_lang_decl' changed from 236 to 5 in c-decl.o
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `print_lang_type':
> > c-decl.o(.text+0xe74): multiple definition of `print_lang_type'
> > ptree.o(.text+0xec): first defined here
> > /usr/libexec/elf/ld: Warning: size of symbol `print_lang_type' changed from 753 to 5 in c-decl.o
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `groktypename':
> > c-decl.o(.text+0x4628): multiple definition of `groktypename'
> > decl.o(.text+0x8100): first defined here
> > /usr/libexec/elf/ld: Warning: size of symbol `groktypename' changed from 37 to 32 in c-decl.o
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `grokfield':
> > c-decl.o(.text+0x6a4c): multiple definition of `grokfield'
> > decl2.o(.text+0x1934): first defined here
> > /usr/libexec/elf/ld: Warning: size of symbol `grokfield' changed from 1204 to 83 in c-decl.o
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `pushlevel':
> > c-decl.o(.text+0xff4): multiple definition of `pushlevel'
> > decl.o(.text+0x2bc): first defined here
> > /usr/libexec/elf/ld: Warning: size of symbol `pushlevel' changed from 129 to 165 in c-decl.o
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o)(.data+0x3c): multiple definition of `warn_long_long'
> > decl2.o(.data+0x14): first defined here
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `start_function':
> > c-decl.o(.text+0x75a0): multiple definition of `start_function'
> > decl.o(.text+0xfa7c): first defined here
> > /usr/libexec/elf/ld: Warning: size of symbol `start_function' changed from 2619 to 1264 in c-decl.o
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `pushdecl_top_level':
> > c-decl.o(.text+0x29e8): multiple definition of `pushdecl_top_level'
> > decl.o(.text+0x4104): first defined here
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `implicitly_declare':
> > c-decl.o(.text+0x2a18): multiple definition of `implicitly_declare'
> > decl.o(.text+0x4698): first defined here
> > /usr/libexec/elf/ld: Warning: size of symbol `implicitly_declare' changed from 189 to 245 in c-decl.o
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `kept_level_p':
> > c-decl.o(.text+0xf98): multiple definition of `kept_level_p'
> > decl.o(.text+0x230): first defined here
> > /usr/libexec/elf/ld: Warning: size of symbol `kept_level_p' changed from 47 to 59 in c-decl.o
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `lookup_label':
> > c-decl.o(.text+0x2c1c): multiple definition of `lookup_label'
> > decl.o(.text+0x4860): first defined here
> > /usr/libexec/elf/ld: Warning: size of symbol `lookup_label' changed from 331 to 169 in c-decl.o
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `set_block':
> > c-decl.o(.text+0x1414): multiple definition of `set_block'
> > decl.o(.text+0xcdc): first defined here
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `pushtag':
> > c-decl.o(.text+0x15a0): multiple definition of `pushtag'
> > decl.o(.text+0x20a0): first defined here
> > /usr/libexec/elf/ld: Warning: size of symbol `pushtag' changed from 727 to 132 in c-decl.o
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `global_bindings_p':
> > c-decl.o(.text+0xf70): multiple definition of `global_bindings_p'
> > decl.o(.text+0x1b4): first defined here
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o)(.data+0x54): multiple definition of `warn_multichar'
> > decl2.o(.data+0x30): first defined here
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `finish_function':
> > c-decl.o(.text+0x8360): multiple definition of `finish_function'
> > decl.o(.text+0x10880): first defined here
> > /usr/libexec/elf/ld: Warning: size of symbol `finish_function' changed from 3003 to 565 in c-decl.o
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `implicitly_declare':
> > c-decl.o(.text+0x2a81): undefined reference to `maybe_objc_check_decl'
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `finish_decl':
> > c-decl.o(.text+0x4b1c): undefined reference to `maybe_objc_check_decl'
> > c-decl.o(.text+0x4b51): undefined reference to `maybe_objc_check_decl'
> > c-decl.o(.text+0x4bce): undefined reference to `maybe_objc_check_decl'
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o): In function `grokfield':
> > c-decl.o(.text+0x6a92): undefined reference to `maybe_objc_check_decl'
> > /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1plus/../cc_int/libcc_int.a(c-decl.o)(.text+0x7077): more undefined references to `maybe_objc_check_decl' follow
> > *** Error code 1
> >
> > Stop in /usr/src/gnu/usr.bin/cc/cc1plus.
> > *** 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.
> 
> --
> Dr Graham Wheeler                        E-mail: gram@cequrux.com
> Director, Research and Development       WWW:    http://www.cequrux.com
> CEQURUX Technologies                     Phone:  +27(21)423-6065
> Firewalls/VPN Specialists                Fax:    +27(21)424-3656
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?392D7B72.A47AC410>