Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Feb 2009 21:21:48 GMT
From:      Adam Hopstetter <ahopstetter@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/131683: 2/14/2009 - CVSup'd to RELENG_7-stable - build kernel with libiconv fails with ../../../libkern/iconv.c: In function 'iconv_mod_unload'
Message-ID:  <200902142121.n1ELLmXb001193@www.freebsd.org>
Resent-Message-ID: <200902142130.n1ELU2YK071680@freefall.freebsd.org>

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

>Number:         131683
>Category:       kern
>Synopsis:       2/14/2009 - CVSup'd to RELENG_7-stable - build kernel with libiconv fails with ../../../libkern/iconv.c: In function 'iconv_mod_unload'
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 14 21:30:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Adam Hopstetter
>Release:        freebsd-7-stable
>Organization:
Adam Hopstetter
>Environment:
FreeBSD evangelist 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Mon Nov 24 20:22:16 EST 2008     root@pcbsdx32-7:/usr/obj/pcbsd-build/cvs/7.0.2-src/sys/PCBSD  i386
>Description:
perform cvsup on RELENG_7 on/after 2/14/2009 ... and make buildkernel fails with the following error ...

 ../../../libkern/iconv.c: In function 'iconv_mod_unload'
>How-To-Repeat:
Attempt to build a the kernel with built-in libiconv support after CVSUP'ing RELENG_7 on/after 2/14/2009
>Fix:
patch src/sys/sys/sx.h with the attached patch file!



Patch attached with submission follows:

--- sx.h.orig	2009-02-14 15:49:28.000000000 -0500
+++ sx.h	2009-02-14 16:15:18.000000000 -0500
@@ -35,6 +35,7 @@
 #include <sys/_lock.h>
 #include <sys/_sx.h>
 #include <sys/lock_profile.h>
+#include <sys/proc.h>
 
 #ifdef	_KERNEL
 #include <machine/atomic.h>


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



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