Date: Mon, 29 Nov 1999 02:13:27 +0900 From: Motoyuki Konno <motoyuki@snipe.rim.or.jp> To: current@freebsd.org Subject: __do_global_ctors in a.out Message-ID: <199911281713.CAA33652@sakura.snipe.rim.or.jp>
next in thread | raw e-mail | index | archive | help
Hi, "make -DWANT_AOUT world" on my -current machines fails at: -------- log starts here -------- rm -f .depend /usr/obj/aout/usr/src/lib/libncurses/GPATH /usr/obj/aout/usr/src/lib/libncurses/GRTAGS /usr/obj/aout/usr/src/lib/libncurses/GSYMS /usr/obj/aout/usr/src/lib/libncurses/GTAGS cc -o make_keys -O2 -m486 -pipe -I. -I/usr/src/lib/libncurses -I/usr/src/lib/libncurses/../../contrib/ncurses/ncurses -I/usr/src/lib/libncurses/../../contrib/ncurses/include -Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -I/usr/obj/aout/usr/src/tmp/usr/include /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/make_keys.c __main.o: Undefined symbol `___do_global_ctors' referenced from text segment *** Error code 1 Stop in /usr/src/lib/libncurses. *** Error code 1 --------- log ends here --------- I think the problem is the following codes in src/contrib/gcc/libgcc2.c, which should be enabled in a.out system. -------- libgcc2.c line 2870 void __do_global_ctors () { DO_GLOBAL_CTORS_BODY; ON_EXIT (__do_global_dtors, 0); } -------- -- ------------------------------------------------------------------------ Motoyuki Konno mkonno@res.yamanashi-med.ac.jp (Univ) motoyuki@snipe.rim.or.jp (Home) motoyuki@FreeBSD.ORG (FreeBSD Project) Yamanashi Medical University http://www.freebsd.org/~motoyuki/ (WWW) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911281713.CAA33652>