World breakage from exit-sys_exit change?
Ok, I give up. It seems that the world change from exit to sys_exit broke the world build, but I can't figure out where. I've fixed every occurence of SYS_exit in the source tree (this one seems to be src/lib/csu/i386/crt0.c, but there were some in gdb as well), and removed /usr/obj - and I still get the following error from buildworld: === bin/cat cc -O -pipe -march=pentium -Wall -Wformat -I/usr/obj/usr/src/i386/usr/include -c /usr/src/bin/cat/cat.c gzip -cn /usr/src/bin/cat/cat.1 cat.1.gz cc -O -pipe -march=pentium -Wall -Wformat -I/usr/obj/usr/src/i386/usr/include -static -o cat cat.o /usr/obj/usr/src/i386/usr/lib/libc.a(_exit.o): In function `_exit': _exit.o(.text+0x2): undefined reference to `SYS_exit' *** Error code 1 1 error Is this one of those things that is going to require gyrations to get built? Thanx, mike To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: World breakage from exit-sys_exit change?
Mike Meyer wrote: Ok, I give up. It seems that the world change from exit to sys_exit broke the world build, but I can't figure out where. I've fixed every occurence of SYS_exit in the source tree (this one seems to be src/lib/csu/i386/crt0.c, but there were some in gdb as well), and removed /usr/obj - and I still get the following error from buildworld: I think this might be due to the fact that, for some reason, the build is still using the old syscall.h (the one that references SYS_exit rather than SYS_sys_exit -- ie. the installed one rather than the newly generated one). The funny thing here is I would have expected a make -DCLOBBER to take care of that... Regards, PYD To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: World breakage from exit-sys_exit change?
Argh! I knew today was going to stay a bad day. I am pretty sure I know how to fix this and will commit a fix shortly. If you want to try now, edit sys/kern/syscalls.master: 1 STD NOHIDE { void sys_exit(int rval); } sys_exit sys_exit_args void --- 1 STD NOHIDE { void sys_exit(int rval); } exit sys_exit_args void and cd src/sys/kern; make init_sysent.c Then your world should build ok. Mike Meyer wrote: Ok, I give up. It seems that the world change from exit to sys_exit broke the world build, but I can't figure out where. I've fixed every occurence of SYS_exit in the source tree (this one seems to be src/lib/csu/i386/crt0.c, but there were some in gdb as well), and removed /usr/obj - and I still get the following error from buildworld: === bin/cat cc -O -pipe -march=pentium -Wall -Wformat -I/usr/obj/usr/src/i386/usr/inclu de -c /usr/src/bin/cat/cat.c gzip -cn /usr/src/bin/cat/cat.1 cat.1.gz cc -O -pipe -march=pentium -Wall -Wformat -I/usr/obj/usr/src/i386/usr/inclu de -static -o cat cat.o /usr/obj/usr/src/i386/usr/lib/libc.a(_exit.o): In function `_exit': _exit.o(.text+0x2): undefined reference to `SYS_exit' *** Error code 1 1 error Is this one of those things that is going to require gyrations to get built? Thanx, mike To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message Cheers, -Peter -- Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: World breakage from exit-sys_exit change?
Peter Wemm writes: Argh! I knew today was going to stay a bad day. I had similar thoughts about mine, both before I started the build, and afterwards. I am pretty sure I know how to fix this and will commit a fix shortly. If you want to try now, edit sys/kern/syscalls.master: 1 STD NOHIDE { void sys_exit(int rval); } sys_exit sys_exit_args void --- 1 STD NOHIDE { void sys_exit(int rval); } exit sys_exit_args void and cd src/sys/kern; make init_sysent.c Then your world should build ok. That fix indeed seems to work (it managed to build cat), and looks saner than mine. Thanx, mike To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: World breakage from exit-sys_exit change?
Mike Meyer wrote: Peter Wemm writes: Argh! I knew today was going to stay a bad day. I had similar thoughts about mine, both before I started the build, and afterwards. I am pretty sure I know how to fix this and will commit a fix shortly. If you want to try now, edit sys/kern/syscalls.master: 1 STD NOHIDE { void sys_exit(int rval); } sys_exit sys_exit_args void --- 1 STD NOHIDE { void sys_exit(int rval); } exit sys_exit_args voi d and cd src/sys/kern; make init_sysent.c Then your world should build ok. That fix indeed seems to work (it managed to build cat), and looks saner than mine. Anyway, it should be all fixed now (and has been committed for a while). Cheers, -Peter -- Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message