From: Lucas Stach Date: Tue, 07 Aug 2012 19:09:00 +0200 Subject: [U-Boot] [PATCH] tegra20: add back USE_PRIVATE_LIBGCC In-Reply-To: <502149B0.8020904@wwwdotorg.org> References: <1344298788-7059-1-git-send-email-dev@lynxeye.de> <502149B0.8020904@wwwdotorg.org> Message-ID: <1344359340.1477.12.camel@tellur> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am Dienstag, den 07.08.2012, 11:00 -0600 schrieb Stephen Warren: > On 08/06/2012 06:19 PM, Lucas Stach wrote: > > As discussed here [http://patchwork.ozlabs.org/patch/158202/] we want to > > use USE_PRIVATE_LIBGCC still. > > > > However commit 5286f1ce dropped it regardless. Adding this back fixes a > > hang while handing over from SPL to U-Boot on Colibri T20. > > This probably makes sense, but Allen should comment on this. > > I wonder why I haven't seen any issue with this; perhaps SPL on all the > boards I tested ended up not using any libgcc functions? But in that > case, why would the Colibri board end up using them? > Could also be a toolchain issue. My normal workflow uses a toolchain without a libgcc, as we didn't needed it to this point. After porting over my changes to the new SPL boot I had to switch to a CodeSourcery toolchain containing a libgcc. So I'm not entirely sure where the problem lies, as I varied codebase and toolchain at one. But I confirmed that this patch works with both of my toolchains. So yes, I'm really in favour of some comments. Thanks, Lucas