From owner-freebsd-amd64@FreeBSD.ORG Fri Mar 25 06:25:30 2005 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 44A9116A4CE for ; Fri, 25 Mar 2005 06:25:30 +0000 (GMT) Received: from dragon.NUXI.org (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1175B43D58 for ; Fri, 25 Mar 2005 06:25:30 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (obrien@localhost [127.0.0.1]) by dragon.NUXI.org (8.13.3/8.13.3) with ESMTP id j2P6PS6f007836; Thu, 24 Mar 2005 22:25:28 -0800 (PST) (envelope-from obrien@dragon.NUXI.org) Received: (from obrien@localhost) by dragon.NUXI.org (8.13.3/8.13.1/Submit) id j2P6PSak007835; Thu, 24 Mar 2005 22:25:28 -0800 (PST) (envelope-from obrien) Date: Thu, 24 Mar 2005 22:25:28 -0800 From: "David O'Brien" To: Vinod Kashyap Message-ID: <20050325062528.GC7662@dragon.NUXI.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 5.2-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 User-Agent: Mutt/1.5.9i cc: freebsd-amd64@freebsd.org Subject: Re: undefined reference to `memset' X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: obrien@freebsd.org List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2005 06:25:30 -0000 On Thu, Mar 24, 2005 at 02:01:56PM -0800, Vinod Kashyap wrote: > > > > Vinod can you please post a complete compilable example? > > > > It is impossible to get anything done about your issue > > without stand > > > > alone test code. > > > Ok, make sure you have 'device twa' in your kernel configuration > > > file, and apply these patches to /sys/dev/twa/twa.c. > > > This patch causes the problem: > > > > "stand alone" means a single foo.c file that shows the > > problem you want > > fixed. > > I cannot submit a GCC bug report with a tarball of the entire FreeBSD > > kernel. > > > > Can you not submit it with the patch I sent? Submit the entire /usr/src/sys kernel source?? > A "stand alone" foo.c will have to be a new module under a new > directory (/sys/dev/foo), with its own Makefile, with changes to > /sys/conf/files, and an entry in GENERIC. A module would still depend on files in /usr/share/mk, /usr/src/sys/conf, /usr/src/sys/modules, /usr/src/sys/dev/foo. NO! nothing other than a single file -- foo.c in my home directory that shows the problem is a "stand alone" example. -- -- David (obrien@FreeBSD.org)