Subject: port-pmax/3540: Makefile.pmax doesn't work with Jason's cross-compilation hacks
To: None <gnats-bugs@gnats.netbsd.org>
From: Ted Lemon <mellon@adagio.fugue.com>
List: netbsd-bugs
Date: 04/25/1997 17:02:44
>Number: 3540
>Category: port-pmax
>Synopsis: Makefile.pmax doesn't work with Jason's cross-compilation hacks
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Apr 25 17:05:01 1997
>Last-Modified:
>Originator: Ted Lemon
>Organization:
Barefoot Consulting
>Release: 4/25/97
>Environment:
System: NetBSD adagio.fugue.com 1.2D NetBSD 1.2D (ADAGIO) #8: Sun Apr 20 21:51:46 PDT 1997 mellon@toccata.fugue.com:/NetBSD/current/current/sys/arch/pmax/compile/ADAGIO pmax
>Description:
Makefile.pmax uses ``size'' instead of ${SIZE}. When cross-
compiling, this causes the kernel build to fail right at the
bitter end. :'(
>How-To-Repeat:
Set up a cross-compilation environment per Jason's instructions.
Configure a kernel. Build it. It fails right after the kernel
is linked.
>Fix:
Apply this patch (assuming that ${SIZE} is always defined):
Index: Makefile.pmax
===================================================================
RCS file: /cvsroot/src/sys/arch/pmax/conf/Makefile.pmax,v
retrieving revision 1.44
diff -c -2 -r1.44 Makefile.pmax
*** Makefile.pmax 1997/03/16 11:54:03 1.44
--- Makefile.pmax 1997/04/25 23:58:13
***************
*** 86,90 ****
SYSTEM_LD= @echo ${KERNLD} ${LINKFLAGS} -o $@ '$${SYSTEM_OBJ}' vers.o ; \
${KERNLD} ${LINKFLAGS} -o $@ ${SYSTEM_OBJ} vers.o
! SYSTEM_LD_TAIL= @size $@; chmod 755 $@
DEBUG?=
--- 86,90 ----
SYSTEM_LD= @echo ${KERNLD} ${LINKFLAGS} -o $@ '$${SYSTEM_OBJ}' vers.o ; \
${KERNLD} ${LINKFLAGS} -o $@ ${SYSTEM_OBJ} vers.o
! SYSTEM_LD_TAIL= @${SIZE} $@; chmod 755 $@
DEBUG?=
>Audit-Trail:
>Unformatted: