Re: vmlinux ELF header sometimes corrupt

2020-01-28 Thread Rasmus Villemoes
On 22/01/2020 18.52, Rasmus Villemoes wrote: > I'm building for a ppc32 (mpc8309) target using Yocto, and I'm hitting a > very hard to debug problem that maybe someone else has encountered. This > doesn't happen always, perhaps 1 in 8 times or something like that. > > The issue is that when the bu

Re: vmlinux ELF header sometimes corrupt

2020-01-24 Thread Andreas Schwab
On Jan 22 2020, Rasmus Villemoes wrote: > So the inode number and mtime/ctime are exactly the same, but for some > reason Blocks: has changed? This is on an ext4 filesystem, but I don't > suspect the filesystem to be broken, because it's always just vmlinux > that ends up corrupt, and always in ex

Re: vmlinux ELF header sometimes corrupt

2020-01-24 Thread Rasmus Villemoes
On 24/01/2020 11.50, Michael Ellerman wrote: > Rasmus Villemoes writes: >> I'm building for a ppc32 (mpc8309) target using Yocto, and I'm hitting a >> very hard to debug problem that maybe someone else has encountered. This >> doesn't happen always, perhaps 1 in 8 times or something like that. >>

Re: vmlinux ELF header sometimes corrupt

2020-01-24 Thread Michael Ellerman
Rasmus Villemoes writes: > I'm building for a ppc32 (mpc8309) target using Yocto, and I'm hitting a > very hard to debug problem that maybe someone else has encountered. This > doesn't happen always, perhaps 1 in 8 times or something like that. > > The issue is that when the build gets to do "${CR

vmlinux ELF header sometimes corrupt

2020-01-22 Thread Rasmus Villemoes
I'm building for a ppc32 (mpc8309) target using Yocto, and I'm hitting a very hard to debug problem that maybe someone else has encountered. This doesn't happen always, perhaps 1 in 8 times or something like that. The issue is that when the build gets to do "${CROSS}objcopy -O binary ... vmlinux",