From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Wed, 22 Oct 2014 23:46:45 +0200 Subject: [U-Boot] Relocation issue - need help! In-Reply-To: <20141022212742.GA3672@amd> References: <20141022123929.5FD0B3834D1@gemini.denx.de> <20141022172811.GD25506@bill-the-cat> <20141022212742.GA3672@amd> Message-ID: <201410222346.45707.marex@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 On Wednesday, October 22, 2014 at 11:27:42 PM, Pavel Machek wrote: > Hi! > > > > In message you wrote: > > > > I had exactly the same behaviour some time ago and tracked it down to > > > > > > > this (and posted it on the mailing list, but sadly got no feedback): > > > Thanks a lot for this pointer. > > > > > > > So there a three things to notice: > > > > 1. Do not use gcc 4.8 and u-boot at the moment. > > > > 2. You might not notice that you have a problem until you erase > > > > u-boot from flash (and get your cache flushed). > > > > 3. Handling relro properly should be on the TODO-List > > > > > > I confirm that the problem is in my case with gcc 4.8.1, too. I did > > > not try another compiler yet. > > > > > > > Maybe this is already common knowledge an maybe somebody is already > > > > working on this - but I did not notice yet. So in this case: sorry > > > > for the noise :) > > > > > > I highly appreciate your hint, it was definitely very useful. Thanks! > > > > Is this ARM or PowerPC? The kernel has blacklisted 4.8.x for ARM in > > some cases, and this may or may not be related (see > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58854) > > Just for the record, I also stree strange issues with 4.8.1 on > arm/socfpga. u-boot works ok when compiled with 4.7.2, and behaviour > on 4.8.1 seems to change based on compiler flags (-Os vs. -O2). > > If anyone knows some kind of workaround, that would be nice... I'm > using bitbake with eldk-5.5, and changing that would not be too easy What is the issue that you do see and I do not see ? What are the symptoms? Best regards, Marek Vasut