buildworld failure, rtld-elf, RELENG_5_0
I'm trying to upgrade from -stable to 5, but the build failed at rtld-elf. One error and a whole lot of warnings. I don't know where I should start as I'm new to current (even though it's technically not -current). I swear I followed the instructions in UPGRADING. Any help would be greatly appreciated. Info follows. Let me know if you need to know more. Thanks a lot, Evan Dower $ uname -a FreeBSD lojak.u.washington.edu 4.7-STABLE FreeBSD 4.7-STABLE #0: Tue Jan 21 21:58:07 PST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM i386 # script /root/buildworld.out env -i make buildworld -- snip ( the whole file can be found at http://students.washington.edu/evantd/buildworld.out -- === libexec/rtld-elf cc -O -pipe -mcpu=pentiumpro -Wall -DFREEBSD_ELF -I/usr/src/libexec/rtld-elf/i386 -I/usr/src/libexec/rtld-elf -elf -fpic -DPIC -Wformat=2 -Wno-format-extra-args -Werror -c /usr/src/libexec/rtld-elf/i386/rtld_start.S cc -O -pipe -mcpu=pentiumpro -Wall -DFREEBSD_ELF -I/usr/src/libexec/rtld-elf/i386 -I/usr/src/libexec/rtld-elf -elf -fpic -DPIC -Wformat=2 -Wno-format-extra-args -Werror -c /usr/src/libexec/rtld-elf/rtld.c /usr/src/libexec/rtld-elf/rtld.c: In function `find_symdef': /usr/src/libexec/rtld-elf/rtld.c:2035: syntax error at end of input cc1: warnings being treated as errors /usr/src/libexec/rtld-elf/rtld.c:838: warning: unused variable `hash' /usr/src/libexec/rtld-elf/rtld.c:835: warning: unused variable `def' /usr/src/libexec/rtld-elf/rtld.c:83: warning: `gethints' used but never defined /usr/src/libexec/rtld-elf/rtld.c:84: warning: `init_dag' declared `static' but never defined /usr/src/libexec/rtld-elf/rtld.c:85: warning: `init_dag1' declared `static' but never defined /usr/src/libexec/rtld-elf/rtld.c:86: warning: `init_rtld' used but never defined /usr/src/libexec/rtld-elf/rtld.c:87: warning: `initlist_add_neededs' declared `static' but never defined /usr/src/libexec/rtld-elf/rtld.c:89: warning: `initlist_add_objects' used but never defined /usr/src/libexec/rtld-elf/rtld.c:90: warning: `is_exported' declared `static' but never defined /usr/src/libexec/rtld-elf/rtld.c:91: warning: `linkmap_add' used but never defined /usr/src/libexec/rtld-elf/rtld.c:92: warning: `linkmap_delete' declared `static' but never defined /usr/src/libexec/rtld-elf/rtld.c:93: warning: `load_needed_objects' used but never defined /usr/src/libexec/rtld-elf/rtld.c:94: warning: `load_preload_objects' used but never defined /usr/src/libexec/rtld-elf/rtld.c:95: warning: `load_object' declared `static' but never defined /usr/src/libexec/rtld-elf/rtld.c:96: warning: `lock_check' used but never defined /usr/src/libexec/rtld-elf/rtld.c:97: warning: `obj_from_addr' declared `static' but never defined /usr/src/libexec/rtld-elf/rtld.c:98: warning: `objlist_call_fini' declared `static' but never defined /usr/src/libexec/rtld-elf/rtld.c:99: warning: `objlist_call_init' used but never defined /usr/src/libexec/rtld-elf/rtld.c:100: warning: `objlist_clear' used but never defined /usr/src/libexec/rtld-elf/rtld.c:101: warning: `objlist_find' declared `static' but never defined /usr/src/libexec/rtld-elf/rtld.c:102: warning: `objlist_init' used but never defined /usr/src/libexec/rtld-elf/rtld.c:103: warning: `objlist_push_head' declared `static' but never defined /usr/src/libexec/rtld-elf/rtld.c:104: warning: `objlist_push_tail' used but never defined /usr/src/libexec/rtld-elf/rtld.c:105: warning: `objlist_remove' declared `static' but never defined /usr/src/libexec/rtld-elf/rtld.c:106: warning: `objlist_remove_unref' declared `static' but never defined /usr/src/libexec/rtld-elf/rtld.c:107: warning: `relocate_objects' used but never defined /usr/src/libexec/rtld-elf/rtld.c:108: warning: `rtld_exit' used but never defined /usr/src/libexec/rtld-elf/rtld.c:109: warning: `search_library_path' used but never defined /usr/src/libexec/rtld-elf/rtld.c:110: warning: `get_program_var_addr' declared `static' but never defined /usr/src/libexec/rtld-elf/rtld.c:111: warning: `set_program_var' used but never defined /usr/src/libexec/rtld-elf/rtld.c:113: warning: `symlook_default' declared `static' but never defined /usr/src/libexec/rtld-elf/rtld.c:115: warning: `symlook_list' declared `static' but never defined /usr/src/libexec/rtld-elf/rtld.c:116: warning: `trace_loaded_objects' used but never defined /usr/src/libexec/rtld-elf/rtld.c:117: warning: `unload_object' declared `static' but never defined /usr/src/libexec/rtld-elf/rtld.c:118: warning: `unref_dag' declared `static' but never defined *** Error code 1 Stop in /usr/src/libexec/rtld-elf. *** Error code 1 Stop in /usr/src/libexec. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Script done on Wed Jan 22 21:02:45 2003 _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail To
Re: buildworld failure, rtld-elf, RELENG_5_0
An update: CVSup'ing didn't fix the problem, but when I deleted the rtld.c and mv'd /etc/make.conf /etc/make.conf.hide, it stopped at /usr/src/contrib/amd/amd/srvr_nfs.c. So, I deleted that file, CVSup'd, and built again, and everything built fine. Very strange... cvsweb doesn't show any recent changes to either file. Any ideas on what was going on? Thanks again, Evan Dower From: Evan Dower [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: buildworld failure, rtld-elf, RELENG_5_0 Date: Thu, 23 Jan 2003 00:17:14 -0800 I'm trying to upgrade from -stable to 5, but the build failed at rtld-elf. One error and a whole lot of warnings. I don't know where I should start as I'm new to current (even though it's technically not -current). I swear I followed the instructions in UPGRADING. Any help would be greatly appreciated. Info follows. Let me know if you need to know more. Thanks a lot, Evan Dower $ uname -a FreeBSD lojak.u.washington.edu 4.7-STABLE FreeBSD 4.7-STABLE #0: Tue Jan 21 21:58:07 PST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM i386 # script /root/buildworld.out env -i make buildworld -- snip ( the whole file can be found at http://students.washington.edu/evantd/buildworld.out -- _ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: buildworld failure, rtld-elf, RELENG_5_0
On Thu, Jan 23, 2003 at 09:15:24AM -0800, Evan Dower wrote: An update: CVSup'ing didn't fix the problem, but when I deleted the rtld.c and mv'd /etc/make.conf /etc/make.conf.hide, it stopped at /usr/src/contrib/amd/amd/srvr_nfs.c. So, I deleted that file, CVSup'd, and built again, and everything built fine. Very strange... cvsweb doesn't show any recent changes to either file. Any ideas on what was going on? You either had local changes in that file, or it had become corrupted. Kris msg50785/pgp0.pgp Description: PGP signature