Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Sep 2002 19:07:45 +0200 (CEST)
From:      Udo Schweigert <ust@cert.siemens.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        peter@FreeBSD.org
Subject:   i386/43534: release building fails in sys/boot/i386/kgzldr
Message-ID:  <200209301707.g8UH7jSY076676@alaska.cert.siemens.de>

next in thread | raw e-mail | index | archive | help

>Number:         43534
>Category:       i386
>Synopsis:       release building fails in sys/boot/i386/kgzldr
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 30 10:10:04 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Udo Schweigert
>Release:        FreeBSD 4.7-RC i386
>Organization:
>Environment:

FreeBSD illinois.cert.siemens.de 5.0-CURRENT FreeBSD 5.0-CURRENT #169: Mon Sep 30 12:49:17 CEST 2002     ust@illinois.cert.siemens.de:/usr/obj/usr/src/sys/illinois  i386

	
>Description:

The last change to /sys/boot/i386 results in non-buildable releases. In the 
release building process the following error occurs (when trying to make
the boot-floppy):

/usr/lib/kgzldr.o: In function `sio_putchr':
/usr/lib/kgzldr.o(.text+0x148e): undefined reference to `SIOPRT'

>How-To-Repeat:

Build a release on -current.

>Fix:

Apply this patch:
(It might be that the boot floppy is then too large, I tested with a
non-standard driver config, also at the moment the fixit floppy doesn't fit)

--- src/sys/boot/i386/kgzldr/Makefile.orig	Thu Sep 19 13:08:29 2002
+++ src/sys/boot/i386/kgzldr/Makefile	Mon Sep 30 13:55:55 2002
@@ -13,7 +13,7 @@
 CLEANFILES=${FILES}
 
 BOOT_COMCONSOLE_PORT?=	0x3f8
-M4FLAGS+=-DSIOPRT=${BOOT_COMCONSOLE_PORT}
+AFLAGS+=--defsym SIOPRT=${BOOT_COMCONSOLE_PORT}
 
 kgzldr.o: ${OBJS}
 	${CC} ${LDFLAGS} -o ${.TARGET} ${OBJS}

>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?200209301707.g8UH7jSY076676>