From: Wolfgang Denk Date: Wed, 08 Sep 2010 10:16:24 +0200 Subject: [U-Boot] [PATCH] Link the correct libgcc.a on ARMv4T architecture In-Reply-To: <1283932498-8989-1-git-send-email-pochun.hsu@gmail.com> References: <1283932498-8989-1-git-send-email-pochun.hsu@gmail.com> Message-ID: <20100908081624.4031E136325@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Paul Hsu, In message <1283932498-8989-1-git-send-email-pochun.hsu@gmail.com> you wrote: > If we use $(CC -print-libgcc-file-name) without option -march=armv4t, > we will link the wrong version libgcc.a(for ARMv5). > That causes cpu core raising excptions when u-boot running on the board. On which tool chain is this causing problems? And how does this problem manifest? > Signed-off-by:Paul Hsu > --- > Makefile | 15 +++++++++++++++ > 1 files changed, 15 insertions(+), 0 deletions(-) NAK. If really needed, this needs to be fixed in ARM specific config files / Makefiles, not in the top level Makefile. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de core error - bus dumped