From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Holler Date: Thu, 27 Jan 2011 22:32:05 +0100 Subject: [U-Boot] [PATCH] ARM: fix broken build of ARM In-Reply-To: <4D41DF41.4000708@free.fr> References: <1296144229-22579-1-git-send-email-sbabic@denx.de> <4D41CA8B.80401@ahsoftware.de> <4D41D3A7.8020900@free.fr> <4D41DBC7.5090203@ahsoftware.de> <4D41DF41.4000708@free.fr> Message-ID: <4D41E455.4000805@ahsoftware.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am 27.01.2011 22:10, schrieb Albert ARIBAUD: > Le 27/01/2011 21:55, Alexander Holler a ?crit : >> Am 27.01.2011 21:20, schrieb Albert ARIBAUD: >>> Hi Alexander, >>> >>> Le 27/01/2011 20:42, Alexander Holler a ?crit : >>>> Hello, >>>> >>>> Am 27.01.2011 17:03, schrieb Stefano Babic: >>>>> Commit 8aba9dceebb14144e07d19593111ee3a999c37fc breaks >>>>> ARM boards because for ARM the -pie option is used >>>>> for partial linking together with -r option. >>>>> >>>>> The patch adds the -pie option to link u-boot.bin only. >>>> >>>> Using native compilation with gcc 4.5.2 and binutils 2.21 this patch >>>> will result in an unusable u-boot. It halts here after DRAM: ... just >>>> like it was before some relocation fixes (regarding binutils). >>> >>> Which board do you compile? >> >> Upps, sorry, that one was on a BeagleBoard (armv7, omap3). > > I've just tried the following to compare make logs of before commit > 8aba9dceebb14144e07d19593111ee3a999c37fc on the one hand and after this > commit and with the proposed fix on the other hand: Oh, it seems I've got misunderstood, the patch from Stefano Babic breaks u-boot here and not the commit 8aba9dceebb14144e07d19593111ee3a999c37fc. Regards, Alexander