Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jun 2011 23:08:15 +0700 (NOVST)
From:      Eugene Grosbein <eugen@eg.sd.rdtc.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        art@FreeBSD.org, avg@FreeBSD.org, jhb@FreeBSD.org
Subject:   i386/157529: [patch] [i386] r222557 broke buildworld with MODULES_WITH_WORLD=yes
Message-ID:  <201106021608.p52G8FXG041512@eg.sd.rdtc.ru>
Resent-Message-ID: <201106021610.p52GABFr091342@freefall.freebsd.org>

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

>Number:         157529
>Category:       i386
>Synopsis:       [patch] [i386] r222557 broke buildworld with MODULES_WITH_WORLD=yes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 02 16:10:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Eugene Grosbein
>Release:        FreeBSD 8.2-STABLE i386
>Organization:
RDTC JSC
>Environment:
System: FreeBSD eg.sd.rdtc.ru 8.2-STABLE FreeBSD 8.2-STABLE #23: Mon May 30 15:53:18 NOVST 2011 root@eg.sd.rdtc.ru:/usr/local/obj/usr/local/src/sys/EG i386

>Description:

	'make MODULES_WITH_WORLD=yes' was fixed in RELENG_8
13 May only with kern/138341 and now it's broken again for i386:

mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -I/usr/src/sys/modules/dtrace/dtraceall/../../.. -I. -I@ -I@/contrib/altq /usr/src/sys/modules/dtrace/dtraceall/dtraceall.c
/usr/src/sys/modules/dtrace/dtraceall/dtraceall.c:35:24: error: opt_compat.h: No such file or directory

>How-To-Repeat:
	Use FreeBSD 8.2-STABLE/i386:

cd /usr/src && make MODULES_WITH_WORLD=yes buildworld

>Fix:

--- sys/modules/dtrace/dtraceall/Makefile.orig	2011-06-02 22:01:42.000000000 +0700
+++ sys/modules/dtrace/dtraceall/Makefile	2011-06-02 22:02:12.000000000 +0700
@@ -9,6 +9,8 @@
 opt_compat.h:
 .if ${MACHINE_ARCH} == "amd64"
 	echo "#define COMPAT_FREEBSD32 1" >> ${.TARGET}
+.else
+	echo -n >> ${.TARGET}
 .endif
 .endif


Eugene Grosbein
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106021608.p52G8FXG041512>