From: Wolfgang Denk Date: Sat, 19 Feb 2011 20:55:44 +0100 Subject: [U-Boot] [RFC][PATCH] ARMV7: Patch to fix hard float build issues In-Reply-To: <1298042212-12260-1-git-send-email-raghuveer.murthy@ti.com> References: <1298042212-12260-1-git-send-email-raghuveer.murthy@ti.com> Message-ID: <20110219195544.E74C61468BE@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 Raghuveer Murthy, In message <1298042212-12260-1-git-send-email-raghuveer.murthy@ti.com> you wrote: > U-boot built for MeeGo on PandaBoard, with compiler option > -mfloat-abi=hard, caused a build break. Please refer to the bug id: > > http://bugs.meego.com/show_bug.cgi?id=13140 > > Removing the -msoft-float options in the config.mk files, allowed it > to be built for both armv7hl and armv7el compilers on MeeGo > > Please refer to the below link for more details: > http://wiki.meego.com/SDK/Toolchains/ToolchainChangeProposal > > Signed-off-by: Raghuveer Murthy > --- > arch/arm/cpu/armv7/config.mk | 2 +- > arch/arm/cpu/armv7/omap-common/config.mk | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) After we had just another round of these discussions I thing we have again found an agreement that there are good reasons for using -msoft-float. I hereby reject your patch. If you have problems with your tool chain, please feel free to use the U-Boot provided libgcc functions instead (by providing USE_PRIVATE_LIBGCC=yes on the command line) or even your private libgcc code (by providing USE_PRIVATE_LIBGCC=directory_with_your_lib on the command line). Or fix your tool chain so it provides a soft-float version of the needed library routines, too. 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 Speculation is always more interesting than facts. - Terry Pratchett, _Making_Money_