From: Daniel =?gb2312?Q?Engstr=F6m?= Date: Thu, 10 Apr 2003 14:04:11 +0200 Subject: [U-Boot-Users] u-boot (sc520_cdp) compile problem! In-Reply-To: <20030410013003.34949.qmail@web15005.mail.bjs.yahoo.com>; from zlzhu2002@yahoo.com.cn on tor, apr 10, 2003 at 03:30:03 +0200 References: <20030410013003.34949.qmail@web15005.mail.bjs.yahoo.com> Message-ID: <20030410140411.V10471@jupiter.omicron.se> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 2003.04.10 03:30 ?? ? wrote: > I want to port U-boot to my custom Pentium 2 board, so > I do a test compile of sc520_cdp config first, but can > not pass when linking. Wellcome, ?? ?, you are the first user of the i386 port, besides myself, that I have heard of. > OS: Redhat 7.3 on X86 > gcc: 2.96-110 > binutils: 2.11.93 I use the following (which is close to what you're using, but you could try to ditch the RH gcc 2.96 compiler I think it is known to be no good.) gcc version 2.95.4 20011002 (Debian prerelease) GNU ld version 2.12.90.0.1 20020307 Debian/GNU Linux > step: > make distclean > make sc520_cdp_config > make > ERROR: > ld: section .data [387f6e00 -> 387f7fa3] overlaps > section .rodata.str1.1 [387f6e00 -> 387f868d] > ld: section .realmode [387f7fa4 -> 387f8109] overlaps > section .rodata.str1.1 [387f6e00 -> 387f868d] > ld: section .bios [387f810a -> 387f831b] overlaps > section .rodata.str1.1 [387f6e00 -> 387f868d] > make: *** [u-boot] Error 1 > > why? how to correct this problem?? thanks a lot!!!! What is the .rodata.str1.1 section for? I think you'll need to modify board/sc520_cdp/u-boot.lds to take this section in account. If you're serius about using the i386 port you'll want to get another patch from me which fixes a few problem I have found. Un-fortunatly we have a deadline before Easter so I dont think that I'll be able to provide this patch before we have deliverted. Drop me an email after the Easter holidays and I'll try to produce the patch for you. /Daniel