From: Wolfgang Denk Date: Tue, 11 Aug 2009 23:58:59 +0200 Subject: [U-Boot] "raise" not defined, when compiler uses its own div0 In-Reply-To: <4A81E724.3070205@atmel.com> References: <4A810DBC.50805@atmel.com> <20090811084728.4E968833DBD2@gemini.denx.de> <4A81E724.3070205@atmel.com> Message-ID: <20090811215859.E199D833DBD2@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 Ulf Samuelsson, In message <4A81E724.3070205@atmel.com> you wrote: > > > Try setting USE_PRIVATE_LIBGCC=yes in your envrionment, like > > > > USE_PRIVATE_LIBGCC=yes make ... > > I have done two fixes to make it build with openembedded. > 1) Define "raise" in libarm/board.c which calls hang. Did you use "USE_PRIVATE_LIBGCC=yes", and it still needed raise(), or did you implement that workaround instead of using "USE_PRIVATE_LIBGCC=yes". Normally no raise() should be needed when using USE_PRIVATE_LIBGCC=yes > 2) Changes mapi to "-mapi=aapcs-linux" in cpu/arm926ej-s/config.mk > Some toolchains want to keep apcs-gnu I guess. I wonder why we enforce a specific API at all - would it not be better to use the toolchain provided default settings? 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 Single tasking: Just Say No.