From owner-freebsd-bugs@FreeBSD.ORG Sat Feb 19 13:50:10 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D409106566C for ; Sat, 19 Feb 2011 13:50:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 00AF58FC19 for ; Sat, 19 Feb 2011 13:50:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p1JDo9hi096949 for ; Sat, 19 Feb 2011 13:50:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p1JDo9Ga096948; Sat, 19 Feb 2011 13:50:09 GMT (envelope-from gnats) Resent-Date: Sat, 19 Feb 2011 13:50:09 GMT Resent-Message-Id: <201102191350.p1JDo9Ga096948@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alexander Best Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50E571065672 for ; Sat, 19 Feb 2011 13:47:12 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 40D298FC0C for ; Sat, 19 Feb 2011 13:47:12 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p1JDlCvD013835 for ; Sat, 19 Feb 2011 13:47:12 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p1JDlCZm013834; Sat, 19 Feb 2011 13:47:12 GMT (envelope-from nobody) Message-Id: <201102191347.p1JDlCZm013834@red.freebsd.org> Date: Sat, 19 Feb 2011 13:47:12 GMT From: Alexander Best To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/154888: [patch] gpart(8): sys/boot/i386/gptboot/ leaves behind several *.o files X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Feb 2011 13:50:10 -0000 >Number: 154888 >Category: kern >Synopsis: [patch] gpart(8): sys/boot/i386/gptboot/ leaves behind several *.o files >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: Sat Feb 19 13:50:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Alexander Best >Release: 9.0-CURRENT >Organization: >Environment: FreeBSD otaku 9.0-CURRENT FreeBSD 9.0-CURRENT #2 r218710=b1b7068-dirty: Wed Feb 16 15:00:20 CET 2011 arundel@otaku:/usr/obj/usr/git-freebsd-head/sys/ARUNDEL amd64 >Description: after building world and cleaning up the whole source tree i realised, some *.o files are being left behind in sys/boot/i386/gptboot and not cleaned up by neither TARGET=clean, nor TARGET=cleandir. the following patch should fix that. cheers. alex >How-To-Repeat: cd /usr/src && make buildworld && make clean clean cleandir cleandir && svn status . --no-ignore >Fix: Patch attached with submission follows: diff --git a/sys/boot/i386/gptboot/Makefile b/sys/boot/i386/gptboot/Makefile index 452b100..d42cf54 100644 --- a/sys/boot/i386/gptboot/Makefile +++ b/sys/boot/i386/gptboot/Makefile @@ -60,7 +60,8 @@ gptldr.bin: gptldr.out gptldr.out: gptldr.o ${LD} ${LDFLAGS} -e start -Ttext ${ORG1} -o ${.TARGET} gptldr.o -CLEANFILES+= gptboot.bin gptboot.out gptboot.o sio.o ufsread.o +CLEANFILES+= cons.o crc32.o drv.o gpt.o gptboot.bin gptboot.out \ + gptboot.o sio.o ufsread.o util.o gptboot.bin: gptboot.out objcopy -S -O binary gptboot.out ${.TARGET} >Release-Note: >Audit-Trail: >Unformatted: