Date: Tue, 27 Jul 1999 11:38:11 +0100 (BST) From: m.seaman@inpharmatica.co.uk To: FreeBSD-gnats-submit@freebsd.org Subject: conf/12832: config -g creates broken Makefile in 3.2-STABLE/alpha Message-ID: <199907271038.LAA03567@b0.farm.inpharmatica.co.uk>
next in thread | raw e-mail | index | archive | help
>Number: 12832 >Category: conf >Synopsis: config -g creates broken Makefile in 3.2-STABLE/alpha >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 27 03:40:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Matthew Seaman >Release: FreeBSD 3.2-STABLE alpha >Organization: Inpharmatica Ltd >Environment: % uname -a FreeBSD b0.farm.inpharmatica.co.uk 3.2-STABLE FreeBSD 3.2-STABLE #0: Thu Jul 8 09:04:16 BST 1999 matthew@b0.farm.inpharmatica.co.uk:/usr/src/sys/compile/FARM alpha >Description: Under 3.2-STABLE/alpha attempting to build a kernel with debugging symbols via `config -g FARM' generates a broken Makefile in ../../compile/FARM b0:/sys/compile/FARM:# make -f Makefile.orig echo "gcc2_compiled." >symbols.exclude echo "___gnu_compiled_c" >>symbols.exclude grep -v '^#' ../../alpha/alpha/symbols.raw | sed 's/^ //' | sort -u > symbols.sort cc -c -nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -include opt_global.h -UKERNEL ../../alpha/alpha/genassym.c [deletia...] cc -O -pipe -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wuninitialized -Wformat -Wunused -fformat-extensions -ansi -g -nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -include opt_global.h -mno-fp-regs -Wa,-mev56 -c __remlu.S building __reml.S from ../../alpha/alpha/divrem.m4 cc -O -pipe -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wuninitialized -Wformat -Wunused -fformat-extensions -ansi -g -nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -include opt_global.h -mno-fp-regs -Wa,-mev56 -c __reml.S sh ../../conf/newvers.sh FARM cc -O -pipe -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wuninitialized -Wformat -Wunused -fformat-extensions -ansi -g -nostdinc -I- -I. -I../.. -I../../../include -DKERNEL -include opt_global.h -mno-fp-regs -Wa,-mev56 -c vers.c make: don't know how to make kernel.debug. Stop By code inspection it seems that recent changes to src/sys/alpha/conf/Makefile.alpha 1.16.2.5 (RELENG_3 branch) have got it out of synch with src/usr.sbin/config/mkmakefile.c 1.34 (RELENG_3 branch). >How-To-Repeat: cd /usr/src/sys/alpha/conf config -g -r FARM cd ../../compile/FARM make depend make >Fix: The following change to the generated Makefile will patch things up as a work-around: b0:/sys/compile/FARM:# diff -u Makefile.orig Makefile --- Makefile.orig Tue Jul 27 10:51:18 1999 +++ Makefile Tue Jul 27 10:54:41 1999 @@ -266,7 +266,7 @@ $S/libkern/alpha/ntohl.S $S/libkern/alpha/ntohs.S MFILES= -kernel: ${SYSTEM_DEP} swapkernel.o vers.o +${FULLKERNEL}: ${SYSTEM_DEP} swapkernel.o vers.o ${SYSTEM_LD_HEAD} ${SYSTEM_LD} swapkernel.o ${SYSTEM_LD_TAIL} @@ -274,7 +274,7 @@ swapkernel.o: swapkernel.c ${NORMAL_C} -all: kernel +all: ${KERNEL} CLEAN=device_if.c device_if.h bus_if.c bus_if.h clock_if.c clock_if.h \ mcclock_if.c mcclock_if.h however, the real fix is to get /usr/src/sys/alpha/conf/Makefile.alpha and /usr/src/usr.sbin/config/* back into step. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907271038.LAA03567>