| Summary: | config -g creates broken Makefile in 3.2-STABLE/alpha | ||
|---|---|---|---|
| Product: | Base System | Reporter: | m.seaman <m.seaman> |
| Component: | alpha | Assignee: | freebsd-alpha (Nobody) <alpha> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 3.2-STABLE | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-bugs->freebsd-alpha Alpha related problem Could someone please close this PR? It's well past it's sell-by date and the
problem it describes was fixed long ago.
Cheers,
Matthew
--
Certe, Toto, sentio nos in Kansate non iam adesse.
Dr. Matthew Seaman, Inpharmatica Ltd, 60 Charlotte St, London, W1T 2NU
Tel: +44 20 7631 4644 x229 Fax: +44 20 7631 4844
State Changed From-To: open->closed submitted asked for it to be closed |
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). 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 however, the real fix is to get /usr/src/sys/alpha/conf/Makefile.alpha and /usr/src/usr.sbin/config/* back into step.--F4TCZj1q6Iyp8YEvwmzfsM9laD0HCOwHwcNhU8LocVt2pnbI Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- 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 How-To-Repeat: cd /usr/src/sys/alpha/conf config -g -r FARM cd ../../compile/FARM make depend make