From owner-freebsd-amd64@FreeBSD.ORG Thu Mar 24 22:02:54 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 5A71616A4CE for ; Thu, 24 Mar 2005 22:02:54 +0000 (GMT) Received: from hadar.amcc.com (hadar.amcc.com [192.195.69.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 067C543D41 for ; Thu, 24 Mar 2005 22:02:54 +0000 (GMT) (envelope-from vkashyap@amcc.com) Received: from mailhost01.amcc.com ([192.195.69.30]) by hadar.amcc.com (Netscape Messaging Server 4.15) with SMTP id IDVMKW00.1RS for ; Thu, 24 Mar 2005 14:02:56 -0800 Received: (from vkashyap-pc [10.66.6.61]) by mailhost01.amcc.com (SMSSMTP 4.0.0.59) with SMTP id M2005032414062116909 for ; Thu, 24 Mar 2005 14:06:21 -0800 From: "Vinod Kashyap" To: freebsd-amd64@freebsd.org Date: Thu, 24 Mar 2005 14:01:56 -0800 X-Sent-Folder-Path: Sent Items X-Mailer: Oracle Connector for Outlook 9.0.4 51114 (9.0.6627) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-ID: Subject: RE: undefined reference to `memset' X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2005 22:02:54 -0000 > > > 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? 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.