
On Wednesday, October 22, 2014 at 11:27:42 PM, Pavel Machek wrote:
Hi!
In message <CANVMifLGzKz+=-K-E9_sSXBxpYPdG1YqEXc-
tsCApi7WVxQAHg@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:
- Do not use gcc 4.8 and u-boot at the moment.
- 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