From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Date: Tue, 05 Jan 2010 15:40:19 -0600 Subject: [U-Boot] [RFC PATCH] fix compilation issue in arm cortex a8 In-Reply-To: <4B435794.3010603@gandalf.sssup.it> References: <4B435794.3010603@gandalf.sssup.it> Message-ID: <4B43B1C3.4000906@windriver.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Michael Trimarchi wrote: > Hi, > > this patch fix the compilation issue. Step to reproduce: > > add CONFIG_YAFFS2 in overo defconfig and compile u-boot > > Regards > Michael > > This is not an OMAP specific problem. This problem will happen on all ARM platforms. It would be better to understand why these unwind calls are being made and to just not do them. As this is an eabi problem. Adding void *__exidx_start; void *__exidx_end; To eabi_compat.c also "fixes" the link problem. This may be a better place for the change than all the linker scripts In general cases where libgcc is problem, you can build with USE_PRIVATE_LIBGCC=yes Trying this unfortunately has another link problem fs/yaffs2/libyaffs2.a(yaffscfg.o): In function `yaffs_StartUp': fs/yaffs2/yaffscfg.c:185: undefined reference to `__aeabi_uldivmod' This function could be added to lib_arm/_udivsi3.S or a new file if you feel it is appropriate. Tom