Date: Thu, 24 Mar 2005 22:25:28 -0800 From: "David O'Brien" <obrien@freebsd.org> To: Vinod Kashyap <vkashyap@amcc.com> Cc: freebsd-amd64@freebsd.org Subject: Re: undefined reference to `memset' Message-ID: <20050325062528.GC7662@dragon.NUXI.org> In-Reply-To: <IDVMKW00.1RS@hadar.amcc.com> References: <IDVMKW00.1RS@hadar.amcc.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050325062528.GC7662>