
26 Mar
2008
26 Mar
'08
3:49 p.m.
On Wednesday 26 March 2008, Wolfgang Denk wrote:
In message 200803260051.24681.vapier@gentoo.org you wrote:
note: there are known problems with crc generation on the build system when it isnt the same endian/bitsize as the target.
What sort of problems is this?
We use x86 (= LE) for build systems, and CRC generation works fine both for LE tyargets like ARM and MIP and for BE ones like Power - what exactly do you mean?
i'll have to double check the endian (istr it being broken), but bitness is most definitely broken. this issue was posted over a year and a half ago.
tools/envcrc.c does sizeof(unsigned long) using the host compiler. if the host is 64bit, that is "8". if the target is 32bit, that is "4". not going to work. -mike