[U-Boot] [PATCH] tools: build some commands without -pedantic

Mike Frysinger vapier at gentoo.org
Tue Jul 12 21:03:21 CEST 2011


On Tue, Jul 12, 2011 at 14:59, Linus Walleij wrote:
> On Tue, Jul 12, 2011 at 8:57 PM, Mike Frysinger wrote:
>> [Me]
>>> So yes, I can positively repeat this on a clean tree. It's still -pendantic that
>>> is the culprit, if I copy the above and run manually without -pedantic
>>> it compiles fine.
>>
>> are you using ccache ?
>
> Yes :-P
>
> I didn't think so, but nowadays it's apparently in the Fedora development tools
> groupinstall. Removing the package and spawning a new shell indeed solves
> the problem, like I guess deleting the ccache database would.
>
> Thanks Mike!
>
> I wonder if we could autodetect this so noone else runs into it?

not really.  sounds like ccache db corruption (lose power recently?),
and as with any corruption, "detecting" it in arbitrary build systems
isnt exactly a trivial task.  if you get back a valid ELF object, but
not the right one, how is u-boot to know ?

i'd `ccache -C` and forget about the whole thing :P
-mike


More information about the U-Boot mailing list