From: Wolfgang Denk Date: Thu, 02 Jul 2015 09:39:57 +0200 Subject: [U-Boot] [PATCH] ARM: enable CONFIG_USE_PRIVATE_LIBGCC by default (re-send to the correct address) In-Reply-To: <55947A25.5020702@gmail.com> References: <1423571865-8579-1-git-send-email-yamada.m@jp.panasonic.com> <20150416112144.3a6b4813@lilith> <20150701234229.705fe4ce@lilith> <20150701215017.6E0DB38100A@gemini.denx.de> <20150702000427.562195b4@lilith> <55947A25.5020702@gmail.com> Message-ID: <20150702073957.D512D381008@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 Daniel, In message <55947A25.5020702@gmail.com> you wrote: > > CONFIG_USE_PRIVATE_LIBGCC should be removed. If an architecture supports > a private libgcc, then it should always use it. I think for U-Boot it is > better and safer to have all code under control instead of pulling in > external code from toolchains which are often somehow broken. This is the wrong approach. If a tool is broken, it should be reported, and fixed. > Speaking for MIPS we have boards with all combinations of Big > Endian/Little Endian and Hard Float/Soft Float. You need an own libgcc > binary for each FPU variant, but almost no toolchain supports this. Thus Why would that be the case? We do not use any floating point stuff in U-Boot... I agree that there is the endianess issue - MIPS is currently the only architecture (I am aware of) that supports both BE and LE con- figurations. But this is a tool chain issue! You will need support from the tool chain not only for U-Boot (and the kernel), but also for user space. If your tool chain is nbroken, it needs fixing. > BTW: Linux kernel or Barebox always use a private libgcc. And what do you do about user space with such a broken tool chain? It does not help to paper over problems. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk 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 Save yourself! Reboot in 5 seconds!