[U-Boot] Relocation issue - need help!
Pavel Machek
pavel at denx.de
Wed Oct 22 23:27:42 CEST 2014
Hi!
> > In message <CANVMifLGzKz+=-K-E9_sSXBxpYPdG1YqEXc-tsCApi7WVxQAHg at mail.gmail.com> 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
:-(.
Best regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
More information about the U-Boot
mailing list