From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Mundt Date: Wed, 06 Aug 2008 06:03:03 +0000 Subject: Re: rsk7203_defconfig build error Message-Id: <20080806060303.GB2610@linux-sh.org> List-Id: References: <20080805154429.GD22895@cs181140183.pp.htv.fi> <87sktjw6sh.wl%ysato@users.sourceforge.jp> In-Reply-To: <87sktjw6sh.wl%ysato@users.sourceforge.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Yoshinori Sato Cc: Adrian Bunk , linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org On Tue, Aug 05, 2008 at 04:22:54PM -0400, Yoshinori Sato wrote: > At Tue, 5 Aug 2008 18:44:29 +0300, > Adrian Bunk wrote: > > > > Hi Paul, > > > > rsk7203_defconfig fails to build with the following error: > > > > <-- snip --> > > > > ... > > LD .tmp_vmlinux1 > > arch/sh/kernel/built-in.o:(__ksymtab+0xb8): undefined reference to `__udivsi3_i4i' > > arch/sh/kernel/built-in.o:(__ksymtab+0xc8): undefined reference to `__sdivsi3_i4i' > > make[1]: *** [.tmp_vmlinux1] Error 1 > > > > <-- snip --> > > > > That worked with 2.6.26, and these are far less undefined references > > than in the cases where libgcc was missing. > > This functions is not defined sh2 and sh2a. > See gcc-4.3.1/gcc/config/sh/lib1funcs.asm > > Sorry I forget report. > > This patch not tested. > Please test and apply. > > Signed-off-by: Yoshinori Sato > This works fine for my toolchains at least, so I'll apply it.