Query on status of cross-builds

Marcel Moolenaar marcel at xcllnt.net
Wed Jul 7 13:45:09 PDT 2004


On Wed, Jul 07, 2004 at 10:05:36PM +0200, Marius Strobl wrote:
> 
> I hit this bug also with a native compilation on sparc64 trying to
> build nmap. The patch below fixes both the cross-buildworlds and
> the nmap build. It's taken from the GCC gcc-3_3-branch branch
> (sparc.h revision 1.215.4.4) so it can be committed to the FSF
> branch in FreeBSD. It's also part of GCC 3.4 and 3.4.1.

Excellent! If you didn't pester kan@ yet, feel free to start now. (kan@
cc'd). The sooner we get these tinderbox failures fixed the better...

> I have no idea why GNU tar trigged the bug only when cross building
> for sparc64.

I noticed the code generated for the native compilation and the cross
compilation differed. Probably some optimization/transformation did
not happen or happened differently for one and therefore avoided (or
triggered) the bug. It cannot be a 32-bit crossbuild bug if you saw
it natively as well, so it must be a second order effect (of which
the root cause may be that we're cross-building)...

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel at xcllnt.net


More information about the freebsd-current mailing list